Home
last modified time | relevance | path

Searched refs:repeatn (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/rayon/src/iter/
Drepeat.rs40 repeatn(self.element, n) in take()
119 pub fn repeatn<T: Clone + Send>(elt: T, n: usize) -> RepeatN<T> { in repeatn() function
Dmod.rs180 repeat::{repeat, repeatn, Repeat, RepeatN},
Dtest.rs2135 let mut fours: Vec<_> = repeatn(4, usize::MAX).zip(v).collect(); in check_repeatn_zip_left()
2145 let mut fours: Vec<_> = v.into_par_iter().zip(repeatn(4, usize::MAX)).collect(); in check_repeatn_zip_right()
/external/rust/crates/rayon/tests/
Dproducer_split_at.rs142 fn repeatn() { in repeatn() function
144 check(&v, || rayon::iter::repeatn(1, 5)); in repeatn()
Dclones.rs163 check(rayon::iter::repeatn(x, 1000)); in clone_repeat()
Ddebug.rs186 check(rayon::iter::repeatn(x, 10)); in debug_repeat()
/external/rust/crates/itertools/tests/
Dtest_core.rs179 fn repeatn() { in repeatn() function
/external/rust/crates/itertools/src/
Dlib.rs144 pub use crate::repeatn::RepeatN;
174 pub use crate::repeatn::repeat_n;
225 mod repeatn; module
/external/rust/crates/bstr/src/
Dext_slice.rs590 fn repeatn(&self, n: usize) -> Vec<u8> { in repeatn() method
/external/rust/crates/rayon/
DRELEASES.md334 - The new functions `iter::repeat` and `repeatn` create parallel iterators