Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VectorDB-NTU/RaBitQ-Library
/ top_dist
Method
top_dist
include/rabitqlib/utils/buffer.hpp:99–101 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
97
}
98
99
T top_dist() const {
100
return is_full() ? data_[size_ - 1].distance : std::numeric_limits<T>::max();
101
}
102
103
[[nodiscard]] auto is_full() const -> bool { return size_ == capacity_; }
104
Callers
1
scan_one_batch
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected