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

Method Clear

src/io/storage/edge_vector.cc:24–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void EdgeVector::Clear() noexcept {
25 src_node_list_.clear();
26 dst_node_list_.clear();
27 weight_list_.clear();
28
29 adj_node_list_.clear();
30 adj_edge_list_.clear();
31
32 src_indexing_.Clear();
33 dst_indexing_.Clear();
34}
35
36void EdgeVector::Reserve(uint64_t estimated_size) {
37 src_node_list_.reserve(estimated_size);

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected