/dports/www/firefox/firefox-99.0/third_party/rust/tokio-0.1.14/src/runtime/threadpool/ |
H A D | builder.rs | 60 core_threads: usize, field 72 let core_threads = num_cpus::get().max(1); in new() localVariable 76 threadpool_builder.pool_size(core_threads); in new() 80 core_threads, in new() 124 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 125 self.core_threads = val; in core_threads() 313 self.threadpool_builder.pool_size(self.core_threads); in build() 319 for _ in 0..self.core_threads { in build()
|
/dports/editors/xi-term/xi-term-d264767/cargo-crates/tokio-0.1.21/src/runtime/threadpool/ |
H A D | builder.rs | 62 core_threads: usize, field 74 let core_threads = num_cpus::get().max(1); in new() localVariable 78 threadpool_builder.pool_size(core_threads); in new() 82 core_threads, in new() 157 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 158 self.core_threads = val; in core_threads() 346 self.threadpool_builder.pool_size(self.core_threads); in build() 352 for _ in 0..self.core_threads { in build()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/tokio/src/runtime/ |
H A D | builder.rs | 53 core_threads: Option<usize>, field 97 core_threads: None, in new() 147 self.core_threads = Some(val); in num_threads() 171 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 173 self.core_threads = Some(val); in core_threads() 466 let core_threads = self.core_threads.unwrap_or_else(crate::loom::sys::num_cpus); localVariable 467 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 473 let (scheduler, launch) = ThreadPool::new(core_threads, Parker::new(driver)); 511 .field("core_threads", &self.core_threads) in fmt()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/tokio/src/runtime/ |
H A D | builder.rs | 53 core_threads: Option<usize>, field 97 core_threads: None, in new() 147 self.core_threads = Some(val); in num_threads() 171 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 173 self.core_threads = Some(val); in core_threads() 466 let core_threads = self.core_threads.unwrap_or_else(crate::loom::sys::num_cpus); localVariable 467 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 473 let (scheduler, launch) = ThreadPool::new(core_threads, Parker::new(driver)); 511 .field("core_threads", &self.core_threads) in fmt()
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/tokio/src/runtime/ |
H A D | builder.rs | 53 core_threads: Option<usize>, field 97 core_threads: None, in new() 147 self.core_threads = Some(val); in num_threads() 171 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 173 self.core_threads = Some(val); in core_threads() 466 let core_threads = self.core_threads.unwrap_or_else(crate::loom::sys::num_cpus); localVariable 467 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 473 let (scheduler, launch) = ThreadPool::new(core_threads, Parker::new(driver)); 511 .field("core_threads", &self.core_threads) in fmt()
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/tokio-0.1.22/src/runtime/threadpool/ |
H A D | builder.rs | 64 core_threads: usize, field 76 let core_threads = num_cpus::get().max(1); in new() localVariable 80 threadpool_builder.pool_size(core_threads); in new() 84 core_threads, in new() 159 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 160 self.core_threads = val; in core_threads() 348 self.threadpool_builder.pool_size(self.core_threads); in build() 354 for _ in 0..self.core_threads { in build()
|
/dports/net-mgmt/nfs-exporter/freebsd-nfs-exporter-0.3.0/cargo-crates/tokio-0.1.22/src/runtime/threadpool/ |
H A D | builder.rs | 64 core_threads: usize, field 76 let core_threads = num_cpus::get().max(1); in new() localVariable 80 threadpool_builder.pool_size(core_threads); in new() 84 core_threads, in new() 159 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 160 self.core_threads = val; in core_threads() 348 self.threadpool_builder.pool_size(self.core_threads); in build() 354 for _ in 0..self.core_threads { in build()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/tokio-0.1.22/src/runtime/threadpool/ |
H A D | builder.rs | 64 core_threads: usize, field 76 let core_threads = num_cpus::get().max(1); in new() localVariable 80 threadpool_builder.pool_size(core_threads); in new() 84 core_threads, in new() 159 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 160 self.core_threads = val; in core_threads() 348 self.threadpool_builder.pool_size(self.core_threads); in build() 354 for _ in 0..self.core_threads { in build()
|
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/tokio-0.1.22/src/runtime/threadpool/ |
H A D | builder.rs | 64 core_threads: usize, field 76 let core_threads = num_cpus::get().max(1); in new() localVariable 80 threadpool_builder.pool_size(core_threads); in new() 84 core_threads, in new() 159 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 160 self.core_threads = val; in core_threads() 348 self.threadpool_builder.pool_size(self.core_threads); in build() 354 for _ in 0..self.core_threads { in build()
|
/dports/www/websocat/websocat-1.9.0/cargo-crates/tokio-0.1.22/src/runtime/threadpool/ |
H A D | builder.rs | 64 core_threads: usize, field 76 let core_threads = num_cpus::get().max(1); in new() localVariable 80 threadpool_builder.pool_size(core_threads); in new() 84 core_threads, in new() 159 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 160 self.core_threads = val; in core_threads() 348 self.threadpool_builder.pool_size(self.core_threads); in build() 354 for _ in 0..self.core_threads { in build()
|
/dports/sysutils/rsfetch/rsfetch-2.0.0/cargo-crates/tokio-0.1.22/src/runtime/threadpool/ |
H A D | builder.rs | 64 core_threads: usize, field 76 let core_threads = num_cpus::get().max(1); in new() localVariable 80 threadpool_builder.pool_size(core_threads); in new() 84 core_threads, in new() 159 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 160 self.core_threads = val; in core_threads() 348 self.threadpool_builder.pool_size(self.core_threads); in build() 354 for _ in 0..self.core_threads { in build()
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/tokio-0.1.22/src/runtime/threadpool/ |
H A D | builder.rs | 64 core_threads: usize, 76 let core_threads = num_cpus::get().max(1); 80 threadpool_builder.pool_size(core_threads); 84 core_threads, 159 pub fn core_threads(&mut self, val: usize) -> &mut Self { 160 self.core_threads = val; 348 self.threadpool_builder.pool_size(self.core_threads); 354 for _ in 0..self.core_threads {
|
/dports/devel/sccache/sccache-0.2.15/cargo-crates/tokio-0.1.22/src/runtime/threadpool/ |
H A D | builder.rs | 64 core_threads: usize, field 76 let core_threads = num_cpus::get().max(1); in new() localVariable 80 threadpool_builder.pool_size(core_threads); in new() 84 core_threads, in new() 159 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 160 self.core_threads = val; in core_threads() 348 self.threadpool_builder.pool_size(self.core_threads); in build() 354 for _ in 0..self.core_threads { in build()
|
/dports/net/gemserv/gemserv-v0.4.5/cargo-crates/tokio-0.2.24/src/runtime/ |
H A D | builder.rs | 53 core_threads: Option<usize>, field 97 core_threads: None, in new() 147 self.core_threads = Some(val); in num_threads() 171 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 173 self.core_threads = Some(val); in core_threads() 469 … let core_threads = self.core_threads.unwrap_or_else(|| cmp::min(self.max_threads, num_cpus())); localVariable 470 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 476 let (scheduler, launch) = ThreadPool::new(core_threads, Parker::new(driver)); 514 .field("core_threads", &self.core_threads) in fmt()
|
/dports/devel/sccache/sccache-0.2.15/cargo-crates/tokio-0.2.24/src/runtime/ |
H A D | builder.rs | 53 core_threads: Option<usize>, field 97 core_threads: None, in new() 147 self.core_threads = Some(val); in num_threads() 171 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 173 self.core_threads = Some(val); in core_threads() 469 … let core_threads = self.core_threads.unwrap_or_else(|| cmp::min(self.max_threads, num_cpus())); localVariable 470 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 476 let (scheduler, launch) = ThreadPool::new(core_threads, Parker::new(driver)); 514 .field("core_threads", &self.core_threads) in fmt()
|
/dports/multimedia/gstreamer1-plugins-rust/tokio-2fd1551867c145cabe4548da2e37adc3bdf457a4/tokio/src/runtime/ |
H A D | builder.rs | 55 core_threads: Option<usize>, field 103 core_threads: None, in new() 157 self.core_threads = Some(val); in num_threads() 181 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 183 self.core_threads = Some(val); in core_threads() 510 let core_threads = self.core_threads.unwrap_or_else(crate::loom::sys::num_cpus); localVariable 511 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 517 let (scheduler, workers) = ThreadPool::new(core_threads, Parker::new(driver)); 556 .field("core_threads", &self.core_threads) in fmt()
|
/dports/net-im/fractal/fractal-4.4.0/vendor/tokio/src/runtime/ |
H A D | builder.rs | 53 core_threads: Option<usize>, field 97 core_threads: None, in new() 147 self.core_threads = Some(val); in num_threads() 171 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 173 self.core_threads = Some(val); in core_threads() 469 … let core_threads = self.core_threads.unwrap_or_else(|| cmp::min(self.max_threads, num_cpus())); localVariable 470 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 476 let (scheduler, launch) = ThreadPool::new(core_threads, Parker::new(driver)); 514 .field("core_threads", &self.core_threads) in fmt()
|
/dports/www/ffsend/ffsend-ccd489ce2e75b91c0f17fbf13dbd91fe84f5ad98/cargo-crates/tokio-0.2.25/src/runtime/ |
H A D | builder.rs | 53 core_threads: Option<usize>, field 97 core_threads: None, in new() 147 self.core_threads = Some(val); in num_threads() 171 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 173 self.core_threads = Some(val); in core_threads() 469 … let core_threads = self.core_threads.unwrap_or_else(|| cmp::min(self.max_threads, num_cpus())); localVariable 470 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 476 let (scheduler, launch) = ThreadPool::new(core_threads, Parker::new(driver)); 514 .field("core_threads", &self.core_threads) in fmt()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/tokio-0.2.21/src/runtime/ |
H A D | builder.rs | 53 core_threads: Option<usize>, field 97 core_threads: None, in new() 147 self.core_threads = Some(val); in num_threads() 171 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 173 self.core_threads = Some(val); in core_threads() 469 … let core_threads = self.core_threads.unwrap_or_else(|| cmp::min(self.max_threads, num_cpus())); localVariable 470 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 476 let (scheduler, launch) = ThreadPool::new(core_threads, Parker::new(driver)); 514 .field("core_threads", &self.core_threads) in fmt()
|
/dports/security/rustscan/RustScan-2.0.1/cargo-crates/tokio-0.2.22/src/runtime/ |
H A D | builder.rs | 53 core_threads: Option<usize>, field 97 core_threads: None, in new() 147 self.core_threads = Some(val); in num_threads() 171 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 173 self.core_threads = Some(val); in core_threads() 469 … let core_threads = self.core_threads.unwrap_or_else(|| cmp::min(self.max_threads, num_cpus())); localVariable 470 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 476 let (scheduler, launch) = ThreadPool::new(core_threads, Parker::new(driver)); 514 .field("core_threads", &self.core_threads) in fmt()
|
/dports/www/firefox/firefox-99.0/third_party/rust/tokio/src/runtime/ |
H A D | builder.rs | 53 core_threads: Option<usize>, field 97 core_threads: None, in new() 147 self.core_threads = Some(val); in num_threads() 171 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 173 self.core_threads = Some(val); in core_threads() 469 … let core_threads = self.core_threads.unwrap_or_else(|| cmp::min(self.max_threads, num_cpus())); localVariable 470 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 476 let (scheduler, launch) = ThreadPool::new(core_threads, Parker::new(driver)); 514 .field("core_threads", &self.core_threads) in fmt()
|
/dports/net/proby/proby-1.0.2/cargo-crates/tokio-0.2.22/src/runtime/ |
H A D | builder.rs | 53 core_threads: Option<usize>, field 97 core_threads: None, in new() 147 self.core_threads = Some(val); in num_threads() 171 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 173 self.core_threads = Some(val); in core_threads() 469 … let core_threads = self.core_threads.unwrap_or_else(|| cmp::min(self.max_threads, num_cpus())); localVariable 470 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 476 let (scheduler, launch) = ThreadPool::new(core_threads, Parker::new(driver)); 514 .field("core_threads", &self.core_threads) in fmt()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/tokio-0.2.21/src/runtime/ |
H A D | builder.rs | 53 core_threads: Option<usize>, field 97 core_threads: None, in new() 147 self.core_threads = Some(val); in num_threads() 171 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 173 self.core_threads = Some(val); in core_threads() 469 … let core_threads = self.core_threads.unwrap_or_else(|| cmp::min(self.max_threads, num_cpus())); localVariable 470 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 476 let (scheduler, launch) = ThreadPool::new(core_threads, Parker::new(driver)); 514 .field("core_threads", &self.core_threads) in fmt()
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/tokio-0.2.25/src/runtime/ |
H A D | builder.rs | 53 core_threads: Option<usize>, field 97 core_threads: None, in new() 147 self.core_threads = Some(val); in num_threads() 171 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 173 self.core_threads = Some(val); in core_threads() 469 … let core_threads = self.core_threads.unwrap_or_else(|| cmp::min(self.max_threads, num_cpus())); localVariable 470 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 476 let (scheduler, launch) = ThreadPool::new(core_threads, Parker::new(driver)); 514 .field("core_threads", &self.core_threads) in fmt()
|
/dports/devel/desed/desed-1.2.0/cargo-crates/tokio-0.2.22/src/runtime/ |
H A D | builder.rs | 53 core_threads: Option<usize>, field 97 core_threads: None, in new() 147 self.core_threads = Some(val); in num_threads() 171 pub fn core_threads(&mut self, val: usize) -> &mut Self { in core_threads() method 173 self.core_threads = Some(val); in core_threads() 469 … let core_threads = self.core_threads.unwrap_or_else(|| cmp::min(self.max_threads, num_cpus())); localVariable 470 … assert!(core_threads <= self.max_threads, "Core threads number cannot be above max limit"); 476 let (scheduler, launch) = ThreadPool::new(core_threads, Parker::new(driver)); 514 .field("core_threads", &self.core_threads) in fmt()
|