Searched refs:dedup_by (Results 1 – 8 of 8) sorted by relevance
/external/rust/crates/itertools/src/adaptors/ |
D | coalesce.rs | 155 pub fn dedup_by<I, Pred>(mut iter: I, dedup_pred: Pred) -> DedupBy<I, Pred> in dedup_by() function 176 dedup_by(iter, DedupEq) in dedup()
|
/external/rust/crates/itertools/tests/ |
D | test_std.rs | 139 fn dedup_by() { in dedup_by() function 142 it::assert_equal(ys.iter(), xs.iter().dedup_by(|x, y| x.1==y.1)); in dedup_by() 145 it::assert_equal(ys.iter(), xs.iter().dedup_by(|x, y| x.0==y.0)); in dedup_by() 150 xs.iter().dedup_by(|x, y| x.1==y.1).fold((), |(), &elt| xs_d.push(elt)); in dedup_by()
|
D | quick.rs | 791 b.dedup_by(|x, y| x.0==y.0); 792 itertools::equal(&b, a.iter().dedup_by(|x, y| x.0==y.0)) 804 correct_size_hint(a.iter().dedup_by(|x, y| x.0==y.0))
|
/external/rust/crates/tinyvec/src/ |
D | arrayvec.rs | 1002 self.dedup_by(|a, b| a == b) in dedup() 1007 pub fn dedup_by<F>(&mut self, same_bucket: F) in dedup_by() method 1025 self.dedup_by(|a, b| key(a) == key(b)) in dedup_by_key()
|
D | tinyvec.rs | 504 self.dedup_by(|a, b| a == b) in dedup() 510 pub fn dedup_by<F>(&mut self, same_bucket: F) in dedup_by() method 529 self.dedup_by(|a, b| key(a) == key(b)) in dedup_by_key()
|
/external/rust/crates/smallvec/src/ |
D | lib.rs | 1154 self.dedup_by(|a, b| a == b); in dedup() 1158 pub fn dedup_by<F>(&mut self, mut same_bucket: F) in dedup_by() method 1195 self.dedup_by(|a, b| key(a) == key(b)); in dedup_by_key()
|
/external/rust/crates/itertools/ |
D | CHANGELOG.md | 67 …- Added [`.dedup_by()`](https://docs.rs/itertools/0.8.1/itertools/trait.Itertools.html#method.dedu…
|
/external/rust/crates/itertools/src/ |
D | lib.rs | 1100 fn dedup_by<Cmp>(self, cmp: Cmp) -> DedupBy<Self, Cmp> in dedup_by() method 1104 adaptors::dedup_by(self, cmp) in dedup_by()
|