Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ randb
Function
randb
source/core/StarRandom.cpp:285–289 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
283
}
284
285
bool randb() {
286
MutexLocker locker(g_randMutex);
287
checkInit();
288
return g_randSource->randb();
289
}
290
291
long long randInt(long long max) {
292
MutexLocker locker(g_randMutex);
Callers
2
update
Method · 0.85
spawnMonster
Method · 0.85
Calls
2
checkInit
Function · 0.85
randb
Method · 0.80
Tested by
no test coverage detected