Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Root
Method · 0.85
addEntropy
Method · 0.85
Calls
3
checkInit
Function · 0.85
produceRandomSeed
Function · 0.85
addEntropy
Method · 0.80
Tested by
no test coverage detected