Lines Matching defs:seed
40 * interface. The initstate() routine is called with a seed, an array of
132 #define NSHUFF 50 /* to drop some "seed -> 1st value" linearity */
221 * Initialize the random number generator based on the given seed. If the
222 * type is the trivial no-state-information type, just remember the seed.
223 * Otherwise, initializes state[] based on the given "seed" via a linear
252 * Many programs choose the seed value in a totally predictable manner.
253 * This often causes problems. We seed the generator using pseudo-random
259 * derived from the LC algorithm applied to a fixed seed.
316 initstate(unsigned int seed, char *arg_state, size_t n)
350 srandom(seed);