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.rs1016 let y = a.iter().tuple_windows::<(_,)>();
1022 let y = a.iter().tuple_windows::<(_, _)>();
1028 let y = a.iter().tuple_windows::<(_, _, _)>();
1034 let y = a.iter().tuple_windows::<(_, _, _, _)>();
1682 is_fused(a.fuse().tuple_windows::<(_,_)>())
/external/rust/crates/itertools/src/
Dtuple_impl.rs147 pub fn tuple_windows<I, T>(mut iter: I) -> TupleWindows<I, T> in tuple_windows() function
219 let iter = tuple_windows(iter.cycle()).take(len); in circular_tuple_windows()
Dlib.rs699 fn tuple_windows<T>(self) -> TupleWindows<Self, T> in tuple_windows() method
704 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.md221 …- Add `.tuple_windows::<T>()` that iterates using a window of the two, three or four most recent e…