- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for decompressor (0.07 sec)
-
src/main/java/jcifs/smb/compression/CompressionService.java
/** * Decompresses data that was compressed with the specified algorithm. * * @param compressedData the compressed data * @param algorithm the compression algorithm that was used * @return the decompressed data * @throws CIFSException if decompression fails */ byte[] decompress(byte[] compressedData, int algorithm) throws CIFSException; /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
throws CIFSException { byte[] decompressed = decompress(compressedData, offset, length, algorithm); if (outputBuffer.length - outputOffset < decompressed.length) { throw new CIFSException("Output buffer too small"); } System.arraycopy(decompressed, 0, outputBuffer, outputOffset, decompressed.length); return decompressed.length; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
assertArrayEquals(testData, compressed); byte[] decompressed = compressionService.decompress(compressed, CompressionService.COMPRESSION_NONE); assertArrayEquals(testData, decompressed); } @Test @DisplayName("Test LZ77 compression and decompression") public void testLZ77Compression() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt
val response = chain.proceed(request) decompress(response) } else { chain.proceed(chain.request()) } /** * Returns a decompressed copy of the Response, typically via a streaming Source. * If no known decompression or the response is not compressed, returns the response unmodified. */ internal fun decompress(response: Response): Response { if (!response.promisesBody()) {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 3.2K bytes - Viewed (1) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
header("Content-Encoding", "zstd") } val decompressed = zstdInterceptor.decompress(response) assertThat(decompressed.header("Content-Encoding")).isNull() assertFailsWith<IOException> { decompressed.body.string() }.also { ioe -> assertThat(ioe).hasMessage("zstd decompress failed: Unknown frame descriptor") } } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 4.8K bytes - Viewed (1) -
docs/en/docs/how-to/custom-request-and-route.md
/// First, we create a `GzipRequest` class, which will overwrite the `Request.body()` method to decompress the body in the presence of an appropriate header. If there's no `gzip` in the header, it will not try to decompress the body. That way, the same route class can handle gzip compressed or uncompressed requests.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
return new RequestParameter[0]; }).orElse(new RequestParameter[0]); } /** * Decompresses GZIP-compressed data. * * @param compressed The GZIP-compressed data to decompress * @return Decompressed data * @throws IORuntimeException if decompression fails */ protected byte[] gzipDecompress(final byte[] compressed) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt
val response = response("https://httpbin.org/brotli", s.decodeHex()) { header("Content-Encoding", "br") } val uncompressed = brotliInterceptor.decompress(response) val responseString = uncompressed.body.string() assertThat(responseString).contains("\"brotli\": true,") assertThat(responseString).contains("\"Accept-Encoding\": \"br\"") } @TestRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 22 08:12:58 UTC 2025 - 4.4K bytes - Viewed (0) -
.github/workflows/test-redistribute.yml
run: pip install build - name: Build source distribution env: TIANGOLO_BUILD_PACKAGE: ${{ matrix.package }} run: python -m build --sdist - name: Decompress source distribution run: | cd dist tar xvf fastapi*.tar.gz - name: Install test dependencies run: | cd dist/fastapi*/Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Aug 15 21:44:06 UTC 2025 - 1.8K bytes - Viewed (0) -
okhttp-zstd/api/okhttp-zstd.api
public final class okhttp3/zstd/Zstd : okhttp3/CompressionInterceptor$DecompressionAlgorithm { public static final field INSTANCE Lokhttp3/zstd/Zstd; public fun decompress (Lokio/BufferedSource;)Lokio/Source; public fun getEncoding ()Ljava/lang/String;Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 18:34:32 UTC 2025 - 259 bytes - Viewed (0)