MCPcopy Create free account
hub / github.com/alibaba/zvec / init

Method init

tests/core/algorithm/flat/flat_streamer_test.cc:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56class FlatQueryCopyTestMetric : public IndexMetric {
57 public:
58 int init(const IndexMeta &meta, const Params &params) override {
59 metric_ = IndexFactory::CreateMetric("SquaredEuclidean");
60 return metric_->init(meta, params);
61 }
62 int cleanup() override {
63 return metric_->cleanup();
64 }

Callers 15

BuildIndexFunction · 0.45
LoadIndexFunction · 0.45
TESTFunction · 0.45
build_processFunction · 0.45
TEST_FFunction · 0.45
BuildIndexFunction · 0.45
BuildQuantizedIndexFunction · 0.45
LoadQuantizedIndexFunction · 0.45
LoadIndexFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
SetUpMethod · 0.45

Calls 1

CreateMetricFunction · 0.50

Tested by

no test coverage detected