mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Update src/AggregateFunctions/UniquesHashSet.h
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
This commit is contained in:
parent
6c92b0b398
commit
55c526b6e6
@ -109,7 +109,8 @@ private:
|
||||
inline size_t max_fill() const { return 1ULL << (size_degree - 1); } /// NOLINT
|
||||
inline size_t mask() const { return buf_size() - 1; }
|
||||
|
||||
inline size_t place(HashValue x) const {
|
||||
inline size_t place(HashValue x) const
|
||||
{
|
||||
if constexpr (std::endian::native == std::endian::little)
|
||||
return (x >> UNIQUES_HASH_BITS_FOR_SKIP) & mask();
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user