Searched refs:FastRand (Results 1 – 4 of 4) sorted by relevance
11 pub(crate) struct FastRand { struct16 impl FastRand { impl18 pub(crate) fn new(seed: u64) -> FastRand { in new() argument27 FastRand { in new()60 static THREAD_RNG: FastRand = FastRand::new(crate::loom::rand::seed()); in thread_rng_n()
27 pub(crate) use self::rand::FastRand;
613 pub(crate) struct FastRand { struct618 impl FastRand { implementation620 pub(crate) fn new(seed: u64) -> FastRand { in new() argument629 FastRand { in new()659 static THREAD_RNG: FastRand = FastRand::new(loom::rand::seed()); in thread_rng_n()
17 use crate::util::FastRand;66 rand: FastRand,147 rand: FastRand::new(seed()), in create()