MCPcopy Create free account
hub / github.com/crawl/crawl / seed

Function seed

crawl-ref/source/random.cc:159–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 }
158
159 void seed(uint64_t seed)
160 {
161 // use the default stream
162 PcgRNG master = PcgRNG(seed);
163 _do_seeding(master);
164 }
165
166 void seed()
167 {

Callers 6

_test_jiyva_namesFunction · 0.85
make_name_testsFunction · 0.85
resetFunction · 0.85
_initializeFunction · 0.85
SimplePcg32Method · 0.85
mainFunction · 0.85

Calls 3

PcgRNGClass · 0.85
_do_seedingFunction · 0.85
read_urandomFunction · 0.85

Tested by

no test coverage detected