Lines Matching refs:seed
59 * interface. The initstate() routine is called with a seed, an array of
154 #define NSHUFF 50 /* to drop some "seed -> 1st value" linearity */
178 /* The random sequences do not vary much with the seed */
234 * The random sequences do not vary much with the seed,
264 * Initialize the random number generator based on the given seed. If the
265 * type is the trivial no-state-information type, just remember the seed.
266 * Otherwise, initializes state[] based on the given "seed" via a linear
299 * Many programs choose the seed value in a totally predictable manner.
300 * This often causes problems. We seed the generator using the much more
305 * a fixed seed.
365 initstate(unsigned int seed, char *arg_state, size_t n)
367 initstate(unsigned long seed, char *arg_state, long n)
405 srandom(seed);