Debian Codegraph @

src/utility/Random.cpp

raw ◀ ▶
1 Debian patch touch this file
1 #include <pbcopper/utility/Random.h>
•2 #include <cstdint>
3
4 namespace PacBio {
5 namespace Utility {
6
7 uint64_t WyHash64Step(uint64_t& seed) noexcept
8 {
9 seed += UINT64_C(0x60bee2bee120fc15);
10 __uint128_t l = seed ^ 0xe7037ed1a0b428dbull;
11 l *= seed;
12 return l ^ (l >> 64);
13 }
14
15 } // namespace Utility
16 } // namespace PacBio