MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / clone

Method clone

programs/keeper-bench/Runner.cpp:1617–1629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1615}
1616
1617std::shared_ptr<BenchmarkContext::Node> BenchmarkContext::Node::clone() const
1618{
1619 auto new_node = std::make_shared<Node>();
1620 new_node->name = name;
1621 new_node->data = data;
1622 new_node->tag = tag;
1623 new_node->repeat_count = repeat_count;
1624
1625 // don't do deep copy of children because we will do clone only for root nodes
1626 new_node->children = children;
1627
1628 return new_node;
1629}
1630
1631void BenchmarkContext::Node::createNodes(
1632 Coordination::ZooKeeper & zookeeper,

Callers 2

processWithASTFuzzerMethod · 0.45
initializeFromConfigMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected