MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / getSeeds

Function getSeeds

quest/src/api/debug.cpp:58–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void getSeeds(unsigned* seeds) {
59 validate_envIsInit(__func__);
60
61 auto vec = rand_getSeeds();
62 auto num = rand_getNumSeeds();
63
64 for (int i=0; i<num; i++)
65 seeds[i] = vec[i];
66}
67
68
69

Callers 2

setRandomTestStateSeedsFunction · 0.85
SECTIONFunction · 0.85

Calls 6

validate_envIsInitFunction · 0.85
rand_getSeedsFunction · 0.85
rand_getNumSeedsFunction · 0.85
getNumSeedsFunction · 0.85
util_tryAllocVectorFunction · 0.85

Tested by

no test coverage detected