Searched refs:TimeThreshold (Results 1 – 6 of 6) sorted by path
/dports/lang/rust/rustc-1.58.1-src/library/test/src/ |
H A D | tests.rs | 28 time::{TestTimeOptions, TimeThreshold}, 379 let unit = TimeThreshold::new(Duration::from_millis(50), Duration::from_millis(100)); in test_time_options_threshold() 380 let integration = TimeThreshold::new(Duration::from_millis(500), Duration::from_millis(1000)); in test_time_options_threshold() 381 let doc = TimeThreshold::new(Duration::from_millis(5000), Duration::from_millis(10000)); in test_time_options_threshold()
|
H A D | time.rs | 86 pub struct TimeThreshold { struct 91 impl TimeThreshold { implementation 141 pub unit_threshold: TimeThreshold, 142 pub integration_threshold: TimeThreshold, 143 pub doctest_threshold: TimeThreshold, 148 let unit_threshold = TimeThreshold::from_env_var(time_constants::UNIT_ENV_NAME) in new_from_env() 152 TimeThreshold::from_env_var(time_constants::INTEGRATION_ENV_NAME) in new_from_env() 187 fn default_unit() -> TimeThreshold { in default_unit() 188 TimeThreshold::new(time_constants::UNIT_WARN, time_constants::UNIT_CRITICAL) in default_unit() 191 fn default_integration() -> TimeThreshold { in default_integration() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/vendor/tester/src/ |
H A D | tests.rs | 28 time::{TestTimeOptions, TimeThreshold}, 336 let unit = TimeThreshold::new(Duration::from_millis(50), Duration::from_millis(100)); in test_time_options_threshold() 337 let integration = TimeThreshold::new(Duration::from_millis(500), Duration::from_millis(1000)); in test_time_options_threshold() 338 let doc = TimeThreshold::new(Duration::from_millis(5000), Duration::from_millis(10000)); in test_time_options_threshold()
|
H A D | time.rs | 86 pub struct TimeThreshold { struct 91 impl TimeThreshold { argument 147 pub unit_threshold: TimeThreshold, 148 pub integration_threshold: TimeThreshold, 149 pub doctest_threshold: TimeThreshold, 154 let unit_threshold = TimeThreshold::from_env_var(time_constants::UNIT_ENV_NAME) in new_from_env() 158 TimeThreshold::from_env_var(time_constants::INTEGRATION_ENV_NAME) in new_from_env() 193 fn default_unit() -> TimeThreshold { in default_unit() 194 TimeThreshold::new(time_constants::UNIT_WARN, time_constants::UNIT_CRITICAL) in default_unit() 197 fn default_integration() -> TimeThreshold { in default_integration() [all …]
|
/dports/net/geoclue/geoclue-3bb60dd600a8b247fd6049e7e5b1c73c2c5fc0e8/ |
H A D | NEWS | 202 - Add a TimeThreshold property that allows clients to limit location updates by
|
/dports/net/mvfst/mvfst-248b2dc39bbd36863bbaa50385e8683428610009/quic/loss/test/ |
H A D | QuicLossFunctionsTest.cpp | 1755 TEST_F(QuicLossFunctionsTest, TimeThreshold) { in TEST_F() argument
|