MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / randBytes

Function randBytes

source/core/StarRandom.cpp:333–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331 }
332
333 void randBytes(char* buf, size_t len) {
334 MutexLocker locker(g_randMutex);
335 checkInit();
336 g_randSource->randBytes(buf, len);
337 }
338
339 ByteArray randBytes(size_t len) {
340 MutexLocker locker(g_randMutex);

Callers 7

KeySetMethod · 0.85
temporaryFileNameMethod · 0.85
temporaryDirectoryMethod · 0.85
UuidMethod · 0.85
temporaryFileNameMethod · 0.85
temporaryDirectoryMethod · 0.85
randBytesMethod · 0.85

Calls 2

checkInitFunction · 0.85
randBytesMethod · 0.80

Tested by

no test coverage detected