Searched refs:MAXIMUM_ALLOCATION_LIFETIME (Results 1 – 2 of 2) sorted by relevance
38 let lifetime = Lifetime(MAXIMUM_ALLOCATION_LIFETIME * 2); in test_allocation_lifetime_overflow()
45 pub(crate) const MAXIMUM_ALLOCATION_LIFETIME: Duration = Duration::from_secs(3600); // https://tool… constant882 if lifetime.get_from(m).is_ok() && lifetime.0 < MAXIMUM_ALLOCATION_LIFETIME { in allocation_lifetime()