| 51 | lo0, |
| 52 | }; |
| 53 | } |
| 54 | |
| 55 | Philox4 philox_4x32_10(Philox4 counter, uint64_t seed) { |
| 56 | uint32_t key0 = static_cast<uint32_t>(seed); |
| 57 | uint32_t key1 = static_cast<uint32_t>(seed >> 32U); |
| 58 | for (int round = 0; round < 10; ++round) { |
| 59 | counter = philox_round(counter, key0, key1); |
| 60 | key0 += kPhiloxW0; |
| 61 | key1 += kPhiloxW1; |
| 62 | } |
| 63 | return counter; |
| 64 | } |
| 65 |
no test coverage detected