Searched refs:RAND_MAX (Results 1 – 19 of 19) sorted by relevance
85 #if RAND_MAX >= 0xfffff in isc_random_get()88 #elif RAND_MAX >= 0x7fff in isc_random_get()93 #error RAND_MAX is too small in isc_random_get()
67 res = (r/4 < RAND_MAX/9) ? 1 in randcmp()68 : (r/5 < RAND_MAX/9) ? 0 in randcmp()
135 if (result < RAND_MAX/32) { in main()136 if (result > RAND_MAX/64) { in main()
191 return (rand() / (double)RAND_MAX < OSMV_DROP_RATE); in osmv_random_drop()
123 RAND_MAX="$((2**15 - 1))"
740 k = floor(1.0 * rand() / RAND_MAX * 100); in main()745 is_add = (rand() < RAND_MAX / 2); in main()
70 #define RAND_MAX 0x7fffffff macro
22 RAND_MAX
88 # AHX_CONFIG_RAND_MAX - define RAND_MAX if needed.1136 dnl Define RAND_MAX if not defined1139 #ifndef RAND_MAX1140 #define RAND_MAX 2147483647
97 # AHX_CONFIG_RAND_MAX - define RAND_MAX if needed.1221 dnl Define RAND_MAX if not defined1224 #ifndef RAND_MAX1225 #define RAND_MAX 2147483647
667 if (rand() < (RAND_MAX/4)) in sweep_thread()
634 (RAND_MAX + 1.0)); in WillResume()
1203 i = (RAND_MAX / n) * n; in roll()
3446 interval = (int)(timer + timer * RIPRANDDEV * (r / RAND_MAX - 0.5)); in ripinterval()3459 (RIP_TRIG_INT6_MAX - RIP_TRIG_INT6_MIN) * (r / RAND_MAX));
152 SYMBOL(RAND_MAX, None, <stdlib.h>)
428 SYMBOL(RAND_MAX, None, <cstdlib>)429 SYMBOL(RAND_MAX, None, <stdlib.h>)
1297 the typical case where RAND_MAX is one less than a power of two. in get_rand_u64() 1300 uint_fast64_t rand_max = RAND_MAX, in get_rand_u64()
1136 use RAND_MAX instead of literal in builtin().
9263 - no need to define RAND_MAX from config.h.9271 - Fix for ID bits on windows to use all 16. RAND_MAX was not