Home
last modified time | relevance | path

Searched refs:collect_vec (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/itertools/tests/
Dtest_std.rs24 let v = prod.collect_vec(); in product3()
43 assert_eq!(it.collect_vec(), vec![0, 1, 2, 3, 4, 5]); in interleave_shortest()
49 assert_eq!(it.collect_vec(), vec![0, 1, 2, 3, 4, 5, 6]); in interleave_shortest()
638 let mut subs = groups.into_iter().collect_vec(); in group_by()
654 let mut subs = groups.into_iter().map(|(_, g)| g).collect_vec(); in group_by()
697 let gs = groups.into_iter().collect_vec(); in group_by_lazy_2()
702 let mut gs = groups.into_iter().collect_vec(); in group_by_lazy_2()
Dquick.rs751 let actual = (0..n).permutations(k).collect_vec();
884 let values = it.clone().collect_vec();
956 let groups = grouper.into_iter().collect_vec();
1561 .collect_vec();
1574 .collect_vec();
/external/rust/crates/itertools/benches/
Dbench1.rs819 let v = (0..PERM_COUNT).collect_vec(); in permutations_slice()
/external/rust/crates/itertools/src/
Dlib.rs1740 fn collect_vec(self) -> Vec<Self::Item> in collect_vec() method