Searched refs:getAndResetBytesConsumed (Results 1 – 3 of 3) sorted by relevance
112 assertEquals(gzippedData.length, gzipInflatingBuffer.getAndResetBytesConsumed()); in gzipInflateWorks()125 assertEquals(initialBytes, gzipInflatingBuffer.getAndResetBytesConsumed()); in splitGzipStreamWorks()131 assertEquals(gzippedData.length - initialBytes, gzipInflatingBuffer.getAndResetBytesConsumed()); in splitGzipStreamWorks()166 assertEquals(gzippedData.length, gzipInflatingBuffer.getAndResetBytesConsumed()); in concatenatedStreamsWorks()171 assertEquals(gzippedTruncatedData.length, gzipInflatingBuffer.getAndResetBytesConsumed()); in concatenatedStreamsWorks()175 assertEquals(gzippedData.length, gzipInflatingBuffer.getAndResetBytesConsumed()); in concatenatedStreamsWorks()180 assertEquals(gzippedTruncatedData.length, gzipInflatingBuffer.getAndResetBytesConsumed()); in concatenatedStreamsWorks()191 assertEquals(gzippedData.length, gzipInflatingBuffer.getAndResetBytesConsumed()); in requestingTooManyBytesStillReturnsEndOfBlock()354 gzipInflatingBuffer.getAndResetBytesConsumed()); in bytesConsumedForPartiallyInflatedBlock()360 bytesToWithhold + GZIP_TRAILER_SIZE, gzipInflatingBuffer.getAndResetBytesConsumed()); in bytesConsumedForPartiallyInflatedBlock()[all …]
231 int getAndResetBytesConsumed() { in getAndResetBytesConsumed() method in GzipInflatingBuffer
327 totalBytesRead += fullStreamDecompressor.getAndResetBytesConsumed(); in readRequiredBytes()