Searched refs:encodeZigZag32 (Results 1 – 5 of 5) sorted by relevance
219 assertEquals(0, CodedOutputStream.encodeZigZag32( 0)); in testEncodeZigZag()220 assertEquals(1, CodedOutputStream.encodeZigZag32(-1)); in testEncodeZigZag()221 assertEquals(2, CodedOutputStream.encodeZigZag32( 1)); in testEncodeZigZag()222 assertEquals(3, CodedOutputStream.encodeZigZag32(-2)); in testEncodeZigZag()223 assertEquals(0x7FFFFFFE, CodedOutputStream.encodeZigZag32(0x3FFFFFFF)); in testEncodeZigZag()224 assertEquals(0x7FFFFFFF, CodedOutputStream.encodeZigZag32(0xC0000000)); in testEncodeZigZag()225 assertEquals(0xFFFFFFFE, CodedOutputStream.encodeZigZag32(0x7FFFFFFF)); in testEncodeZigZag()226 assertEquals(0xFFFFFFFF, CodedOutputStream.encodeZigZag32(0x80000000)); in testEncodeZigZag()248 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(0))); in testEncodeZigZag()250 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(1))); in testEncodeZigZag()[all …]
389 writeRawVarint32(encodeZigZag32(value)); in writeSInt32NoTag()742 return computeRawVarint32Size(encodeZigZag32(value)); in computeSInt32SizeNoTag()974 public static int encodeZigZag32(final int n) { in encodeZigZag32() method in CodedOutputStreamMicro
543 writeRawVarint32(encodeZigZag32(value)); in writeSInt32NoTag()874 return computeRawVarint32Size(encodeZigZag32(value)); in computeSInt32SizeNoTag()1072 public static int encodeZigZag32(final int n) { in encodeZigZag32() method in CodedOutputByteBufferNano
512 writeRawVarint32(encodeZigZag32(value)); in writeSInt32NoTag()940 return computeRawVarint32Size(encodeZigZag32(value)); in computeSInt32SizeNoTag()1278 public static int encodeZigZag32(final int n) { in encodeZigZag32() method in CodedOutputStream
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...