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

Function LoadRecords

tools/bench_client.cc:225–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225static bool LoadRecords() {
226 bool ret;
227 if (FLAGS_file.find(".vecs") != std::string::npos) {
228 ret = LoadFromVecsFile();
229 } else {
230 ret = LoadFromTextFile();
231 }
232
233 return ret;
234}
235
236static bool InitClient() {
237 if (FLAGS_protocol == "http") {

Callers 1

mainFunction · 0.85

Calls 3

findMethod · 0.80
LoadFromVecsFileFunction · 0.70
LoadFromTextFileFunction · 0.70

Tested by

no test coverage detected