代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/133341/14048554
c random.c
/*
$Log: random.c,v $
Revision 1.1.1.1 2001/11/19 19:50:16 smorlat
First cvs.
Revision 1.1.1.1 2001/08/08 21:29:08 simon
First import
* Revision 1.2 1996/08/20 20:41:32 jaf
* Removed all s
www.eeworm.com/read/132749/14074368
c random.c
#include "vxWorks.h"
#include "Random.h"
STATUS sysArkphyIDGet
(
int unit,
UINT8 * addr
)
{
#if 0
bcopy ((char *) sysArkphyID, (char *) addr, sizeof (sysA
www.eeworm.com/read/132749/14074379
h random.h
#ifndef __Randomh
#define __Randomh
#ifdef __cplusplus
extern "C" {
#endif
#if 1
#define sysArkphyIDAddr 0x02870800 /*ROM_BASE_ADRS(0x02800000)+450kByte*/
#endif
#if 0
unsigned ch
www.eeworm.com/read/205038/15328685
f random.f
www.eeworm.com/read/205013/15329852
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/204983/15330587
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 o
www.eeworm.com/read/204980/15330607
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/204978/15330638
h random.h
/* this random generator is copied from genesis by Grefenstette. */
#ifndef _RANDOM_H
#define _RANDOM_H
extern unsigned long Seed, originalSeed;
/* random number generator (copied from Grefensttet
www.eeworm.com/read/204978/15330654
c random.c
#include "Random.h"
unsigned long Seed = DEFAULT_SEED;
unsigned long originalSeed = DEFAULT_SEED;
www.eeworm.com/read/204914/15331810
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