Home
last modified time | relevance | path

Searched refs:rng1 (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/rand_xorshift/tests/
Dmod.rs8 let mut rng1 = XorShiftRng::from_seed(seed); in test_xorshift_construction() localVariable
9 assert_eq!(rng1.next_u64(), 4325440999699518727); in test_xorshift_construction()
11 let mut rng2 = XorShiftRng::from_rng(&mut rng1).unwrap(); in test_xorshift_construction()
13 assert_eq!(rng1.next_u64(), 15614385950550801700); in test_xorshift_construction()
61 let mut rng1 = XorShiftRng::from_seed(seed); in test_xorshift_clone() localVariable
62 let mut rng2 = rng1.clone(); in test_xorshift_clone()
64 assert_eq!(rng1.next_u64(), rng2.next_u64()); in test_xorshift_clone()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_element_type_converter_test.cc161 HloInstruction *rng0, *rng1; in TEST_F() local
170 rng1 = inst; in TEST_F()
175 EXPECT_THAT(rng0->control_successors(), ElementsAre(rng1)); in TEST_F()
176 EXPECT_THAT(rng1->control_predecessors(), ElementsAre(rng0)); in TEST_F()
Dhlo_cse_test.cc579 auto rng1 = builder.AddInstruction(HloInstruction::CreateRng( in TEST_F() local
587 constant1->shape(), HloOpcode::kAdd, rng1, rng2)); in TEST_F()
593 EXPECT_THAT(root, op::Add(rng1, rng2)); in TEST_F()
603 EXPECT_THAT(root, op::Add(rng1, rng2)); in TEST_F()
636 auto rng1 = builder.AddInstruction( in TEST_F() local
641 constant->shape(), HloOpcode::kAdd, rng1, rng2)); in TEST_F()
/external/rust/crates/rand_chacha/src/
Dchacha.rs285 let mut rng1 = ChaChaRng::from_seed(seed); in test_chacha_construction() localVariable
286 assert_eq!(rng1.next_u32(), 137206642); in test_chacha_construction()
288 let mut rng2 = ChaChaRng::from_rng(rng1).unwrap(); in test_chacha_construction()
365 let mut rng1 = ChaChaRng::from_seed(seed); in test_chacha_true_values_c() localVariable
367 rng1.next_u32(); in test_chacha_true_values_c()
370 *i = rng1.next_u32(); in test_chacha_true_values_c()
373 assert_eq!(rng1.get_word_pos(), expected_end); in test_chacha_true_values_c()
/external/rust/crates/rand/src/rngs/adapter/
Dreseeding.rs360 let mut rng1 = ReseedingRng::new(rng, 32 * 4, zero); in test_clone_reseeding() localVariable
362 let first: u32 = rng1.gen(); in test_clone_reseeding()
364 let _ = rng1.gen::<u32>(); in test_clone_reseeding()
367 let mut rng2 = rng1.clone(); in test_clone_reseeding()
/external/rust/crates/rand/src/rngs/
Dstd.rs97 let mut rng1 = StdRng::from_rng(rng0).unwrap(); in test_stdrng_construction() localVariable
98 let x1 = rng1.next_u64(); in test_stdrng_construction()
/external/arm-trusted-firmware/fdts/
Dstm32mp15xx-osd32.dtsi138 &rng1 {
Dstm32mp157c-ed1.dts294 &rng1 {
Dstm32mp15xx-dkx.dtsi292 &rng1 {
Dstm32mp157a-avenger96.dts274 &rng1 {
Dstm32mp151.dtsi259 rng1: rng@54003000 { label