MCPcopy Create free account
hub / github.com/Tencent/embedx / Clear

Method Clear

src/graph/post_builder.cc:75–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void PostBuilderHelper::Clear() noexcept {
76 uniq_nodes_list_->clear();
77 uniq_freqs_list_->clear();
78 total_freqs_->clear();
79
80 node_set_.clear();
81 node_weight_maps_.clear();
82}
83
84void PostBuilderHelper::Prepare(uint16_t ns_size, uint64_t estimated_size) {
85 uniq_nodes_list_->resize(ns_size);

Callers 3

BuildContextMethod · 0.45
BuildNodeFeatureMethod · 0.45
BuildNeighborFeatureMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected