Searched refs:nearEndIndex (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | LiteralByteStringTest.java | 303 int nearEndIndex = stringSize * 2 / 3; in testNewInput_skip() local 304 long skipped1 = input.skip(nearEndIndex); in testNewInput_skip() 305 assertEquals("InputStream.skip()", skipped1, nearEndIndex); in testNewInput_skip() 311 stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip() 323 stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | LiteralByteStringTest.java | 491 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()
|
D | NioByteStringTest.java | 562 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()
|