Home
last modified time | relevance | path

Searched refs:send_timeout (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/crossbeam-channel/tests/
Darray.rs192 fn send_timeout() { in send_timeout() function
197 assert_eq!(s.send_timeout(1, ms(1000)), Ok(())); in send_timeout()
198 assert_eq!(s.send_timeout(2, ms(1000)), Ok(())); in send_timeout()
200 s.send_timeout(3, ms(500)), in send_timeout()
204 assert_eq!(s.send_timeout(4, ms(1000)), Ok(())); in send_timeout()
232 s.send_timeout(6, ms(500)), in send_after_disconnect()
458 if let Ok(()) = s.send_timeout(i, ms(10)) { in stress_timeout_two_threads()
Dzero.rs165 fn send_timeout() { in send_timeout() function
171 s.send_timeout(7, ms(1000)), in send_timeout()
174 assert_eq!(s.send_timeout(8, ms(1000)), Ok(())); in send_timeout()
176 s.send_timeout(9, ms(1000)), in send_timeout()
362 if let Ok(()) = s.send_timeout(i, ms(10)) { in stress_timeout_two_threads()
Dlist.rs156 fn send_timeout() { in send_timeout() function
159 assert_eq!(s.send_timeout(i, ms(i as u64)), Ok(())); in send_timeout()
164 s.send_timeout(777, ms(0)), in send_timeout()
182 s.send_timeout(6, ms(0)), in send_after_disconnect()
Dselect_macro.rs1374 fn send_timeout() { in send_timeout() function
/external/python/cpython2/Lib/plat-mac/
Daetools.py185 self.send_timeout = timeout
187 self.send_timeout = AppleEvents.kAEDefaultTimeout
223 self.send_timeout)
/external/rust/crates/tokio/src/sync/mpsc/
Dbounded.rs509 pub async fn send_timeout( in send_timeout() method
/external/rust/crates/crossbeam-channel/
DCHANGELOG.md140 - Remove `Sender::send_timeout` and `Receiver::recv_timeout`.
/external/rust/crates/crossbeam-channel/src/
Dchannel.rs475 pub fn send_timeout(&self, msg: T, timeout: Duration) -> Result<(), SendTimeoutError<T>> { in send_timeout() method
/external/rust/crates/tokio/
DCHANGELOG.md824 - sync: `mpsc::Sender::send_timeout` sends, waiting for up to specified duration