HomeSort by relevance Sort by last modified time
    Searched refs:encodeZigZag64 (Results 1 - 3 of 3) sorted by null

  /external/protobuf/java/src/test/java/com/google/protobuf/
CodedOutputStreamTest.java 215 /** Test encodeZigZag32() and encodeZigZag64(). */
226 assertEquals(0, CodedOutputStream.encodeZigZag64( 0));
227 assertEquals(1, CodedOutputStream.encodeZigZag64(-1));
228 assertEquals(2, CodedOutputStream.encodeZigZag64( 1));
229 assertEquals(3, CodedOutputStream.encodeZigZag64(-2));
231 CodedOutputStream.encodeZigZag64(0x000000003FFFFFFFL));
233 CodedOutputStream.encodeZigZag64(0xFFFFFFFFC0000000L));
235 CodedOutputStream.encodeZigZag64(0x000000007FFFFFFFL));
237 CodedOutputStream.encodeZigZag64(0xFFFFFFFF80000000L));
239 CodedOutputStream.encodeZigZag64(0x7FFFFFFFFFFFFFFFL))
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/micro/
CodedOutputStreamMicro.java 394 writeRawVarint64(encodeZigZag64(value));
750 return computeRawVarint64Size(encodeZigZag64(value));
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/
CodedOutputStream.java 419 writeRawVarint64(encodeZigZag64(value));
786 return computeRawVarint64Size(encodeZigZag64(value));
    [all...]

Completed in 1072 milliseconds