Home
last modified time | relevance | path

Searched refs:map_with (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/rayon/src/compile_fail/
Dmust_use.rs54 map_with /** v.par_iter().map_with(0, |_, x| x); */
/external/rust/crates/rayon/tests/
Dproducer_split_at.rs303 fn map_with() { in map_with() function
305 check(&v, || v.par_iter().map_with(vec![0], |_, &x| x)); in map_with()
Dclones.rs134 check(v.par_iter().map_with(0, |_, x| x)); in clone_adaptors()
Ddebug.rs157 check(v.par_iter().map_with(0, |_, x| x)); in debug_adaptors()
/external/rust/crates/rayon/src/iter/
Dmod.rs130 mod map_with; module
174 map_with::{MapInit, MapWith},
400 self.map_with(init, op).collect() in for_each_with()
506 self.map_with(init, op).try_reduce(<()>::default, ok) in try_for_each_with()
621 fn map_with<F, T, R>(self, init: T, map_op: F) -> MapWith<Self, T, F> in map_with() method
Dtest.rs1688 .map_with(sender, |s, i| s.send(i).unwrap()) in check_map_with()
/external/rust/crates/rayon/
DRELEASES.md207 function for a value to pair with items, like `map_with()` but dynamically
421 `map_with`.
439 - Added the `map_with` and `fold_with` combinators, which help for