Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ addEntropy
Method
addEntropy
source/core/StarRandom.cpp:40–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
}
39
40
void RandomSource::addEntropy() {
41
addEntropy(Random::randu64());
42
}
43
44
void RandomSource::addEntropy(uint64_t seed) {
45
// to avoid seed aliasing
Callers
3
addEntropy
Function · 0.80
make
Method · 0.80
TEST
Function · 0.80
Calls
2
addEntropy
Function · 0.85
randu64
Function · 0.85
Tested by
1
TEST
Function · 0.64