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

Method setSeed

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

Source from the content-addressed store, hash-verified

133}
134
135void StringGetter::setSeed(uint64_t seed)
136{
137 rng.seed(seed);
138 if (auto * number_getter = std::get_if<NumberGetter>(&value))
139 number_getter->setSeed(seed + 1000003);
140}
141
142PathGetter PathGetter::fromConfig(const std::string & key, const Poco::Util::AbstractConfiguration & config)
143{

Callers 3

processOptionsMethod · 0.45
setSeedImplMethod · 0.45
startupMethod · 0.45

Calls 2

seedMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected