MCPcopy Create free account
hub / github.com/apache/trafficserver / seed

Method seed

lib/catch2/catch.hpp:12239–12244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12237 }
12238
12239 void SimplePcg32::seed(result_type seed_) {
12240 m_state = 0;
12241 (*this)();
12242 m_state += seed_;
12243 (*this)();
12244 }
12245
12246 void SimplePcg32::discard(uint64_t skip) {
12247 // We could implement this to run in O(log n) steps, but this

Callers 1

seedRngFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected