Lines Matching refs:Rand32
29 pub struct Rand32 { struct
34 impl Rand32 { argument
274 let mut r1 = Rand32::new(seed); in test_rand32_vs_randomize()
275 let mut r2 = PCG32::seed(seed, Rand32::DEFAULT_INC); in test_rand32_vs_randomize()
285 let mut r1 = Rand32::new_inc(seed, inc); in test_rand32_vs_randomize()
324 let mut r1 = Rand32::new(seed); in test_float32()
325 let mut r2 = PCG32::seed(seed, Rand32::DEFAULT_INC); in test_float32()
416 let mut r1 = Rand32::new(seed); in test_randrange32()
460 let mut r1 = Rand32::new(seed); in test_rand32_vs_rand()
461 let mut r2 = rand_pcg::Pcg32::new(seed, Rand32::DEFAULT_INC); in test_rand32_vs_rand()
470 let mut r1 = Rand32::new_inc(seed, inc); in test_rand32_vs_rand()
517 let mut r1 = Rand32::new(seed); in test_rand32_vs_rfr()
518 let mut r2 = rfr::FastRng::seed(seed, Rand32::DEFAULT_INC); in test_rand32_vs_rfr()
527 let mut r1 = Rand32::new_inc(seed, inc); in test_rand32_vs_rfr()
542 let mut r1 = Rand32::new(seed); in test_save_restore()
544 let mut r2 = Rand32::from_state(s1); in test_save_restore()
554 let mut r1 = Rand32::new_inc(seed, inc); in test_save_restore()
556 let mut r2 = Rand32::from_state(s1); in test_save_restore()