Home
last modified time | relevance | path

Searched refs:tuple_combinations (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/itertools/benches/
Dtuple_combinations.rs65 for (i,) in (0..N1).tuple_combinations() { in tuple_comb_c1()
75 for (i, j) in (0..N2).tuple_combinations() { in tuple_comb_c2()
85 for (i, j, k) in (0..N3).tuple_combinations() { in tuple_comb_c3()
95 for (i, j, k, l) in (0..N4).tuple_combinations() { in tuple_comb_c4()
/external/rust/crates/itertools/
DCargo.toml.orig49 name = "tuple_combinations"
DCargo.toml35 name = "tuple_combinations"
DCHANGELOG.md168 - `combinations` is now `tuple_combinations`
204 - `tuple_combinations` supports 1-4 tuples of combinations (previously just 2)
/external/rust/crates/itertools/examples/
Diris.rs100 for (a, b) in (0..4).tuple_combinations() { in main()
/external/rust/crates/itertools/tests/
Dtest_std.rs809 it::assert_equal((0..0).tuple_combinations::<(_, _)>(), <Vec<_>>::new()); in combinations()
810 it::assert_equal((0..1).tuple_combinations::<(_, _)>(), <Vec<_>>::new()); in combinations()
811 it::assert_equal((0..2).tuple_combinations::<(_, _)>(), vec![(0, 1)]); in combinations()
Dquick.rs666 itertools::equal(a.iter().tuple_combinations::<(_, _)>(), v)
878 correct_size_hint(it.tuple_combinations::<(_, _)>())
885 let mut cmb = it.tuple_combinations();
/external/rust/crates/itertools/src/
Dlib.rs1301 fn tuple_combinations<T>(self) -> TupleCombinations<Self, T> in tuple_combinations() method
1306 adaptors::tuple_combinations(self) in tuple_combinations()
/external/rust/crates/itertools/src/adaptors/
Dmod.rs693 pub fn tuple_combinations<T, I>(iter: I) -> TupleCombinations<I, T> in tuple_combinations() function