MCPcopy 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

warpRandomMethod · 0.85
putAllFunction · 0.85
TESTFunction · 0.85
RequestChallengeMethod · 0.85

Calls 2

checkInitFunction · 0.85
randi32Method · 0.80

Tested by 2

putAllFunction · 0.68
TESTFunction · 0.68