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

Method setSeedImpl

programs/keeper-bench/Generator.cpp:475–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473}
474
475void CreateRequestGenerator::setSeedImpl(uint64_t seed)
476{
477 rng.seed(seed);
478 parent_path.setSeed(seed + 100003);
479 name.setSeed(seed + 200003);
480 if (data)
481 data->setSeed(seed + 300007);
482}
483
484ZooKeeperRequestWithCallbacks CreateRequestGenerator::generateImpl(const Coordination::ACLs & acls)
485{

Callers

nothing calls this directly

Calls 2

seedMethod · 0.45
setSeedMethod · 0.45

Tested by

no test coverage detected