Home
last modified time | relevance | path

Searched refs:tuple_windows (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/itertools/tests/
Dtuples.rs33 fn tuple_windows() { in tuple_windows() function
36 let mut iter = v.iter().cloned().tuple_windows(); in tuple_windows()
41 let mut iter = v.iter().cloned().tuple_windows(); in tuple_windows()
48 let mut iter = v.iter().cloned().tuple_windows(); in tuple_windows()
54 let mut iter = v.iter().cloned().tuple_windows(); in tuple_windows()
60 let mut iter = v.iter().cloned().tuple_windows::<(_, _, _, _)>(); in tuple_windows()
Dquick.rs1015 let y = a.iter().tuple_windows::<(_,)>();
1021 let y = a.iter().tuple_windows::<(_, _)>();
1027 let y = a.iter().tuple_windows::<(_, _, _)>();
1033 let y = a.iter().tuple_windows::<(_, _, _, _)>();
/external/rust/crates/itertools/src/
Dtuple_impl.rs146 pub fn tuple_windows<I, T>(mut iter: I) -> TupleWindows<I, T> in tuple_windows() function
212 let iter = tuple_windows(iter.cycle()).take(len); in circular_tuple_windows()
Dlib.rs629 fn tuple_windows<T>(self) -> TupleWindows<Self, T> in tuple_windows() method
634 tuple_impl::tuple_windows(self) in tuple_windows()
/external/rust/crates/itertools/benches/
Dtuples.rs123 for x in v.iter().tuple_windows() {
/external/rust/crates/itertools/
DCHANGELOG.md160 …- Add `.tuple_windows::<T>()` that iterates using a window of the two, three or four most recent e…