Searched refs:test_random_state (Results 1 – 1 of 1) sorted by relevance
17 static uint32_t test_random_state[31]; variable24 test_random_state[pos] += test_random_state[(pos + 28) % 31]; in test_random()25 return test_random_state[pos++] / 2; in test_random()33 test_random_state[0] = sd; in test_random_seed()35 s = (int32_t)test_random_state[i - 1]; in test_random_seed()36 test_random_state[i] = (uint32_t)((16807 * (int64_t)s) % mod); in test_random_seed()