presto-main/src/main/java/io/prestosql/operator/aggregation/TypedSet.java/TypedSet/getMaskedHash
class TypedSet:    private int getMaskedHash(long rawHash)
    {
        return (int) (rawHash & hashMask);
    }