MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / addEntropy

Function addEntropy

source/core/StarRandom.cpp:225–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 }
224
225 void addEntropy() {
226 MutexLocker locker(g_randMutex);
227 checkInit();
228 g_randSource->addEntropy(produceRandomSeed());
229 }
230
231 void addEntropy(uint64_t seed) {
232 MutexLocker locker(g_randMutex);

Callers 2

RootMethod · 0.85
addEntropyMethod · 0.85

Calls 3

checkInitFunction · 0.85
produceRandomSeedFunction · 0.85
addEntropyMethod · 0.80

Tested by

no test coverage detected