Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DGzipInflatingBufferTest.java215 int bytesToWithhold = 10; in isStalledReturnsTrueAtEndOfStream() local
220 gzipInflatingBuffer.inflateBytes(b, 0, originalData.length - bytesToWithhold); in isStalledReturnsTrueAtEndOfStream()
223 gzipInflatingBuffer.inflateBytes(b, originalData.length - bytesToWithhold, bytesToWithhold); in isStalledReturnsTrueAtEndOfStream()
345 int bytesToWithhold = 1; in bytesConsumedForPartiallyInflatedBlock() local
350 truncatedData.length - bytesToWithhold, in bytesConsumedForPartiallyInflatedBlock()
351 gzipInflatingBuffer.inflateBytes(b, 0, truncatedData.length - bytesToWithhold)); in bytesConsumedForPartiallyInflatedBlock()
353 gzippedTruncatedData.length - bytesToWithhold - GZIP_TRAILER_SIZE, in bytesConsumedForPartiallyInflatedBlock()
356 bytesToWithhold, in bytesConsumedForPartiallyInflatedBlock()
358 b, truncatedData.length - bytesToWithhold, bytesToWithhold)); in bytesConsumedForPartiallyInflatedBlock()
360 bytesToWithhold + GZIP_TRAILER_SIZE, gzipInflatingBuffer.getAndResetBytesConsumed()); in bytesConsumedForPartiallyInflatedBlock()