Searched refs:divide_and_conquer (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/rayon-core/src/scope/ |
D | test.rs | 42 scope(|s| s.spawn(move |s| divide_and_conquer(s, counter_p, 1024))); in scope_divide_and_conquer() 52 fn divide_and_conquer<'scope>(scope: &Scope<'scope>, counter: &'scope AtomicUsize, size: usize) { in divide_and_conquer() function 54 scope.spawn(move |scope| divide_and_conquer(scope, counter, size / 2)); in divide_and_conquer() 55 scope.spawn(move |scope| divide_and_conquer(scope, counter, size / 2)); in divide_and_conquer()
|
/external/rust/crates/rayon/src/iter/ |
D | test.rs | 1611 divide_and_conquer(s, counter_p, 1024); in scope_mix() 1622 fn divide_and_conquer<'scope>(scope: &Scope<'scope>, counter: &'scope AtomicUsize, size: usize) { in divide_and_conquer() function 1624 scope.spawn(move |scope| divide_and_conquer(scope, counter, size / 2)); in divide_and_conquer() 1625 scope.spawn(move |scope| divide_and_conquer(scope, counter, size / 2)); in divide_and_conquer()
|