MCPcopy Create free account
hub / github.com/JeanLucPons/VanitySearch / rseed

Function rseed

Random.cpp:105–108  ·  view source on GitHub ↗

Initialise the random generator with the specified seed

Source from the content-addressed store, hash-verified

103
104// Initialise the random generator with the specified seed
105void rseed(unsigned long seed) {
106 rk_seed(seed,&localState);
107 //srand(seed);
108}
109
110unsigned long rndl() {
111 return rk_random(&localState);

Callers 1

mainFunction · 0.85

Calls 1

rk_seedFunction · 0.85

Tested by

no test coverage detected