代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/160029/10578537
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/159984/10582611
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/352044/10586180
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/352044/10586222
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/277973/10589992
c random.c
// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil -*- (for GNU Emacs)
//
// (c) Microsoft Corporation. All rights reserved.
//
// This file is part of the Microsoft Virtual Ring Routing distr
www.eeworm.com/read/277788/10604708
cpp random.cpp
#include "Random.h"
/***********************************************************/
/* Returns a uniform RV in (0,1) */
/* Any seed
www.eeworm.com/read/277788/10604713
h random.h
/*definitions used by the random functions*/
#ifndef RANDOM
#define RANDOM
#include
#define Ia 16807
#define Im 2147483647
#define Am (1.0/Im)
#define Iq 127773
#define
www.eeworm.com/read/159827/10611975
obj random.obj
www.eeworm.com/read/159827/10611980
plg random.plg
Build Log
--------------------Configuration: RANDOM - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\zhangl
www.eeworm.com/read/159827/10611983
dsp random.dsp
# Microsoft Developer Studio Project File - Name="RANDOM" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Co