Searched refs:Rand64 (Results 1 – 13 of 13) sorted by relevance
265 #if !defined(LUA_RAND32) && !defined(Rand64)272 #define Rand64 unsigned long macro277 #define Rand64 unsigned long long macro282 #define Rand64 lua_Unsigned macro289 #if defined(Rand64) /* { */303 static Rand64 rotl (Rand64 x, int n) { in rotl()307 static Rand64 nextrand (Rand64 *state) { in nextrand()308 Rand64 state0 = state[0]; in nextrand()309 Rand64 state1 = state[1]; in nextrand()310 Rand64 state2 = state[2] ^ state0; in nextrand()[all …]
1 use oorandom::Rand64;5 pub type Rng = Rand64;8 static SEED_RAND: RefCell<Rand64> = RefCell::new(Rand64::new(19 Rand64::new(seed) in new_rng()
161 pub struct Rand64 { struct166 impl Rand64 { impl300 let mut r1 = Rand64::new(seed); in test_rand64_vs_randomize()301 let mut r2 = PCG64::seed(seed, Rand64::DEFAULT_INC); in test_rand64_vs_randomize()311 let mut r1 = Rand64::new_inc(seed, inc); in test_rand64_vs_randomize()370 let mut r1 = Rand64::new(seed); in test_float64()371 let mut r2 = PCG64::seed(seed, Rand64::DEFAULT_INC); in test_float64()437 let mut r1 = Rand64::new(seed); in test_randrange64()565 let mut r1 = Rand64::new(seed); in test_save_restore()567 let mut r2 = Rand64::from_state(s1); in test_save_restore()[all …]
28 return ExactUniformInt<uint64>(n, [this]() { return Rand64(); }); in Uniform64()
39 PHILOX_DEVICE_INLINE uint64 Rand64() { in Rand64() function
132 OFF_T Rand64(void);
84 OFF_T Rand64(void) in Rand64() function445 *(off_tbuf + i) = Rand64(); in fill_buffer()
334 (Rand64() & mask) + args->start_lba; in get_next_action()
106 uint64_t Rand64() { in Rand64() function in llvm::__anon35362e5a0111::Random113 return Rand64() % y; in operator ()()388 RandomBits[i] = Ran->Rand64(); in Act()
123 uint64_t Rand64() { in Rand64() function in llvm::__anon43ca2d880111::Random133 return Rand64() % y; in operator ()()438 RandomBits[i] = Ran->Rand64(); in Act()
154 T x = rnd.Rand64() & mask; in TestNumbers()156 T y = rnd.Rand64() & mask; in TestNumbers()374 ? (rnd->Rand64() % (1LL << (bits - 1))) + (1LL << (bits - 1)) in NextBits()
388 int64_list->add_value(rng->Rand64()); in Fuzz()
774 ix_t(i, d) = rnd.Rand64() % 1000; in BM_SparseReorderFloat()817 ix_t(i, d) = rnd.Rand64() % 1000; in BM_SparseReorderString()