代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/245187/12812148
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/331661/12815955
exe random.exe
www.eeworm.com/read/331661/12815960
asm random.asm
DATA SEGMENT
CC DB '+'
ww db '-'
GG DB '='
II DB 0DH,0AH,'$'
AA DB 5 DUP(?)
www dw 0
ghh db '0',0dh,0ah,'$'
bnm dw 0
DATA ENDS
STACK SEGMENT
D
www.eeworm.com/read/144074/12819444
h random.h
#ifndef RANDOM_NUMBER_GENERATOR
#define RANDOM_NUMBER_GENERATOR
#include
// used to generate random number from current seed and update seed
const unsigned long maxshort = 65536L;
c
www.eeworm.com/read/331313/12833759
inl random.inl
//random.inl 随机函数(方法)定义
// Ver 1.0.0.0
// 版权所有(C) 何渝, 2002
// 最后修改: 2002.5.31.
#ifndef _RANDOM_INL
#define _RANDOM_INL
//产生一个[0,1]区间内均匀分布伪随机数
inline double
rand_01_One(double& seed)
{
www.eeworm.com/read/331313/12833766
h random.h
//random.h 宏定义及随机函数(方法)原型头文件
// Ver 1.0.0.0
// 版权所有(C) 何渝, 2002
// 最后修改: 2002.5.31.
#ifndef _RANDOM_H
#define _RANDOM_H
#define RandCoef2053 2053
#define RandCoef13849 13849
#define MOD
www.eeworm.com/read/330798/12868659
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
www.eeworm.com/read/143516/12868663
c random.c
/* Maintain source of random numbers for cryptographic keys, etc
* This is inherently machine dependent code
*/
#include "stdio.h"
#include
#include "global.h"
#include "timer.h"
#inc
www.eeworm.com/read/244391/12868777
c random.c
/*
* File: random.c
* Version: 1.0
* Last modified on Mon Sep 13 10:42:45 1993 by eroberts
* -----------------------------------------------------
* This file implements the random.h interface.
www.eeworm.com/read/244387/12868807
c random.c
/*
* File: random.c
* Version: 1.0
* Last modified on Mon Sep 13 10:42:45 1993 by eroberts
* -----------------------------------------------------
* This file implements the random.h interface.