Searched refs:GZIP_TRAILER_SIZE (Results 1 – 2 of 2) sorted by relevance
46 private static final int GZIP_TRAILER_SIZE = 8; field in GzipInflatingBuffer458 && gzipMetadataReader.readableBytes() <= GZIP_HEADER_MIN_SIZE + GZIP_TRAILER_SIZE) { in processTrailer()463 if (gzipMetadataReader.readableBytes() < GZIP_TRAILER_SIZE) { in processTrailer()
44 private static final int GZIP_TRAILER_SIZE = 8; field in GzipInflatingBufferTest84 gzippedData, GZIP_HEADER_MIN_SIZE, gzippedData.length - GZIP_TRAILER_SIZE); in setUp()87 gzippedData, gzippedData.length - GZIP_TRAILER_SIZE, gzippedData.length); in setUp()353 gzippedTruncatedData.length - bytesToWithhold - GZIP_TRAILER_SIZE, in bytesConsumedForPartiallyInflatedBlock()360 bytesToWithhold + GZIP_TRAILER_SIZE, gzipInflatingBuffer.getAndResetBytesConsumed()); in bytesConsumedForPartiallyInflatedBlock()427 gzippedData.length - GZIP_HEADER_MIN_SIZE - GZIP_TRAILER_SIZE, in getAndResetDeflatedBytesConsumedExcludesGzipMetadata()710 gzipTrailer[GZIP_TRAILER_SIZE - 1] = (byte) ~gzipTrailer[GZIP_TRAILER_SIZE - 1]; in wrongTrailerISizeShouldFail()