Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VectorDB-NTU/RaBitQ-Library
/ copy_results
Method
copy_results
include/rabitqlib/utils/buffer.hpp:86–90 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
84
}
85
86
void copy_results(PID* knn) const {
87
for (size_t i = 0; i < size_; ++i) {
88
knn[i] = data_[i].id;
89
}
90
}
91
92
void copy_results(PID* knn, T* dist) const {
93
for (size_t i = 0; i < size_; ++i) {
Callers
2
search
Method · 0.80
search
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected