MCPcopy Create free account
hub / github.com/RenderKit/oidn / discard

Method discard

external/catch.hpp:12235–12241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12233 }
12234
12235 void SimplePcg32::discard(uint64_t skip) {
12236 // We could implement this to run in O(log n) steps, but this
12237 // should suffice for our use case.
12238 for (uint64_t s = 0; s < skip; ++s) {
12239 static_cast<void>((*this)());
12240 }
12241 }
12242
12243 SimplePcg32::result_type SimplePcg32::operator()() {
12244 // prepare the output value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected