/dports/sysutils/vector/vector-0.10.0/cargo-crates/tokio-retry-0.2.0/src/strategy/ |
H A D | fibonacci_backoff.rs | 26 pub fn from_millis(millis: u64) -> FibonacciBackoff { in from_millis() method 58 Duration::from_millis(duration) in next() 60 Duration::from_millis(U64_MAX) in next() 84 let mut iter = FibonacciBackoff::from_millis(10); in returns_the_fibonacci_series_starting_at_10() 85 assert_eq!(iter.next(), Some(Duration::from_millis(10))); in returns_the_fibonacci_series_starting_at_10() 86 assert_eq!(iter.next(), Some(Duration::from_millis(10))); in returns_the_fibonacci_series_starting_at_10() 87 assert_eq!(iter.next(), Some(Duration::from_millis(20))); in returns_the_fibonacci_series_starting_at_10() 88 assert_eq!(iter.next(), Some(Duration::from_millis(30))); in returns_the_fibonacci_series_starting_at_10() 95 let mut iter = FibonacciBackoff::from_millis(U64_MAX); in saturates_at_maximum_value() 102 let mut iter = FibonacciBackoff::from_millis(10).max_delay(Duration::from_millis(50)); in stops_increasing_at_max_delay() [all …]
|
H A D | exponential_backoff.rs | 22 pub fn from_millis(base: u64) -> ExponentialBackoff { in from_millis() method 54 Duration::from_millis(duration) in next() 56 Duration::from_millis(U64_MAX) in next() 78 let mut s = ExponentialBackoff::from_millis(10); in returns_some_exponential_base_10() 80 assert_eq!(s.next(), Some(Duration::from_millis(10))); in returns_some_exponential_base_10() 87 let mut s = ExponentialBackoff::from_millis(2); in returns_some_exponential_base_2() 89 assert_eq!(s.next(), Some(Duration::from_millis(2))); in returns_some_exponential_base_2() 90 assert_eq!(s.next(), Some(Duration::from_millis(4))); in returns_some_exponential_base_2() 91 assert_eq!(s.next(), Some(Duration::from_millis(8))); in returns_some_exponential_base_2() 115 let mut s = ExponentialBackoff::from_millis(2).max_delay(Duration::from_millis(4)); in stops_increasing_at_max_delay() [all …]
|
/dports/devel/sccache/sccache-0.2.15/cargo-crates/retry-1.2.0/src/delay/ |
H A D | mod.rs | 21 pub fn from_millis(base: u64) -> Self { in from_millis() method 41 let duration = Duration::from_millis(self.current); in next() 56 Self::from_millis(duration.as_millis() as u64) in from() 73 let mut iter = Exponential::from_millis(U64_MAX); in exponential_overflow() 94 pub fn from_millis(millis: u64) -> Fibonacci { in from_millis() method 106 let duration = Duration::from_millis(self.curr); in next() 122 Self::from_millis(duration.as_millis() as u64) in from() 128 let mut iter = Fibonacci::from_millis(10); in fibonacci() 139 let mut iter = Fibonacci::from_millis(U64_MAX); in fibonacci_saturated() 152 pub fn from_millis(millis: u64) -> Self { in from_millis() method [all …]
|
/dports/net/quiche/quiche-0.9.0/src/ |
H A D | minmax.rs | 178 let rtt = Duration::from_millis(50); in reset_filter_rtt() 223 time += Duration::from_millis(250); in get_windowed_min_rtt() 229 time += Duration::from_millis(600); in get_windowed_min_rtt() 247 time += Duration::from_millis(250); in get_windowed_min_bandwidth() 253 time += Duration::from_millis(600); in get_windowed_min_bandwidth() 271 time += Duration::from_millis(250); in get_windowed_max_rtt() 277 time += Duration::from_millis(600); in get_windowed_max_rtt() 301 time += Duration::from_millis(600); in get_windowed_max_bandwidth() 321 time += Duration::from_millis(300); in get_windowed_min_estimates_rtt() 327 time += Duration::from_millis(300); in get_windowed_min_estimates_rtt() [all …]
|
/dports/www/ffsend/ffsend-ccd489ce2e75b91c0f17fbf13dbd91fe84f5ad98/cargo-crates/pbr-1.0.4/tests/ |
H A D | lib.rs | 14 thread::sleep(Duration::from_millis(5)); in simple_example() 27 thread::sleep(Duration::from_millis(5)); in custom_width_example() 35 thread::sleep(Duration::from_millis(1)); in simple_iter_example() 49 thread::sleep(Duration::from_millis(50)); in timeout_example() 54 thread::sleep(Duration::from_millis(50)); in timeout_example() 60 thread::sleep(Duration::from_millis(50)); in timeout_example() 75 thread::sleep(Duration::from_millis(50)); in tick_before_start() 79 thread::sleep(Duration::from_millis(50)); in tick_before_start() 98 thread::sleep(Duration::from_millis(80)); in npm_bar() 103 thread::sleep(Duration::from_millis(80)); in npm_bar() [all …]
|
/dports/graphics/gifski/gifski-1.5.0/cargo-crates/pbr-1.0.4/tests/ |
H A D | lib.rs | 14 thread::sleep(Duration::from_millis(5)); in simple_example() 27 thread::sleep(Duration::from_millis(5)); in custom_width_example() 35 thread::sleep(Duration::from_millis(1)); in simple_iter_example() 49 thread::sleep(Duration::from_millis(50)); in timeout_example() 54 thread::sleep(Duration::from_millis(50)); in timeout_example() 60 thread::sleep(Duration::from_millis(50)); in timeout_example() 75 thread::sleep(Duration::from_millis(50)); in tick_before_start() 79 thread::sleep(Duration::from_millis(50)); in tick_before_start() 98 thread::sleep(Duration::from_millis(80)); in npm_bar() 103 thread::sleep(Duration::from_millis(80)); in npm_bar() [all …]
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/pbr-1.0.2/tests/ |
H A D | lib.rs | 14 thread::sleep(Duration::from_millis(5)); in simple_example() 27 thread::sleep(Duration::from_millis(5)); in custom_width_example() 35 thread::sleep(Duration::from_millis(1)); in simple_iter_example() 49 thread::sleep(Duration::from_millis(50)); in timeout_example() 54 thread::sleep(Duration::from_millis(50)); in timeout_example() 60 thread::sleep(Duration::from_millis(50)); in timeout_example() 75 thread::sleep(Duration::from_millis(50)); in tick_before_start() 79 thread::sleep(Duration::from_millis(50)); in tick_before_start() 98 thread::sleep(Duration::from_millis(80)); in npm_bar() 103 thread::sleep(Duration::from_millis(80)); in npm_bar() [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/mio-extras-2.0.6/test/ |
H A D | test_poll_channel.rs | 20 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 29 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 39 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 48 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 57 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 72 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 102 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 111 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 121 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 311 thread::sleep(Duration::from_millis(250)); in test_mixing_channel_with_socket() [all …]
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/mio-extras-2.0.6/test/ |
H A D | test_poll_channel.rs | 20 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 29 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 39 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 48 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 57 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 72 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 102 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 111 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 121 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 311 thread::sleep(Duration::from_millis(250)); in test_mixing_channel_with_socket() [all …]
|
/dports/www/firefox/firefox-99.0/third_party/rust/mio-extras/test/ |
H A D | test_poll_channel.rs | 20 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 29 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 39 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 48 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 57 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 72 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 102 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 111 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 121 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 311 thread::sleep(Duration::from_millis(250)); in test_mixing_channel_with_socket() [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/mio-extras-2.0.6/test/ |
H A D | test_poll_channel.rs | 20 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 29 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 39 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 48 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 57 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 72 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 102 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 111 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 121 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 311 thread::sleep(Duration::from_millis(250)); in test_mixing_channel_with_socket() [all …]
|
/dports/editors/xi-core/xi-editor-0.3.0/rust/cargo-crates/mio-extras-2.0.5/test/ |
H A D | test_poll_channel.rs | 19 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 27 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 36 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 44 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 52 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 66 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 94 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 102 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 111 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 287 thread::sleep(Duration::from_millis(250)); in test_mixing_channel_with_socket() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/mio-extras/test/ |
H A D | test_poll_channel.rs | 20 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 29 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 39 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 48 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 57 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 72 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 102 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 111 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 121 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 311 thread::sleep(Duration::from_millis(250)); in test_mixing_channel_with_socket() [all …]
|
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/mio-extras-2.0.5/test/ |
H A D | test_poll_channel.rs | 19 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 27 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 36 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 44 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 52 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 66 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 94 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 102 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 111 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 287 thread::sleep(Duration::from_millis(250)); in test_mixing_channel_with_socket() [all …]
|
/dports/textproc/mdbook/mdBook-0.4.13/cargo-crates/mio-extras-2.0.6/test/ |
H A D | test_poll_channel.rs | 20 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 29 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 39 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 48 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 57 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 72 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 102 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 111 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 121 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 311 thread::sleep(Duration::from_millis(250)); in test_mixing_channel_with_socket() [all …]
|
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/mio-extras-2.0.6/test/ |
H A D | test_poll_channel.rs | 20 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 29 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 39 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 48 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 57 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 72 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 102 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 111 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 121 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 311 thread::sleep(Duration::from_millis(250)); in test_mixing_channel_with_socket() [all …]
|
/dports/www/zola/zola-0.15.2/cargo-crates/mio-extras-2.0.6/test/ |
H A D | test_poll_channel.rs | 20 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 29 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 39 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 48 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 57 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 72 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 102 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 111 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 121 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 311 thread::sleep(Duration::from_millis(250)); in test_mixing_channel_with_socket() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/mio-extras/test/ |
H A D | test_poll_channel.rs | 20 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 29 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 39 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 48 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 57 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 72 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 102 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 111 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 121 .poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 311 thread::sleep(Duration::from_millis(250)); in test_mixing_channel_with_socket() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/mio-extras/test/ |
H A D | test_poll_channel.rs | 19 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 27 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 36 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 44 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 52 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 66 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 94 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 102 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 111 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 287 thread::sleep(Duration::from_millis(250)); in test_mixing_channel_with_socket() [all …]
|
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/mio-extras-2.0.5/test/ |
H A D | test_poll_channel.rs | 19 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 27 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 36 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 44 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 52 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 66 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_edge() 94 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 102 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 111 let num = poll.poll(&mut events, Some(Duration::from_millis(300))) in test_poll_channel_oneshot() 287 thread::sleep(Duration::from_millis(250)); in test_mixing_channel_with_socket() [all …]
|
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/wl-clipboard-rs-0.4.1/src/tests/ |
H A D | utils.rs | 30 thread::sleep(Duration::from_millis(100)); in is_primary_selection_supported_test() 33 thread::sleep(Duration::from_millis(100)); in is_primary_selection_supported_test() 36 thread::sleep(Duration::from_millis(100)); in is_primary_selection_supported_test() 62 thread::sleep(Duration::from_millis(100)); in is_primary_selection_supported_primary_selection_unsupported() 65 thread::sleep(Duration::from_millis(100)); in is_primary_selection_supported_primary_selection_unsupported() 68 thread::sleep(Duration::from_millis(100)); in is_primary_selection_supported_primary_selection_unsupported() 84 thread::sleep(Duration::from_millis(100)); in is_primary_selection_supported_data_control_v1() 87 thread::sleep(Duration::from_millis(100)); in is_primary_selection_supported_data_control_v1() 103 thread::sleep(Duration::from_millis(100)); in is_primary_selection_supported_no_seats() 106 thread::sleep(Duration::from_millis(100)); in is_primary_selection_supported_no_seats() [all …]
|
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/may-0.3.17/tests/ |
H A D | lib.rs | 37 thread::sleep(Duration::from_millis(10)); in cancel_coroutine() 68 thread::sleep(Duration::from_millis(10)); in cancel_io_coroutine() 109 thread::sleep(Duration::from_millis(200)); in multi_coroutine() 131 thread::sleep(Duration::from_millis(200)); in multi_yield() 153 thread::sleep(Duration::from_millis(200)); in spawn_inside() 235 thread::sleep(Duration::from_millis(100)); in unpark() 261 thread::sleep(Duration::from_millis(50)); in park_timeout() 271 coroutine::sleep(Duration::from_millis(500)); in test_sleep() 272 assert!(now.elapsed() >= Duration::from_millis(500)); in test_sleep() 294 coroutine::sleep(Duration::from_millis(100)); in join_macro() [all …]
|
/dports/multimedia/scte35dump/scte35dump-0.1.6/cargo-crates/mio-0.6.19/test/ |
H A D | test_poll_channel.rs | 17 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 24 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 32 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 39 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 46 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 59 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 82 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_oneshot() 89 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_oneshot() 97 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_oneshot() 104 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_oneshot() [all …]
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/mio-0.6.21/test/ |
H A D | test_poll_channel.rs | 17 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 24 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 32 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 39 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 46 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 59 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 82 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_oneshot() 89 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_oneshot() 97 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_oneshot() 104 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_oneshot() [all …]
|
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/mio-0.6.19/test/ |
H A D | test_poll_channel.rs | 17 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 24 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 32 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 39 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 46 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 59 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_edge() 82 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_oneshot() 89 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_oneshot() 97 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_oneshot() 104 let num = poll.poll(&mut events, Some(Duration::from_millis(300))).unwrap(); in test_poll_channel_oneshot() [all …]
|