MCPcopy Create free account
hub / github.com/alibaba/proxima / get_vector

Method get_vector

tools/vecs_reader.h:180–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 }
179
180 const void *get_vector(size_t index) const {
181 return vector_base_ + index * index_meta_.element_size();
182 }
183
184 private:
185 ailego::MMapFile mmap_file_;

Callers 2

LoadFromVecsFileFunction · 0.80
LoadFromVecsFileFunction · 0.80

Calls 1

element_sizeMethod · 0.45

Tested by

no test coverage detected