Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosdata/cosdata
/ pop
Method
pop
src/models/sparse_ann_query.rs:342–344 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
340
}
341
342
pub fn pop(&mut self) -> Option<(u32, f32)> {
343
self.iter.get_mut().next()
344
}
345
346
pub fn peek(&self) -> Option<&(u32, f32)> {
347
unsafe { &mut *self.iter.get() }.peek()
Callers
7
find_nearest_neighbors
Method · 0.80
find_nearest_neighbors_simple_old
Method · 0.80
update_results
Function · 0.80
exhaustive_search
Function · 0.80
traverse_find_nearest
Function · 0.80
search_bm25
Method · 0.80
create_inverted_index_and_query_vector
Function · 0.80
Calls
1
next
Method · 0.45
Tested by
no test coverage detected