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

Method clear

include/rabitqlib/utils/hashset.hpp:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 void clear() {
76 std::fill(table_.begin(), table_.end(), kPidMax);
77 stl_hash_.clear();
78 }
79
80 // get if data_id is in the hashset
81 [[nodiscard]] bool get(PID data_id) const {

Callers 1

initializeMethod · 0.45

Calls 3

fillFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected