MCPcopy Create free account
hub / github.com/VectorDB-NTU/RaBitQ-Library / clear

Method clear

include/rabitqlib/utils/buffer.hpp:69–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 void clear() {
70 size_ = 0;
71 cur_ = 0;
72 }
73
74 // return candidate id for next pop()
75 [[nodiscard]] auto next_id() const { return data_[cur_].id; }

Callers 5

get_free_vislistMethod · 0.45
add_pruned_edgesMethod · 0.45
heuristic_pruneMethod · 0.45
search_new_neighborsMethod · 0.45
iterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected