Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FuzzAnything/PromptFuzz
/ max_cpu_count
Function
max_cpu_count
src/execution/mod.rs:992–999 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
990
}
991
992
pub fn max_cpu_count() -> usize {
993
let max_cores = get_config().max_cores;
994
if max_cores == 0 {
995
num_cpus::get() - 1
996
} else {
997
max_cores
998
}
999
}
1000
1001
#[cfg(test)]
1002
mod tests {
Callers
5
exploit_transform
Method · 0.85
test_transform_lib_fuzzer
Function · 0.85
execute_pool
Method · 0.85
execute_cov_fuzzer_pool
Method · 0.85
collect_sancov_from_corpus
Method · 0.85
Calls
1
get_config
Function · 0.85
Tested by
1
test_transform_lib_fuzzer
Function · 0.68