Lines Matching defs:wyhash
161 // This is a stripped-down implementation of wyhash: https://github.com/wangyi-fudan/wyhash
164 namespace detail::wyhash {
267 return detail::wyhash::mix(x, UINT64_C(0x9E3779B97F4A7C15));
270 } /* namespace detail::wyhash */
284 return detail::wyhash::hash(str.data(), sizeof(CharT) * str.size());
292 return detail::wyhash::hash(sv.data(), sizeof(CharT) * sv.size());
301 return detail::wyhash::hash(reinterpret_cast<uintptr_t>(ptr));
310 return detail::wyhash::hash(reinterpret_cast<uintptr_t>(ptr.get()));
319 return detail::wyhash::hash(reinterpret_cast<uintptr_t>(ptr.get()));
328 return detail::wyhash::hash(static_cast<underlying>(e));
346 return detail::wyhash::mix(state + v, uint64_t{0x9ddfea08eb382d69});
351 // away, so filling the buffer is highly efficient. Finally, call wyhash with this buffer.
382 return detail::wyhash::hash(static_cast<uint64_t>(obj)); \
884 // not is_avalanching => apply wyhash
885 return wyhash::hash(m_hash(key));