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

Method len

nodedb/src/engine/random/alias.rs:142–144  ·  view source on GitHub ↗

Number of items in the distribution.

(&self)

Source from the content-addressed store, hash-verified

140
141 /// Number of items in the distribution.
142 pub fn len(&self) -> usize {
143 self.n
144 }
145
146 /// Whether the table is empty.
147 pub fn is_empty(&self) -> bool {

Callers 15

newMethod · 0.45
dim_countMethod · 0.45
total_postingsMethod · 0.45
from_checkpointMethod · 0.45
dot_product_topkFunction · 0.45
dlq_lenMethod · 0.45
doc_id_to_surrogateFunction · 0.45
base64_encodeFunction · 0.45
openMethod · 0.45
replace_segmentsMethod · 0.45
entry_countMethod · 0.45

Calls

no outgoing calls