Home
last modified time | relevance | path

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

/external/rust/crates/crossbeam-deque/tests/
Dsteal.rs138 assert_eq!(s.steal_batch_and_pop(&w2), Success(1)); in steal_batch_and_pop_fifo_fifo()
153 assert_eq!(s.steal_batch_and_pop(&w2), Success(3)); in steal_batch_and_pop_lifo_lifo()
168 assert_eq!(s.steal_batch_and_pop(&w2), Success(1)); in steal_batch_and_pop_fifo_lifo()
183 assert_eq!(s.steal_batch_and_pop(&w2), Success(3)); in steal_batch_and_pop_lifo_fifo()
196 assert_eq!(q.steal_batch_and_pop(&w2), Success(1)); in steal_batch_and_pop_injector_fifo()
209 assert_eq!(q.steal_batch_and_pop(&w2), Success(1)); in steal_batch_and_pop_injector_lifo()
Dfifo.rs166 if let Success(_) = s.steal_batch_and_pop(&w2) { in stress()
226 if let Success(_) = s.steal_batch_and_pop(&w2) { in no_starvation()
298 if let Success(_) = s.steal_batch_and_pop(&w2) { in destructors()
Dinjector.rs177 if let Success(_) = q.steal_batch_and_pop(&w2) { in stress()
237 if let Success(_) = q.steal_batch_and_pop(&w2) { in no_starvation()
309 if let Success(_) = q.steal_batch_and_pop(&w2) { in destructors()
Dlifo.rs166 if let Success(_) = s.steal_batch_and_pop(&w2) { in stress()
226 if let Success(_) = s.steal_batch_and_pop(&w2) { in no_starvation()
298 if let Success(_) = s.steal_batch_and_pop(&w2) { in destructors()
/external/rust/crates/crossbeam-deque/src/
Ddeque.rs861 pub fn steal_batch_and_pop(&self, dest: &Worker<T>) -> Steal<T> { in steal_batch_and_pop() method
1558 pub fn steal_batch_and_pop(&self, dest: &Worker<T>) -> Steal<T> { in steal_batch_and_pop() method