presto-orc/src/main/java/io/prestosql/orc/stream/BooleanInputStream.java/BooleanInputStream/bitCount
class BooleanInputStream:    private static int bitCount(byte data)
    {
        return Integer.bitCount(data & 0xFF);
    }