Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ randi32
Function
randi32
source/core/StarRandom.cpp:249–253 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
247
}
248
249
int32_t randi32() {
250
MutexLocker locker(g_randMutex);
251
checkInit();
252
return g_randSource->randi32();
253
}
254
255
int64_t randi64() {
256
MutexLocker locker(g_randMutex);
Callers
4
warpRandom
Method · 0.85
putAll
Function · 0.85
TEST
Function · 0.85
RequestChallenge
Method · 0.85
Calls
2
checkInit
Function · 0.85
randi32
Method · 0.80
Tested by
2
putAll
Function · 0.68
TEST
Function · 0.68