Warning, file /include/boost/uuid/detail/hash_mix.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #ifndef BOOST_UUID_DETAIL_HASH_MIX_INCLUDED
0002 #define BOOST_UUID_DETAIL_HASH_MIX_INCLUDED
0003
0004
0005
0006
0007
0008 #include <cstdint>
0009
0010 namespace boost {
0011 namespace uuids {
0012 namespace detail {
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 inline std::uint64_t hash_mix_mx( std::uint64_t x ) noexcept
0023 {
0024 x *= 0xD96AAA55;
0025 x ^= x >> 16;
0026 return x;
0027 }
0028
0029
0030
0031
0032 inline std::uint64_t hash_mix_fmx( std::uint64_t x ) noexcept
0033 {
0034 x *= 0x7DF954AB;
0035 x ^= x >> 16;
0036 return x;
0037 }
0038
0039 }
0040 }
0041 }
0042
0043 #endif