MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / Reseed

Function Reseed

tests/gtest/gtest.h:7274–7274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7272 explicit Random(UInt32 seed) : state_(seed) {}
7273
7274 void Reseed(UInt32 seed) { state_ = seed; }
7275
7276 // Generates a random number from [0, range). Crashes if 'range' is
7277 // 0 or greater than kMaxRange.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected