MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / count

Method count

crates/hyperqueue/src/server/autoalloc/state.rs:372–374  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

370 self.workers.insert(worker_id, details);
371 }
372 pub fn count(&self) -> u64 {
373 self.workers.len() as u64
374 }
375
376 /// Returns true if all workers that have disconnected have crashed.
377 /// A worker is considered to be failed if it has lost connection to the server very soon

Callers 8

checkFunction · 0.80
detect_cpusFunction · 0.80
sync_allocation_statusFunction · 0.80
has_space_for_submitMethod · 0.80
updateMethod · 0.80
test_many_cutsFunction · 0.80

Calls 1

lenMethod · 0.45

Tested by 2

checkFunction · 0.64
test_many_cutsFunction · 0.64