MCPcopy Index your code
hub / github.com/nodejs/node / createRandomSeed

Function createRandomSeed

lib/internal/test_runner/utils.js:149–151  ·  view source on GitHub ↗

* Create a random uint32 seed. * @returns {number}

()

Source from the content-addressed store, hash-verified

147 * @returns {number}
148 */
149function createRandomSeed() {
150 return MathFloor(MathRandom() * (kMaxRandomSeed + 1));
151}
152
153/**
154 * Create a Mulberry32 pseudo-random number generator from a uint32 seed.

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…