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

Method entity

src/core/algorithm/flat_sparse/flat_sparse_context.cc:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18namespace core {
19
20const FlatSparseEntity *FlatSparseContext::entity() const {
21 if (context_type_ == kStreamerContext) {
22 return &streamer_owner_->entity();
23 } else if (context_type_ == kSearcherContext) {
24 return &searcher_owner_->entity();
25 }
26 return nullptr;
27}
28
29} // namespace core
30} // namespace zvec

Callers 9

search_bf_implMethod · 0.80
search_implMethod · 0.80
search_bf_implMethod · 0.80
search_implMethod · 0.80
write_column_indexMethod · 0.80
write_row_indexMethod · 0.80
topk_to_resultMethod · 0.80
FlatStreamerProviderMethod · 0.80
create_iteratorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected