Home
last modified time | relevance | path

Searched refs:nearEndIndex (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java491 int nearEndIndex = stringSize * 2 / 3; in testNewInput_skip() local
492 long skipped1 = input.skip(nearEndIndex); in testNewInput_skip()
493 assertEquals("InputStream.skip()", skipped1, nearEndIndex); in testNewInput_skip()
499 stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
511 stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
DNioByteStringTest.java562 int nearEndIndex = stringSize * 2 / 3; in testNewInput_skip() local
563 long skipped1 = input.skip(nearEndIndex); in testNewInput_skip()
564 assertEquals("InputStream.skip()", skipped1, nearEndIndex); in testNewInput_skip()
570 testString.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
582 testString.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()