Home
last modified time | relevance | path

Searched refs:shutdown_timeout (Results 1 – 17 of 17) sorted by relevance

/external/rust/crates/tokio/tests/
Drt_handle_block_on.rs145 rt.shutdown_timeout(Duration::from_secs(1000));
176 rt.shutdown_timeout(Duration::from_secs(1000));
198 rt.shutdown_timeout(Duration::from_secs(1000));
224 rt.shutdown_timeout(Duration::from_secs(1000));
246 rt.shutdown_timeout(Duration::from_secs(1000));
274 rt.shutdown_timeout(Duration::from_secs(1000));
296 rt.shutdown_timeout(Duration::from_secs(1000));
318 rt.shutdown_timeout(Duration::from_secs(1000));
342 rt.shutdown_timeout(Duration::from_secs(1000));
366 rt.shutdown_timeout(Duration::from_secs(1000));
[all …]
Drt_common.rs844 fn shutdown_timeout() {
857 Arc::try_unwrap(runtime).unwrap().shutdown_timeout(Duration::from_millis(100));
871 Arc::try_unwrap(runtime).unwrap().shutdown_timeout(Duration::from_nanos(0));
883 Arc::try_unwrap(runtime).unwrap().shutdown_timeout(Duration::from_secs(10_000));
Dtask_blocking.rs149 rt.shutdown_timeout(Duration::from_nanos(0)); in can_shutdown_with_zero_timeout_in_runtime()
/external/tensorflow/tensorflow/python/tpu/
Dsession_support.py200 shutdown_timeout=2 * 3600): argument
213 self.shutdown_timeout = shutdown_timeout
244 timeout_ms = self.shutdown_timeout * 1000
255 'and %d second ping interval.', self.shutdown_timeout,
290 shutdown_timeout=3600): argument
295 ping_interval = min(shutdown_timeout / 10., ping_interval)
297 shutdown_timeout)
/external/autotest/server/site_tests/firmware_FwScreenPressPower/
Dfirmware_FwScreenPressPower.py115 shutdown_timeout=self.SHORT_SHUTDOWN_CONFIRMATION_PERIOD
130 shutdown_timeout=self.SHORT_SHUTDOWN_CONFIRMATION_PERIOD)
146 shutdown_timeout=self.SHORT_SHUTDOWN_CONFIRMATION_PERIOD)
167 shutdown_timeout=self.SHORT_SHUTDOWN_CONFIRMATION_PERIOD)
/external/autotest/server/site_tests/firmware_FwScreenCloseLid/
Dfirmware_FwScreenCloseLid.py123 shutdown_timeout=self.SHORT_SHUTDOWN_CONFIRMATION_PERIOD)
139 shutdown_timeout=self.SHORT_SHUTDOWN_CONFIRMATION_PERIOD)
156 shutdown_timeout=self.SHORT_SHUTDOWN_CONFIRMATION_PERIOD)
179 shutdown_timeout=self.SHORT_SHUTDOWN_CONFIRMATION_PERIOD)
/external/rust/crates/tokio/src/runtime/
Dmod.rs527 pub fn shutdown_timeout(mut self, duration: Duration) {
560 self.shutdown_timeout(Duration::from_nanos(0))
/external/toybox/lib/
Dnet.c99 int pollinate(int in1, int in2, int out1, int out2, int timeout, int shutdown_timeout) in pollinate() argument
129 timeout = shutdown_timeout; in pollinate()
Dlib.h366 int pollinate(int in1, int in2, int out1, int out2, int timeout, int shutdown_timeout);
/external/tensorflow/tensorflow/compiler/xla/pjrt/distributed/
Dclient.h52 absl::Duration shutdown_timeout = absl::Seconds(60); member
Dservice.cc185 options_.shutdown_timeout)) { in Shutdown()
188 "Timed out after ", absl::FormatDuration(options_.shutdown_timeout), in Shutdown()
Dservice.h55 absl::Duration shutdown_timeout = absl::Seconds(60); member
Dclient.cc174 ctx.set_deadline(absl::ToChronoTime(absl::Now() + options_.shutdown_timeout)); in Shutdown()
/external/autotest/server/site_tests/display_HotPlugAtBoot/
Ddisplay_HotPlugAtBoot.py76 shutdown_timeout=self.REBOOT_TIMEOUT)
/external/autotest/server/hosts/
Dcros_host.py2084 def test_wait_for_shutdown(self, shutdown_timeout=None): argument
2106 if shutdown_timeout is None:
2107 shutdown_timeout = self.SHUTDOWN_TIMEOUT
2110 success = self.wait_down(timeout=shutdown_timeout)
2112 success = self.ping_wait_down(timeout=shutdown_timeout)
2117 shutdown_timeout)
/external/autotest/server/cros/faft/
Dfirmware_test.py1676 shutdown_timeout=None): argument
1690 if shutdown_timeout is None:
1691 shutdown_timeout = self.faft_config.shutdown_timeout
1692 self.switcher.wait_for_client(timeout=shutdown_timeout)
/external/rust/crates/tokio/
DCHANGELOG.md334 - rt: fix `shutdown_timeout(0)` ([#3196]).
816 - rt: `Runtime::shutdown_timeout` waits for runtime to shutdown for specified