MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / init

Method init

hail-fuzz/src/queue.rs:543–546  ·  view source on GitHub ↗
(workers: usize)

Source from the content-addressed store, hash-verified

541
542impl<D> GlobalQueue<D> {
543 pub fn init(workers: usize) -> Self {
544 let new = (0..workers).map(|_| Default::default()).collect();
545 Self { new }
546 }
547
548 pub fn add_new(&self, from_id: usize, input: D) -> u64 {
549 let id = GLOBAL_ID.fetch_add(1, std::sync::atomic::Ordering::AcqRel);

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected