代码搜索结果
找到约 10,000 项符合
的代码
3.txt
我们在做软件开发的时候很多要用到多线程技术。例如如果做一个下载软件象flashget就要用到、象在线视频工具realplayer也要用到因为要同时下载media stream还要播放。其实例子是很多的。
线程相对进程来说是“轻量级”的,操作系统用较少的资源创建和管理线程。程序中的线程在相同的内存空间中执行,并共享许多相同的资源。
在python中如何创建一个线程对象
...
hex.cpp
// hex.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "hex.h"
NAMESPACE_BEGIN(CryptoPP)
const byte HexEncoder::vec[17] = "0123456789ABCDEF";
void HexEn
ilsinit.m
% ILSINIT - initializes the ILS block in the autopilot model
%
% This routine transfers the fixed geometrical data and signal
% sensitivity values for the ILS model to the ILS subsystem in the
%
rng.h
#ifndef CRYPTOPP_RNG_H
#define CRYPTOPP_RNG_H
#include "cryptlib.h"
#include "filters.h"
NAMESPACE_BEGIN(CryptoPP)
// linear congruential generator
// originally by William S. England
/
gf256.cpp
// gf256.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "gf256.h"
NAMESPACE_BEGIN(CryptoPP)
GF256::Element GF256::Multiply(Element a, Element b) const
{
pah.mdl
Model {
Name "pah"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes o
dsa.cpp
// dsa.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "dsa.h"
#include "asn.h"
#include "nbtheory.h"
#include "sha.h"
NAMESPACE_BEGIN(CryptoPP)
bool Ge
apinit.m
% APINIT - initializes the autopilot model (except autopilot modes)
%
% This routine initializes the model of the 'Beaver' aircraft, asks
% the user to specify an initial (trimmed) flight condition
mqv.cpp
// mqv.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "mqv.h"
#include "asn.h"
#include "nbtheory.h"
#include "modarith.h"
#include "algebra.cpp"
NAMES
mqv.h
#ifndef CRYPTOPP_MQV_H
#define CRYPTOPP_MQV_H
#include "modexppc.h"
NAMESPACE_BEGIN(CryptoPP)
// Menezes-Qu-Vanstone in GF(p) with key validation
class MQV : public PK_WithPrecomputation