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
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()
Dmod.rs189 repeat::{repeat, repeatn, Repeat, RepeatN},
/external/rust/crates/rayon/tests/
Dproducer_split_at.rs148 fn repeatn() { in repeatn() function
150 check(&v, || rayon::iter::repeatn(1, 5)); in repeatn()
Dclones.rs193 check(rayon::iter::repeatn(x, 1000)); in clone_repeat()
Ddebug.rs202 check(rayon::iter::repeatn(x, 10)); in debug_repeat()
/external/rust/crates/itertools/tests/
Dtest_core.rs216 fn repeatn() { in repeatn() function
/external/rust/crates/itertools/src/
Dlib.rs146 pub use crate::repeatn::RepeatN;
178 pub use crate::repeatn::repeat_n;
233 mod repeatn; module
/external/rust/crates/bstr/src/
Dext_slice.rs621 fn repeatn(&self, n: usize) -> Vec<u8> { in repeatn() method
/external/rust/crates/rayon/
DRELEASES.md464 - The new functions `iter::repeat` and `repeatn` create parallel iterators