Home
last modified time | relevance | path

Searched refs:FastRand (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/tokio/src/util/
Drand.rs11 pub(crate) struct FastRand { struct
16 impl FastRand { argument
18 pub(crate) fn new(seed: u64) -> FastRand { in new() argument
27 FastRand { in new()
60 static THREAD_RNG: FastRand = FastRand::new(crate::loom::rand::seed()); in thread_rng_n()
Dmod.rs27 pub(crate) use self::rand::FastRand;
/external/rust/crates/tokio-stream/src/
Dstream_map.rs613 pub(crate) struct FastRand { struct
618 impl FastRand { impl
620 pub(crate) fn new(seed: u64) -> FastRand { in new() argument
629 FastRand { in new()
659 static THREAD_RNG: FastRand = FastRand::new(loom::rand::seed()); in thread_rng_n()
/external/rust/crates/tokio/src/runtime/thread_pool/
Dworker.rs17 use crate::util::FastRand;
66 rand: FastRand,
147 rand: FastRand::new(seed()), in create()