| 13 | }; |
| 14 | |
| 15 | __forceinline unsigned int MurmurHash3_mix(unsigned int hash, unsigned int k) |
| 16 | { |
| 17 | const unsigned int c1 = 0xcc9e2d51; |
| 18 | const unsigned int c2 = 0x1b873593; |
| 19 | const unsigned int r1 = 15; |
| 20 | const unsigned int r2 = 13; |
| 21 | const unsigned int m = 5; |
| 22 | const unsigned int n = 0xe6546b64; |
| 23 | |
| 24 | k *= c1; |
| 25 | k = (k << r1) | (k >> (32 - r1)); |
| 26 | k *= c2; |
| 27 | |
| 28 | hash ^= k; |
| 29 | hash = ((hash << r2) | (hash >> (32 - r2))) * m + n; |
| 30 | |
| 31 | return hash; |
| 32 | } |
| 33 | |
| 34 | __forceinline unsigned int MurmurHash3_finalize(unsigned int hash) |
| 35 | { |
no outgoing calls
no test coverage detected