Home
last modified time | relevance | path

Searched refs:dedup_by (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/itertools/src/adaptors/
Dcoalesce.rs155 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/
Dtest_std.rs139 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()
Dquick.rs791 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/
Darrayvec.rs1002 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()
Dtinyvec.rs504 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/
Dlib.rs1154 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/
DCHANGELOG.md67 …- Added [`.dedup_by()`](https://docs.rs/itertools/0.8.1/itertools/trait.Itertools.html#method.dedu…
/external/rust/crates/itertools/src/
Dlib.rs1100 fn dedup_by<Cmp>(self, cmp: Cmp) -> DedupBy<Self, Cmp> in dedup_by() method
1104 adaptors::dedup_by(self, cmp) in dedup_by()