代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/409272/11338039
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/263773/11342643
ase random.ase
www.eeworm.com/read/409010/11361738
h random.h
#ifndef RANDOM_H
#define RANDOM_H
void srandom (unsigned int x);
long int random () ;
#endif
www.eeworm.com/read/409010/11361749
cpp random.cpp
/*
* Copyright (c) 1983 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit
www.eeworm.com/read/263434/11362910
java random.java
/*
* @(#)Random.java 1.39 03/01/23
*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package java.util;
import ja
www.eeworm.com/read/406948/11431853
cpp random.cpp
#include "Random.h"
/***********************************************************/
/* Returns a uniform RV in (0,1) */
/* Any seed
www.eeworm.com/read/406948/11431857
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/406613/11439115
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/406076/11449688
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/406072/11450148
h random.h
/*
* Mersenne Twister Random Algorithm
* Copyright (c) 2006 Ryan Martell.
* Based on A C-program for MT19937, with initialization improved 2002/1/26. Coded by
* Takuji Nishimura and Makoto Matsumo