MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / init

Method init

benchmarks/tbb/tbb_misc.h:160–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 FastRandom( uint64_t seed) { init(seed); }
159 template <typename T>
160 void init( T seed ) {
161 init(seed,int_to_type<sizeof(seed)>());
162 }
163 void init( uint64_t seed , int_to_type<8> ) {
164 init(uint32_t((seed>>32)+seed), int_to_type<4>());
165 }

Callers

nothing calls this directly

Calls 2

GetPrimeFunction · 0.85
initFunction · 0.50

Tested by

no test coverage detected