Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ randu32
Function
randu32
source/core/StarRandom.cpp:237–241 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
235
}
236
237
uint32_t randu32() {
238
MutexLocker locker(g_randMutex);
239
checkInit();
240
return g_randSource->randu32();
241
}
242
243
uint64_t randu64() {
244
MutexLocker locker(g_randMutex);
Callers
4
randu64
Method · 0.85
randi32
Method · 0.85
randf
Method · 0.85
TEST
Function · 0.85
Calls
2
checkInit
Function · 0.85
randu32
Method · 0.80
Tested by
1
TEST
Function · 0.68