Home
last modified time | relevance | path

Searched refs:Rand64 (Results 1 – 13 of 13) sorted by relevance

/external/lua/src/
Dlmathlib.c265 #if !defined(LUA_RAND32) && !defined(Rand64)
272 #define Rand64 unsigned long macro
277 #define Rand64 unsigned long long macro
282 #define Rand64 lua_Unsigned macro
289 #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 …]
/external/rust/crates/criterion/src/stats/
Drand_util.rs1 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()
/external/rust/crates/oorandom/src/
Dlib.rs161 pub struct Rand64 { struct
166 impl Rand64 { impl
300 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 …]
/external/tensorflow/tensorflow/core/lib/random/
Dsimple_philox.cc28 return ExactUniformInt<uint64>(n, [this]() { return Rand64(); }); in Uniform64()
Dsimple_philox.h39 PHILOX_DEVICE_INLINE uint64 Rand64() { in Rand64() function
/external/ltp/testcases/kernel/io/disktest/
Dsfunc.h132 OFF_T Rand64(void);
Dsfunc.c84 OFF_T Rand64(void) in Rand64() function
445 *(off_tbuf + i) = Rand64(); in fill_buffer()
Dchildmain.c334 (Rand64() & mask) + args->start_lba; in get_next_action()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp106 uint64_t Rand64() { in Rand64() function in llvm::__anon35362e5a0111::Random
113 return Rand64() % y; in operator ()()
388 RandomBits[i] = Ran->Rand64(); in Act()
/external/llvm-project/llvm/tools/llvm-stress/
Dllvm-stress.cpp123 uint64_t Rand64() { in Rand64() function in llvm::__anon43ca2d880111::Random
133 return Rand64() % y; in operator ()()
438 RandomBits[i] = Ran->Rand64(); in Act()
/external/tensorflow/tensorflow/core/lib/strings/
Dordered_code_test.cc154 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()
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing_test.cc388 int64_list->add_value(rng->Rand64()); in Fuzz()
/external/tensorflow/tensorflow/core/util/sparse/
Dsparse_tensor_test.cc774 ix_t(i, d) = rnd.Rand64() % 1000; in BM_SparseReorderFloat()
817 ix_t(i, d) = rnd.Rand64() % 1000; in BM_SparseReorderString()