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

Method close

src/core/algorithm/flat_sparse/flat_sparse_streamer_entity.cc:283–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283int FlatSparseStreamerEntity::close() {
284 storage_.reset();
285 sparse_data_chunks_.clear();
286 sparse_offset_chunks_.clear();
287
288 keys_map_lock_.reset();
289 keys_map_.reset();
290
291 return 0;
292}
293
294int FlatSparseStreamerEntity::flush(uint64_t checkpoint) {
295 // flush meta

Callers

nothing calls this directly

Calls 2

resetMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected