Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
initialize
Method · 0.45
Calls
3
fill
Function · 0.85
begin
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected