Searched refs:two_threads (Results 1 – 2 of 2) sorted by relevance
60 fn two_threads<F: Send + FnOnce() -> R, R: Send>(f: F) -> R { in two_threads() function76 let x = two_threads(|| octillion().find_last(|_| true)); in find_last_octillion()83 let x = two_threads(|| octillion_inclusive().find_last(|_| true)); in find_last_octillion_inclusive()90 let x = two_threads(|| octillion_flat().find_last(|_| true)); in find_last_octillion_flat()96 let x = two_threads(|| octillion().find_any(|x| *x > OCTILLION / 2)); in find_any_octillion()102 let x = two_threads(|| octillion_flat().find_any(|x| *x > OCTILLION / 2)); in find_any_octillion_flat()108 let x = two_threads(|| { in filter_find_any_octillion()118 let x = two_threads(|| { in filter_find_any_octillion_flat()128 let x = two_threads(|| octillion_flat().fold(|| (), |_, _| ()).find_any(|_| true)); in fold_find_any_octillion_flat()
45 fn two_threads() { in two_threads() function