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

Method init

src/core/algorithm/flat_sparse/flat_sparse_streamer.cc:36–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36int FlatSparseStreamer::init(const IndexMeta &imeta,
37 const ailego::Params &params) {
38 LOG_DEBUG("FlatSparseStreamer init");
39
40 meta_ = imeta;
41 meta_.set_streamer("FlatSparseStreamer", VERSION, params);
42
43 state_ = STATE_INITED;
44
45 return 0;
46}
47
48int FlatSparseStreamer::cleanup() {
49 LOG_DEBUG("FlatSparseStreamer cleanup");

Callers

nothing calls this directly

Calls 1

set_streamerMethod · 0.80

Tested by

no test coverage detected