/external/rust/crates/rayon-core/src/thread_pool/ |
D | test.rs | 9 use crate::{join, Scope, ScopeFifo, ThreadPool, ThreadPoolBuilder}; 14 let thread_pool = ThreadPoolBuilder::new().build().unwrap(); in panic_propagate() 26 let thread_pool = ThreadPoolBuilder::new().num_threads(22).build().unwrap(); in workers_stop() 55 let thread_pool = ThreadPoolBuilder::new().num_threads(22).build().unwrap(); in sleeper_stop() 103 let builder = ThreadPoolBuilder::new() in failed_thread_stack() 123 let builder = ThreadPoolBuilder::new() in panic_thread_name() 145 let pool = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in self_install() 153 let pool1 = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in mutual_install() 154 let pool2 = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in mutual_install() 174 let pool1 = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in mutual_install_sleepy() [all …]
|
D | mod.rs | 13 use crate::{ThreadPoolBuildError, ThreadPoolBuilder}; 64 builder: ThreadPoolBuilder<S>, in build()
|
/external/rust/crates/rayon-core/src/ |
D | test.rs | 5 use crate::{ThreadPoolBuildError, ThreadPoolBuilder}; 11 let pool = ThreadPoolBuilder::new().num_threads(22).build().unwrap(); in worker_thread_index() 32 let conf = ThreadPoolBuilder::new() in start_callback_called() 58 let conf = ThreadPoolBuilder::new() in exit_callback_called() 100 let conf = ThreadPoolBuilder::new() in handler_panics_handled_correctly() 126 let pool = ThreadPoolBuilder::new().num_threads(22).build().unwrap(); in check_config_build() 161 ThreadPoolBuilder::default().build().unwrap(); in default_pool() 171 let pool = ThreadPoolBuilder::new() in cleared_current_thread()
|
D | lib.rs | 118 pub struct ThreadPoolBuilder<S = DefaultSpawn> { struct 154 builder: ThreadPoolBuilder, 172 impl Default for ThreadPoolBuilder { implementation 174 ThreadPoolBuilder { in default() 187 impl ThreadPoolBuilder { impl 196 impl<S> ThreadPoolBuilder<S> impl 229 impl ThreadPoolBuilder { impl 297 impl<S> ThreadPoolBuilder<S> { impl 352 pub fn spawn_handler<F>(self, spawn: F) -> ThreadPoolBuilder<CustomSpawn<F>> in spawn_handler() 356 ThreadPoolBuilder { in spawn_handler() [all …]
|
D | registry.rs | 9 ErrorKind, ExitHandler, PanicHandler, StartHandler, ThreadPoolBuildError, ThreadPoolBuilder, 169 set_global_registry(|| Registry::new(ThreadPoolBuilder::new())) in global_registry() 177 builder: ThreadPoolBuilder<S>, in init_global_registry() 216 mut builder: ThreadPoolBuilder<S>, in new()
|
/external/rust/crates/rayon-core/tests/ |
D | double_init_fail.rs | 1 use rayon_core::ThreadPoolBuilder; 6 let result1 = ThreadPoolBuilder::new().build_global(); in double_init_fail() 8 let err = ThreadPoolBuilder::new().build_global().unwrap_err(); in double_init_fail()
|
D | scoped_threadpool.rs | 2 use rayon_core::ThreadPoolBuilder; 12 let pool = ThreadPoolBuilder::new() in missing_scoped_tls() 28 let pool = ThreadPoolBuilder::new() in spawn_scoped_tls_threadpool() 69 ThreadPoolBuilder::new() in build_scoped_tls_threadpool()
|
D | init_zero_threads.rs | 1 use rayon_core::ThreadPoolBuilder; 5 ThreadPoolBuilder::new() in init_zero_threads()
|
D | stack_overflow_crash.rs | 1 use rayon_core::ThreadPoolBuilder; 72 let pool = ThreadPoolBuilder::new() in main()
|
/external/rust/crates/rayon-core/src/spawn/ |
D | test.rs | 7 use crate::ThreadPoolBuilder; 43 let builder = ThreadPoolBuilder::new().panic_handler(panic_handler); in panic_fwd() 64 let thread_pool = ThreadPoolBuilder::new().build().unwrap(); in termination_while_things_are_executing() 95 let builder = ThreadPoolBuilder::new().panic_handler(panic_handler); in custom_panic_handler_and_spawn() 123 let builder = ThreadPoolBuilder::new().panic_handler(panic_handler); in custom_panic_handler_and_nested_spawn() 147 let builder = ThreadPoolBuilder::new().num_threads(1); 215 let builder = ThreadPoolBuilder::new().num_threads(1);
|
/external/rust/crates/rayon/tests/ |
D | cross-pool.rs | 2 use rayon::ThreadPoolBuilder; 6 let pool1 = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in cross_pool_busy() 7 let pool2 = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in cross_pool_busy()
|
D | iter_panic.rs | 2 use rayon::ThreadPoolBuilder; 26 let pool = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in iter_panic_fuse()
|
D | named-threads.rs | 8 ThreadPoolBuilder::new() in named_threads()
|
D | octillion.rs | 64 let builder = rayon::ThreadPoolBuilder::new().num_threads(2); in two_threads()
|
/external/rust/crates/futures-executor/src/ |
D | thread_pool.rs | 37 pub struct ThreadPoolBuilder { struct 63 impl fmt::Debug for ThreadPoolBuilder { implementation 84 ThreadPoolBuilder::new().create() in new() 92 pub fn builder() -> ThreadPoolBuilder { in builder() 93 ThreadPoolBuilder::new() in builder() 187 impl ThreadPoolBuilder { implementation 294 impl Default for ThreadPoolBuilder { implementation 373 let _cpu_pool = ThreadPoolBuilder::new() in test_drop_after_start()
|
D | lib.rs | 64 pub use crate::thread_pool::{ThreadPool, ThreadPoolBuilder};
|
/external/rust/crates/rayon-core/src/join/ |
D | test.rs | 5 use crate::ThreadPoolBuilder; 54 let pool = ThreadPoolBuilder::new().build().unwrap(); in sort_in_pool() 99 let pool = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in join_context_neither() 112 let pool = ThreadPoolBuilder::new().num_threads(2).build().unwrap(); in join_context_second() 135 let pool = ThreadPoolBuilder::new().num_threads(2).build().unwrap(); in join_counter_overflow()
|
/external/rust/crates/syn/tests/common/ |
D | mod.rs | 3 use rayon::ThreadPoolBuilder; 23 ThreadPoolBuilder::new() in rayon_init()
|
/external/rust/crates/rayon-core/src/scope/ |
D | test.rs | 2 use crate::ThreadPoolBuilder; 152 let builder = ThreadPoolBuilder::new().num_threads(1); in linear_stack_growth() 273 let builder = ThreadPoolBuilder::new().num_threads(1); 313 let builder = ThreadPoolBuilder::new().num_threads(1); 384 let builder = ThreadPoolBuilder::new().num_threads(1);
|
/external/rust/crates/rayon/src/ |
D | lib.rs | 115 pub use rayon_core::ThreadPoolBuilder;
|
D | range_inclusive.rs | 279 use crate::ThreadPoolBuilder; in test_usize_i64_overflow() 286 let pool = ThreadPoolBuilder::new().num_threads(8).build().unwrap(); in test_usize_i64_overflow()
|
D | range.rs | 359 use crate::ThreadPoolBuilder; in test_usize_i64_overflow() 366 let pool = ThreadPoolBuilder::new().num_threads(8).build().unwrap(); in test_usize_i64_overflow()
|
/external/rust/crates/rayon/ |
D | RELEASES.md | 165 - `ThreadPoolBuilder` can now take a custom `spawn_handler` to control how 167 - `ThreadPoolBuilder::build_scoped()` uses this to create a scoped thread 283 - The new `ThreadPoolBuilder` replaces and deprecates `Configuration`. 286 - `ThreadPool::new` is deprecated in favor of `ThreadPoolBuilder::build`. 287 - `initialize` is deprecated in favor of `ThreadPoolBuilder::build_global`.
|
D | FAQ.md | 15 [`ThreadPoolBuilder::build_global` function](https://docs.rs/rayon/*/rayon/struct.ThreadPoolBuilder…
|
/external/rust/crates/rayon/src/iter/ |
D | test.rs | 476 let pool = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in check_cmp_short_circuit() 505 let pool = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in check_partial_cmp_short_circuit() 534 let pool = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in check_partial_cmp_nan_short_circuit() 2104 let pool = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); in check_repeat_unbounded()
|