Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_selectivity
Function · 0.45
adaptive_search
Function · 0.45
truncate
Function · 0.45
matryoshka_search
Function · 0.45
train
Method · 0.45
search
Method · 0.45
n_cells
Method · 0.45
kmeans_centroids
Function · 0.45
unique_centroid_count
Function · 0.45
Calls
no outgoing calls
Tested by
1
unique_centroid_count
Function · 0.36