代码搜索:random
找到约 10,000 项符合「random」的源代码
代码结果 10,000
www.eeworm.com/read/446823/7564299
c random.c
/*********************************************************************/
/* */
/* current processor time in seconds
www.eeworm.com/read/445950/7587835
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
www.eeworm.com/read/445230/7597844
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
www.eeworm.com/read/444375/7613369
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
www.eeworm.com/read/443646/7629494
c random.c
/*
*
* Rand.c
*
* - linear and additive congruential random number generators
* (see R. Sedgewick, Algorithms, Chapter 35)
*
* Implementation: R. Fuchs, EMBL Data Library, 1991
*
*/
#include
www.eeworm.com/read/443644/7629594
c random.c
/*
** 2001 September 15
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiven
www.eeworm.com/read/443470/7631969
cpp random.cpp
#include "stdafx.h"
#include
#include "random.h"
RndGen::~RndGen()
{
if (oldrand)
free(oldrand);
}
void RndGen::init_random(const float randomseed)
{
float new_rando
www.eeworm.com/read/443470/7631979
h random.h
#if !defined(RNDGEN_H__ECEA7740)
#define RNDGEN_H__ECEA7740
/*################# Random Number Generator ##################################
Based on a portable subtractive pseudorandom number gene
www.eeworm.com/read/443245/7635651
c random.c
/* concatenation of following two 16-bit multiply with carry generators */
/* x(n)=a*x(n-1)+carry mod 2^16 and y(n)=b*y(n-1)+carry mod 2^16, */
/* number and carry packed within the same 32 bit intege
www.eeworm.com/read/441072/7676398
vwf random.vwf
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to