Home
last modified time | relevance | path

Searched refs:NUM_LEVELS (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/tokio/src/time/driver/wheel/
Dmod.rs47 const NUM_LEVELS: usize = 6; constant
50 pub(super) const MAX_DURATION: u64 = (1 << (6 * NUM_LEVELS)) - 1;
55 let levels = (0..NUM_LEVELS).map(Level::new).collect(); in new()
193 for level in 0..NUM_LEVELS { in next_expiration()
216 for l2 in start_level..NUM_LEVELS { in no_expirations_before()
Dlevel.rs167 debug_assert_eq!(self.level, super::NUM_LEVELS - 1); in next_expiration()
/external/rust/crates/tokio/tests/
Dtime_sleep.rs293 const NUM_LEVELS: usize = 6; constant
294 const MAX_DURATION: u64 = (1 << (6 * NUM_LEVELS)) - 1;