Home
last modified time | relevance | path

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

/external/rust/crates/rayon/tests/
Ddrain_vec.rs7 let yielded = vec_org.par_drain(0..5).collect::<Vec<_>>(); in drain_vec_yielded()
17 let yielded = vec_org.par_drain(0..5); in drain_vec_dropped()
27 let yielded = vec_org.par_drain(5..5).collect::<Vec<_>>(); in drain_vec_empty_range_yielded()
37 let yielded = vec_org.par_drain(5..5); in drain_vec_empty_range_dropped()
Ddebug.rs16 check(heap.par_drain()); in debug_binary_heap()
43 check(map.par_drain()); in debug_hash_map()
52 check(set.par_drain()); in debug_hash_set()
71 check(deque.par_drain(..)); in debug_vec_deque()
114 s.par_drain(..); in debug_string()
133 check(v.par_drain(..)); in debug_vec()
/external/rust/crates/rayon/src/collections/
Dmod.rs80 fn par_drain<R: RangeBounds<usize>>(self, range: R) -> Self::Iter { in par_drain() function
81 self.vec.par_drain(range) in par_drain()
Dbinary_heap.rs71 fn par_drain(self) -> Self::Iter { in par_drain() method
108 .par_drain(..) in with_producer()
Dvec_deque.rs104 fn par_drain<R: RangeBounds<usize>>(self, range: R) -> Self::Iter { in par_drain() method
146 .par_drain(self.range.clone()) in with_producer()
Dhash_set.rs68 fn par_drain(self) -> Self::Iter { in par_drain() method
Dhash_map.rs84 fn par_drain(self) -> Self::Iter { in par_drain() method
/external/rust/crates/rayon/src/
Dstring.rs14 fn par_drain<R: RangeBounds<usize>>(self, range: R) -> Self::Iter { in par_drain() method
Dvec.rs83 self.vec.par_drain(..).with_producer(callback) in with_producer()
91 fn par_drain<R: RangeBounds<usize>>(self, range: R) -> Self::Iter { in par_drain() method
/external/rust/crates/hashbrown/src/external_trait_impls/rayon/
Dmap.rs331 pub fn par_drain(&mut self) -> ParDrain<'_, K, V, A> { in par_drain() method
333 inner: self.table.par_drain(), in par_drain()
607 drop(hm.clone().par_drain()); in test_drain_drops()
628 assert_eq!(m.par_drain().count(), 0); in test_empty_iter()
Draw.rs225 pub fn par_drain(&mut self) -> RawParDrain<'_, T, A> { in par_drain() method
Dset.rs297 pub fn par_drain(&mut self) -> ParDrain<'_, T, A> { in par_drain() function
299 inner: self.map.par_drain(), in par_drain()
/external/rust/crates/indexmap/src/rayon/
Dmap.rs169 fn par_drain<R: RangeBounds<usize>>(self, range: R) -> Self::Iter { in par_drain() function
171 entries: self.core.par_drain(range), in par_drain()
Dset.rs123 fn par_drain<R: RangeBounds<usize>>(self, range: R) -> Self::Iter { in par_drain() function
125 entries: self.map.core.par_drain(range), in par_drain()
/external/rust/crates/indexmap/src/map/
Dcore.rs171 pub(crate) fn par_drain<R>(&mut self, range: R) -> rayon::vec::Drain<'_, Bucket<K, V>> in par_drain() method
180 self.entries.par_drain(range) in par_drain()
/external/rust/crates/rayon/src/iter/
Dmod.rs3300 fn par_drain(self) -> Self::Iter; in par_drain() method
3375 fn par_drain<R: RangeBounds<Idx>>(self, range: R) -> Self::Iter; in par_drain() method
/external/rust/crates/rayon/
DRELEASES.md149 - The new `par_drain` method is a parallel version of the standard `drain` for