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

Method len

nodedb-vector/src/ivf.rs:204–206  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

202 }
203
204 pub fn len(&self) -> usize {
205 self.count as usize
206 }
207
208 pub fn is_empty(&self) -> bool {
209 self.count == 0

Callers 9

estimate_selectivityFunction · 0.45
adaptive_searchFunction · 0.45
truncateFunction · 0.45
matryoshka_searchFunction · 0.45
trainMethod · 0.45
searchMethod · 0.45
n_cellsMethod · 0.45
kmeans_centroidsFunction · 0.45
unique_centroid_countFunction · 0.45

Calls

no outgoing calls

Tested by 1

unique_centroid_countFunction · 0.36