#include "src/core/SkChecksum.h"
#include <cstring>
#if defined(__GNUC__) || defined(__INTEL_COMPILER) || defined(__clang__)
#define _likely_(x) …
#define _unlikely_(x) …
#else
#define _likely_ …
#define _unlikely_ …
#endif
static inline void _wymum(uint64_t* A, uint64_t* B) { … }
static inline uint64_t _wymix(uint64_t A, uint64_t B) { … }
static inline uint64_t _wyr8(const uint8_t* p) { … }
static inline uint64_t _wyr4(const uint8_t* p) { … }
static inline uint64_t _wyr3(const uint8_t* p, size_t k) { … }
static inline uint64_t wyhash(const void* key, size_t len, uint64_t seed, const uint64_t* secret) { … }
static const uint64_t _wyp[4] = …;
namespace SkChecksum {
uint32_t Hash32(const void *data, size_t bytes, uint32_t seed) { … }
uint64_t Hash64(const void *data, size_t bytes, uint64_t seed) { … }
}