Lines Matching refs:threshold
95 pub fn new(rng: R, threshold: u64, reseeder: Rsdr) -> Self { in new()
96 ReseedingRng(BlockRng::new(ReseedingCore::new(rng, threshold, reseeder))) in new()
154 threshold: i64, field
187 fn new(rng: R, threshold: u64, reseeder: Rsdr) -> Self { in new()
195 let threshold = if threshold == 0 { in new() localVariable
197 } else if threshold <= MAX as u64 { in new()
198 threshold as i64 in new()
206 threshold: threshold as i64, in new()
207 bytes_until_reseed: threshold as i64, in new()
215 self.bytes_until_reseed = self.threshold; in reseed()
253 self.bytes_until_reseed = self.threshold - num_bytes as i64; in reseed_and_generate()
267 threshold: self.threshold, in clone()