MCPcopy 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

update_resultsFunction · 0.80
exhaustive_searchFunction · 0.80
traverse_find_nearestFunction · 0.80
search_bm25Method · 0.80

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected