| 31 | // 0xff is in case char is signed. |
| 32 | static inline uint32 ByteAs32(char c) { return static_cast<uint32>(c) & 0xff; } |
| 33 | static inline uint64 ByteAs64(char c) { return static_cast<uint64>(c) & 0xff; } |
| 34 | |
| 35 | uint32 Hash32(const char* data, size_t n, uint32 seed) { |
| 36 | // 'm' and 'r' are mixing constants generated offline. |
no outgoing calls
no test coverage detected