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

Method SetUp

src/graph/in_memory_graph_test.cc:44–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43 protected:
44 void SetUp() override {
45 config_.set_node_graph(CONTEXT);
46 config_.set_node_feature(NODE_FEATURE);
47 config_.set_neighbor_feature(NEIGHBOR_FEATURE);
48
49 config_.set_shard_num(SHARD_NUM);
50 config_.set_shard_id(SHARD_ID);
51
52 config_.set_thread_num(THREAD_NUM);
53 }
54
55 void TestOneNameSpace() {
56 graph_ = InMemoryGraph::Create(config_);

Callers

nothing calls this directly

Calls 6

set_node_graphMethod · 0.80
set_node_featureMethod · 0.80
set_neighbor_featureMethod · 0.80
set_shard_numMethod · 0.80
set_shard_idMethod · 0.80
set_thread_numMethod · 0.45

Tested by

no test coverage detected