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

Method count

nodedb/src/engine/kv/sorted_index/tree.rs:63–65  ·  view source on GitHub ↗

Total number of entries in the tree.

(&self)

Source from the content-addressed store, hash-verified

61
62 /// Total number of entries in the tree.
63 pub fn count(&self) -> u32 {
64 self.nodes[self.root as usize].count
65 }
66
67 /// Insert a new entry. If the primary key already exists, updates its sort key.
68 ///

Callers 15

sorted_index_countMethod · 0.45
hll_estimateMethod · 0.45
count_doc_versionsFunction · 0.45
live_cell_countMethod · 0.45
count_presentMethod · 0.45
count_edgesFunction · 0.45
looks_epoch_likeFunction · 0.45
scan_block_level_skipFunction · 0.45
active_countMethod · 0.45

Calls

no outgoing calls