Lines Matching +full:noise +full:- +full:sensitive

74  * stored in it -- see setstate() for details).
80 * have period 2^deg - 1 (where deg is the degree of the polynomial being
83 * influenced by pseudo-random carries out of the lower bits. The total
84 * period of the generator is approximately deg*(2**deg - 1); thus doubling
86 * generator. Note: the deg*(2**deg - 1) is an approximation only good for
89 * 7*(2**7 - 1) predicted by this formula.
156 * MAX_TYPES * (rptr - state) + TYPE_3 == TYPE_3.
202 * the zeroeth. Hence it is valid to access state[-1], which is used to
229 * Compute x = (7^5 * x) mod (2^31 - 1) in good_rand()
231 * (2^31 - 1) = 127773 * (7^5) + 2836 in good_rand()
240 x = 16807 * lo - 2836 * hi; in good_rand()
251 * type is the trivial no-state-information type, just remember the seed.
271 state[i] = good_rand(state[i - 1]); in ntp_srandom()
309 * trigger warnings due to casting to a more-strictly-aligned pointer
310 * on alignment-sensitive platforms. #ifdef them away to save noise,
316 * Array versions of the above information to make code run faster --
333 * Note that on return from srandom(), we set state[-1] to be the type
345 * complain about mis-alignment, but you should disregard these messages.
354 register char *ostate = (char *)(&state[-1]); in ntp_initstate()
358 state[-1] = rand_type; in ntp_initstate()
360 state[-1] = MAX_TYPES * (rptr - state) + rand_type; in ntp_initstate()
393 long_arg_state[0] = MAX_TYPES * (rptr - state) + rand_type; in ntp_initstate()
414 * complain about mis-alignment, but you should disregard these messages.
424 char *ostate = (char *)(&state[-1]); in ntp_setstate()
427 state[-1] = rand_type; in ntp_setstate()
429 state[-1] = MAX_TYPES * (rptr - state) + rand_type; in ntp_setstate()
470 * Returns a 31-bit random number.
504 * Generate a Uniform-distributed Unity based random number. Replaces a
505 * few locations where the transformation was made in an ad-hoc style