代码搜索:Random

找到约 10,000 项符合「Random」的源代码

代码结果 10,000
www.eeworm.com/read/287068/8727953

h random.h

/* Legal Notice: Some portions of the source code contained in this file were derived from the source code of Encryption for the Masses 2.02a, which is Copyright (c) 1998-2000 Paul Le Roux and w
www.eeworm.com/read/287068/8727981

c random.c

/* Legal Notice: Some portions of the source code contained in this file were derived from the source code of Encryption for the Masses 2.02a, which is Copyright (c) 1998-2000 Paul Le Roux and w
www.eeworm.com/read/386760/8728253

h random.h

#include /* variables are declared static so that they cannot conflict with names of */ /* other global variables in other files. See K&R, p 80, for scope of static */ static double
www.eeworm.com/read/287046/8729101

rar random.rar

www.eeworm.com/read/286957/8734430

cpp random.cpp

#include "stdafx.h" #include "Random.h" #include const unsigned long m_maxshort=65536L; const unsigned long m_multiplier=1194211693L; const unsigned long m_adder=12345L; //产生种子 v
www.eeworm.com/read/286957/8734447

opt random.opt

www.eeworm.com/read/286957/8734450

h random.h

static unsigned long m_randSeed; void RandomNumber(unsigned long s=0); unsigned short Random(unsigned long n); double fRandom();
www.eeworm.com/read/386586/8736493

h random.h

#include #include #include #include #include #include #ifndef RANDOM_H #define RANDOM_H #define IM1 2147483563 #define IM2 2147483399
www.eeworm.com/read/386586/8736496

cpp random.cpp

#include "random.h" /*Long period (? 2 \Theta 10 18 ) random number generator of L'Ecuyer with Bays璂urham shuffle and added safeguards. Returns a uniform random deviate between 0.0 and 1.0 (exclusive
www.eeworm.com/read/286953/8736597

c random.c

#include #include void main(void) { int i; printf("Values from rand\n"); for (i = 0; i < 100; i++) printf("%d ", rand()); printf("Values from rando