Home
last modified time | relevance | path

Searched refs:best_found (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/rayon/src/iter/find_first_last/
Dmod.rs46 let best_found = AtomicUsize::new(usize::max_value()); in find_first() localVariable
47 let consumer = FindConsumer::new(&find_op, MatchPosition::Leftmost, &best_found); in find_first()
56 let best_found = AtomicUsize::new(0); in find_last() localVariable
57 let consumer = FindConsumer::new(&find_op, MatchPosition::Rightmost, &best_found); in find_last()
66 best_found: &'p AtomicUsize, field
70 fn new(find_op: &'p P, match_position: MatchPosition, best_found: &'p AtomicUsize) -> Self { in new()
76 best_found, in new()
113 best_found: self.best_found, in into_folder()
122 self.best_found.load(Ordering::Relaxed), in full()
155 best_found: self.best_found, in split_off_left()
[all …]
Dtest.rs81 let best_found = AtomicUsize::new(usize::max_value()); in find_first_folder_does_not_clobber_first_found() localVariable
86 best_found: &best_found, in find_first_folder_does_not_clobber_first_found()
96 let best_found = AtomicUsize::new(0); in find_last_folder_yields_last_match() localVariable
101 best_found: &best_found, in find_last_folder_yields_last_match()