MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / len

Method len

nodedb/src/control/planner/procedural/executor/plan_cache.rs:99–105  ·  view source on GitHub ↗

Number of cached entries.

(&self)

Source from the content-addressed store, hash-verified

97
98 /// Number of cached entries.
99 pub fn len(&self) -> usize {
100 self.inner
101 .lock()
102 .unwrap_or_else(|p| p.into_inner())
103 .entries
104 .len()
105 }
106
107 /// Whether the cache is empty.
108 pub fn is_empty(&self) -> bool {

Callers 15

releaseMethod · 0.45
validate_signatureFunction · 0.45
store_wasm_binaryFunction · 0.45
cached_module_countMethod · 0.45
compile_forFunction · 0.45
replace_identifierFunction · 0.45
tokenizeFunction · 0.45
read_string_literalFunction · 0.45
peek_two_word_keywordFunction · 0.45
parse_exception_handlersFunction · 0.45
parse_exception_bodyFunction · 0.45
expect_tokenFunction · 0.45

Calls 1

lockMethod · 0.80

Tested by

no test coverage detected