Searched refs:bytesSeen (Results 1 – 3 of 3) sorted by relevance
209 int bytesSeen = 0; in testAsReadOnlyByteBufferList() local214 assertTrue(bytesSeen + thisLength <= referenceBytes.length); in testAsReadOnlyByteBufferList()215 byteBuffer.get(roundTripBytes, bytesSeen, thisLength); in testAsReadOnlyByteBufferList()216 bytesSeen += thisLength; in testAsReadOnlyByteBufferList()218 assertTrue(bytesSeen == referenceBytes.length); in testAsReadOnlyByteBufferList()
279 int bytesSeen = 0; in testAsReadOnlyByteBufferList() local284 assertTrue(bytesSeen + thisLength <= referenceBytes.length); in testAsReadOnlyByteBufferList()285 byteBuffer.get(roundTripBytes, bytesSeen, thisLength); in testAsReadOnlyByteBufferList()286 bytesSeen += thisLength; in testAsReadOnlyByteBufferList()288 assertTrue(bytesSeen == referenceBytes.length); in testAsReadOnlyByteBufferList()
300 int bytesSeen = 0; in testAsReadOnlyByteBufferList() local305 assertTrue(bytesSeen + thisLength <= BYTES.length); in testAsReadOnlyByteBufferList()306 byteBuffer.get(roundTripBytes, bytesSeen, thisLength); in testAsReadOnlyByteBufferList()307 bytesSeen += thisLength; in testAsReadOnlyByteBufferList()309 assertTrue(bytesSeen == BYTES.length); in testAsReadOnlyByteBufferList()