MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / count

Method count

compiler/src/modules/vm/cache.rs:263–265  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

261 }
262
263 pub fn count(&self) -> usize {
264 self.slots.iter().flat_map(|v| v.iter()).filter(|e| e.hits >= TPL_THRESH).count()
265 }
266
267 pub fn mark_all(&self, heap: &mut super::types::HeapPool) {
268 for slot in &self.slots {

Callers 15

finalize_prev_slotsMethod · 0.80
line_colMethod · 0.80
compact_with_jump_remapFunction · 0.80
cache_statsMethod · 0.80
pad_stringFunction · 0.80
pad_alignedFunction · 0.80
bind_function_argsMethod · 0.80
find_implFunction · 0.80
countFunction · 0.80
justifyFunction · 0.80
centerFunction · 0.80
zfillFunction · 0.80

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected