/external/rust/crates/rand_chacha/src/ |
D | chacha.rs | 103 fn from_seed(seed: Self::Seed) -> Self { 156 fn from_seed(seed: Self::Seed) -> Self { 157 let core = $ChaChaXCore::from_seed(seed); 285 let mut rng1 = ChaChaRng::from_seed(seed); in test_chacha_construction() 297 let mut rng = ChaChaRng::from_seed(seed); in test_chacha_true_values_a() 329 let mut rng = ChaChaRng::from_seed(seed); in test_chacha_true_values_b() 365 let mut rng1 = ChaChaRng::from_seed(seed); in test_chacha_true_values_c() 376 let mut rng2 = ChaChaRng::from_seed(seed); in test_chacha_true_values_c() 405 let mut rng = ChaChaRng::from_seed(seed); in test_chacha_multiple_blocks() 427 let mut rng = ChaChaRng::from_seed(seed); in test_chacha_true_bytes() [all …]
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | stateful_random_ops_test.py | 74 gen = random.Generator.from_seed(seed=0, alg=alg) 84 gen = random.Generator.from_seed(seed=0, alg=alg) 122 g = random.Generator.from_seed(seed=0, alg=random.RNG_ALG_THREEFRY) 143 g = random.Generator.from_seed(seed=0, alg=random.RNG_ALG_PHILOX) 221 cpu_gen = random.Generator.from_seed( 224 xla_gen = random.Generator.from_seed( 243 random.Generator.from_seed( 248 random.Generator.from_seed( 264 cpu_gen = random.Generator.from_seed( 267 xla_gen = random.Generator.from_seed( [all …]
|
/external/rust/crates/rand_xorshift/tests/ |
D | mod.rs | 8 let mut rng1 = XorShiftRng::from_seed(seed); in test_xorshift_construction() 20 let mut rng = XorShiftRng::from_seed(seed); in test_xorshift_true_values() 51 let mut rng = XorShiftRng::from_seed(seed); in test_xorshift_zero_seed() 61 let mut rng1 = XorShiftRng::from_seed(seed); in test_xorshift_clone() 75 let mut rng = XorShiftRng::from_seed(seed); in test_xorshift_serde()
|
/external/tensorflow/tensorflow/python/ops/ |
D | stateful_random_ops_test.py | 112 gen = random.Generator.from_seed(1234) 142 gen = random.Generator.from_seed(1234) # gen is on CPU 151 gen = random.Generator.from_seed(0) 179 lambda: random.Generator.from_seed(1234), 206 g_by_name = random.Generator.from_seed(1234, name) 207 g_by_int = random.Generator.from_seed(1234, int_id) 208 g_by_enum = random.Generator.from_seed(1234, enum_id) 244 g = random.Generator.from_seed(0) 275 gen1 = random.Generator.from_seed(seed) 461 cpu = random.Generator.from_seed(seed).uniform_full_int( [all …]
|
/external/rust/crates/rand_core/src/ |
D | lib.rs | 285 fn from_seed(seed: Self::Seed) -> Self; in from_seed() method 329 Self::from_seed(seed) in seed_from_u64() 359 Ok(Self::from_seed(seed)) in from_rng() 383 Self::from_seed(seed) in from_entropy() 463 fn from_seed(seed: Self::Seed) -> Self { in test_seed_from_u64() method
|
D | block.rs | 241 fn from_seed(seed: Self::Seed) -> Self { in from_seed() method 242 Self::new(R::from_seed(seed)) in from_seed() 416 fn from_seed(seed: Self::Seed) -> Self { in from_seed() method 417 Self::new(R::from_seed(seed)) in from_seed()
|
/external/rust/crates/rand/src/rngs/ |
D | std.rs | 66 fn from_seed(seed: Self::Seed) -> Self { in from_seed() method 67 StdRng(Rng::from_seed(seed)) in from_seed() 94 let mut rng0 = StdRng::from_seed(seed); in test_stdrng_construction()
|
D | xoshiro256plusplus.rs | 34 fn from_seed(seed: [u8; 32]) -> Xoshiro256PlusPlus { in from_seed() method 57 Self::from_seed(seed) in seed_from_u64() 108 let mut rng = Xoshiro256PlusPlus::from_seed( in reference()
|
D | xoshiro128plusplus.rs | 34 fn from_seed(seed: [u8; 16]) -> Xoshiro128PlusPlus { in from_seed() method 57 Self::from_seed(seed) in seed_from_u64() 106 let mut rng = Xoshiro128PlusPlus::from_seed( in reference()
|
D | small.rs | 109 fn from_seed(seed: Self::Seed) -> Self { in from_seed() method 110 SmallRng(Rng::from_seed(seed)) in from_seed()
|
/external/tensorflow/tensorflow/python/kernel_tests/random/ |
D | random_binomial_test.py | 44 stateful_random_ops.Generator.from_seed(seed)) 61 gen = stateful_random_ops.Generator.from_seed(seed=12345) 97 rnd = stateful_random_ops.Generator.from_seed(12345).binomial([0], [], []) 101 rng = stateful_random_ops.Generator.from_seed(12345) 150 rng = stateful_random_ops.Generator.from_seed(12345) 190 gen = stateful_random_ops.Generator.from_seed(seed=23455)
|
/external/tensorflow/tensorflow/python/distribute/ |
D | random_generator_test.py | 90 g = rng.Generator.from_seed(1) 112 True: functools.partial(rng.Generator.from_seed, 1234), 144 gen = rng.Generator.from_seed(1234) 189 g1 = rng.Generator.from_seed(1) 191 g2 = rng.Generator.from_seed(10) 222 self.g = rng.Generator.from_seed(0)
|
/external/rust/crates/plotters/examples/ |
D | normal-dist.rs | 17 let mut x_rand = XorShiftRng::from_seed(*b"MyFragileSeed123"); in main() 18 let mut y_rand = XorShiftRng::from_seed(*b"MyFragileSeed321"); in main()
|
D | area-chart.rs | 10 let mut x_rand = XorShiftRng::from_seed(*b"MyFragileSeed123"); in main()
|
D | normal-dist2.rs | 14 let mut x_rand = XorShiftRng::from_seed(*b"MyFragileSeed123"); in main()
|
D | errorbar.rs | 58 let mut x_rand = XorShiftRng::from_seed(*b"MyFragileSeed123"); in generate_random_data()
|
/external/rust/crates/hashbrown/tests/ |
D | set.rs | 15 let rng = &mut SmallRng::from_seed(seed); in test_hashset_insert_remove()
|
/external/rust/crates/ryu/examples/ |
D | upstream_benchmark.rs | 43 let mut rng = rand_xorshift::XorShiftRng::from_seed([123u8; 16]);
|
/external/rust/crates/rand_xorshift/src/ |
D | lib.rs | 82 fn from_seed(seed: Self::Seed) -> Self { in from_seed() method
|
/external/rust/crates/rayon-core/src/join/ |
D | test.rs | 36 XorShiftRng::from_seed(seed) in seeded_rng()
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.random.-generator.pbtxt | 36 name: "from_seed"
|
D | tensorflow.random.experimental.-generator.pbtxt | 36 name: "from_seed"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.random.-generator.pbtxt | 36 name: "from_seed"
|
D | tensorflow.random.experimental.-generator.pbtxt | 36 name: "from_seed"
|
/external/rust/crates/rayon/tests/ |
D | str.rs | 9 XorShiftRng::from_seed(seed) in seeded_rng()
|