Home
last modified time | relevance | path

Searched refs:Ordering (Results 1 – 5 of 5) sorted by relevance

/smoltcp-0.9.1/examples/
Dloopback.rs45 use std::sync::atomic::{AtomicUsize, Ordering};
60 .fetch_add(duration.total_millis() as usize, Ordering::SeqCst); in advance()
64 Instant::from_millis(self.0.load(Ordering::SeqCst) as i64) in elapsed()
Dbenchmark.rs9 use std::sync::atomic::{AtomicBool, Ordering};
58 CLIENT_DONE.store(true, Ordering::SeqCst); in client()
111 while !CLIENT_DONE.load(Ordering::SeqCst) { in main()
Dsixlowpan_benchmark.rs60 use std::sync::atomic::{AtomicBool, Ordering};
122 CLIENT_DONE.store(true, Ordering::SeqCst); in client()
183 while !CLIENT_DONE.load(Ordering::SeqCst) { in main()
/smoltcp-0.9.1/fuzz/fuzz_targets/
Dtcp_headers.rs16 use std::sync::atomic::{AtomicUsize, Ordering};
31 .fetch_add(duration.total_millis() as usize, Ordering::SeqCst); in advance()
35 Instant::from_millis(self.0.load(Ordering::SeqCst) as i64) in elapsed()
/smoltcp-0.9.1/src/wire/
Dtcp.rs64 fn partial_cmp(&self, other: &SeqNumber) -> Option<cmp::Ordering> { in partial_cmp() argument