| 193 | static Mutex g_randMutex; |
| 194 | |
| 195 | static uint64_t produceRandomSeed() { |
| 196 | int64_t seed = Time::monotonicTicks(); |
| 197 | seed *= 1099511628211; |
| 198 | seed ^= (((int64_t)rand()) << 32) | ((int64_t)rand()); |
| 199 | return seed; |
| 200 | } |
| 201 | |
| 202 | void doInit(uint64_t seed) { |
| 203 | g_randSource = RandomSource(seed); |
no outgoing calls
no test coverage detected