presto-orc/src/main/java/io/prestosql/orc/stream/LongDecode.java/LongDecode/zigzagEncode
class LongDecode:    private static long zigzagEncode(long value)
    {
        return (value << 1) ^ (value >> 63);
    }