Searched refs:decodeZigZag64 (Results 1 – 5 of 5) sorted by relevance
297 assertEquals( 0, CodedInputStream.decodeZigZag64(0)); in testDecodeZigZag()298 assertEquals(-1, CodedInputStream.decodeZigZag64(1)); in testDecodeZigZag()299 assertEquals( 1, CodedInputStream.decodeZigZag64(2)); in testDecodeZigZag()300 assertEquals(-2, CodedInputStream.decodeZigZag64(3)); in testDecodeZigZag()302 CodedInputStream.decodeZigZag64(0x000000007FFFFFFEL)); in testDecodeZigZag()304 CodedInputStream.decodeZigZag64(0x000000007FFFFFFFL)); in testDecodeZigZag()306 CodedInputStream.decodeZigZag64(0x00000000FFFFFFFEL)); in testDecodeZigZag()308 CodedInputStream.decodeZigZag64(0x00000000FFFFFFFFL)); in testDecodeZigZag()310 CodedInputStream.decodeZigZag64(0xFFFFFFFFFFFFFFFEL)); in testDecodeZigZag()312 CodedInputStream.decodeZigZag64(0xFFFFFFFFFFFFFFFFL)); in testDecodeZigZag()
301 assertEquals(0, CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(0))); in testEncodeZigZag()302 assertEquals(1, CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(1))); in testEncodeZigZag()303 assertEquals(-1, CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(-1))); in testEncodeZigZag()304 assertEquals(14927, CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(14927))); in testEncodeZigZag()305 assertEquals(-3612, CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(-3612))); in testEncodeZigZag()309 CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(856912304801416L))); in testEncodeZigZag()312 CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(-75123905439571256L))); in testEncodeZigZag()
277 return decodeZigZag64(readRawVarint64()); in readSInt64()391 public static long decodeZigZag64(final long n) { in decodeZigZag64() method in CodedInputByteBufferNano
284 return decodeZigZag64(readRawVarint64()); in readSInt64()431 public static long decodeZigZag64(final long n) { in decodeZigZag64() method in CodedInputStreamMicro
592 return decodeZigZag64(readRawVarint64()); in readSInt64()853 public static long decodeZigZag64(final long n) { in decodeZigZag64() method in CodedInputStream