RAND_MAX 111 uspace/app/hbench/disk/randread.c baddr = (rand() + rand() * RAND_MAX) % (dev_nblocks - nb + 1); RAND_MAX 83 uspace/lib/c/generic/stdlib.c return glbl_seed = ((1366 * glbl_seed + 150889) % RAND_MAX); RAND_MAX 88 uspace/lib/c/generic/stdlib.c glbl_seed = seed % RAND_MAX; RAND_MAX 87 uspace/lib/c/test/stdlib.c PCUT_ASSERT_TRUE(r <= RAND_MAX); RAND_MAX 90 uspace/lib/c/test/stdlib.c PCUT_ASSERT_TRUE(RAND_MAX >= 32767);HelenOS homepage, sources at GitHub