Home
last modified time | relevance | path

Searched refs:SeedableRng (Results 1 – 25 of 31) sorted by relevance

12

/external/rust/crates/rand/src/rngs/adapter/
Dreseeding.rs16 use rand_core::{CryptoRng, Error, RngCore, SeedableRng};
81 R: BlockRngCore + SeedableRng,
86 R: BlockRngCore + SeedableRng,
109 R: BlockRngCore<Item = u32> + SeedableRng,
133 R: BlockRngCore + SeedableRng + Clone,
145 R: BlockRngCore + SeedableRng + CryptoRng,
161 R: BlockRngCore + SeedableRng,
183 R: BlockRngCore + SeedableRng,
260 R: BlockRngCore + SeedableRng + Clone,
276 R: BlockRngCore + SeedableRng + CryptoRng,
[all …]
/external/rust/crates/rand/src/rngs/
Dstd.rs11 use crate::{CryptoRng, Error, RngCore, SeedableRng};
62 impl SeedableRng for StdRng {
63 type Seed = <Rng as SeedableRng>::Seed;
82 use crate::{RngCore, SeedableRng};
Dsmall.rs11 use rand_core::{Error, RngCore, SeedableRng};
105 impl SeedableRng for SmallRng {
106 type Seed = <Rng as SeedableRng>::Seed;
Dxoshiro256plusplus.rs12 use rand_core::{SeedableRng, RngCore, Error};
28 impl SeedableRng for Xoshiro256PlusPlus {
Dxoshiro128plusplus.rs12 use rand_core::{SeedableRng, RngCore, Error};
28 impl SeedableRng for Xoshiro128PlusPlus {
Dthread.rs18 use crate::{CryptoRng, Error, RngCore, SeedableRng};
/external/rust/crates/rand_core/src/
Dblock.rs57 use crate::{CryptoRng, Error, RngCore, SeedableRng};
237 impl<R: BlockRngCore + SeedableRng> SeedableRng for BlockRng<R> {
412 impl<R: BlockRngCore + SeedableRng> SeedableRng for BlockRng64<R> {
Dlib.rs212 pub trait SeedableRng: Sized { interface
460 impl SeedableRng for SeedableNum { in test_seed_from_u64()
/external/rust/crates/rand_core/
DCHANGELOG.md54 - Add `SeedableRng::seed_from_u64` for convenient seeding. (#537)
72 - `RngCore` and `SeedableRng` are now part of `rand_core`. (#288)
80 - Revise the `SeedableRng` trait. (#233)
DREADME.md52 and `SeedableRng`.) A few crate releases are thus compatibility shims,
54 `0.3.1`). This means, for example, that `rand_core_0_4_0::SeedableRng` and
55 `rand_core_0_3_0::SeedableRng` are distinct, incompatible traits, which can
/external/rust/crates/rand_xorshift/src/
Dlib.rs22 use rand_core::{RngCore, SeedableRng, Error, impls, le};
79 impl SeedableRng for XorShiftRng {
/external/rust/crates/rayon-core/src/join/
Dtest.rs7 use rand::{Rng, SeedableRng};
34 let mut seed = <XorShiftRng as SeedableRng>::Seed::default(); in seeded_rng()
/external/rust/crates/rand_chacha/src/
Dchacha.rs17 use rand_core::{CryptoRng, Error, RngCore, SeedableRng};
100 impl SeedableRng for $ChaChaXCore { impl
153 impl SeedableRng for $ChaChaXRng { impl
275 use rand_core::{RngCore, SeedableRng};
/external/rust/crates/rayon/tests/
Dstr.rs2 use rand::{Rng, SeedableRng};
7 let mut seed = <XorShiftRng as SeedableRng>::Seed::default(); in seeded_rng()
/external/rust/crates/rand/src/
Dprelude.rs34 #[doc(no_inline)] pub use crate::{CryptoRng, Rng, RngCore, SeedableRng};
Dlib.rs95 pub use rand_core::{CryptoRng, Error, RngCore, SeedableRng};
/external/rust/crates/hashbrown/tests/
Dset.rs4 use rand::{distributions::Alphanumeric, rngs::SmallRng, Rng, SeedableRng};
/external/rust/crates/rand/
DREADME.md69 to an external crate, moving `from_entropy` to `SeedableRng`, and many small
86 and `SeedableRng`.) A few crate releases are thus compatibility shims,
88 `0.3.1`). This means, for example, that `rand_core_0_4_0::SeedableRng` and
89 `rand_core_0_3_0::SeedableRng` are distinct, incompatible traits, which can
/external/rust/crates/plotters/examples/
Darea-chart.rs3 use rand::SeedableRng;
Dnormal-dist.rs3 use rand::SeedableRng;
Dnormal-dist2.rs3 use rand::SeedableRng;
Derrorbar.rs3 use rand::SeedableRng;
/external/rust/crates/tokio/tests/
Dtime_pause.rs4 use rand::SeedableRng;
/external/rust/crates/ryu/examples/
Dupstream_benchmark.rs3 use rand::{Rng, SeedableRng};
/external/rust/crates/rand_xorshift/tests/
Dmod.rs1 use rand_core::{RngCore, SeedableRng};

12