Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ get
Method
get
nodedb-vector/src/rerank/sidecar.rs:44–46 ·
view source on GitHub ↗
(&self, id: u32)
Source
from the content-addressed store, hash-verified
42
}
43
44
pub fn get(&self, id: u32) -> Option<&[u8]> {
45
self.encoded.get(&id).map(|v| v.as_slice())
46
}
47
48
pub fn len(&self) -> usize {
49
self.encoded.len()
Callers
11
fetch_fp32
Method · 0.45
fetch_fp32
Method · 0.45
rerank
Function · 0.45
fetch
Function · 0.45
distance_prepared
Method · 0.45
distance_prepared
Method · 0.45
search_layer
Function · 0.45
is_deleted
Method · 0.45
get_vector
Method · 0.45
get_vector_bytes
Method · 0.45
get_vector_or_backing
Method · 0.45
Calls
1
as_slice
Method · 0.45
Tested by
no test coverage detected