- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 73 for COMPRESSED (0.06 seconds)
-
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
byte[] compressed = compressionService.compress(testData, CompressionService.COMPRESSION_LZ77); assertNotNull(compressed); assertTrue(compressed.length > 0); // Compressed size should typically be smaller (though not guaranteed for all data) byte[] decompressed = compressionService.decompress(compressed, CompressionService.COMPRESSION_LZ77);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
* @param algorithm the compression algorithm to use * @return the compressed data * @throws CIFSException if compression fails */ byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException; /** * Decompresses data that was compressed with the specified algorithm. * * @param compressedData the compressed data * @param algorithm the compression algorithm that was usedCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
} /** * 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) { try (final ByteArrayInputStream bis = new ByteArrayInputStream(compressed);Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 36.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt
*/ package okhttp3 import okhttp3.ResponseBody.Companion.asResponseBody import okhttp3.internal.http.promisesBody import okio.BufferedSource import okio.Source import okio.buffer /** * Transparent Compressed response support. * * The algorithm map will be turned into a heading such as "Accept-Encoding: br, gzip" * * If [algorithms] is empty this interceptor has no effect. To disable compression set
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 15:15:28 GMT 2025 - 2.9K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
callback.assertTextMessage("Hello") } @Test fun serverWithCompressionCompressedHelloTwoChunks() { data.write("418460b420bb92fced72".decodeHex()) // first 4 bytes of compressed 'Hello' data.write("80833851d9d4f156d9".decodeHex()) // last 3 bytes of compressed 'Hello' serverReaderWithCompression.processNextFrame() callback.assertTextMessage("Hello") } @Test fun clientTwoFrameHello() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
} return address; } /** * Compresses an IPv6 address string to its canonical compressed form. * For example, "0:0:0:0:0:0:0:1" becomes "::1" * * @param ipv6Address the IPv6 address string to compress * @return the compressed IPv6 address string */ protected static String compressIPv6(final String ipv6Address) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 9.4K bytes - Click Count (0) -
docs/compression/README.md
### 4. Excluded Types - Already compressed objects are not fit for compression since they do not have compressible patterns. Such objects do not produce efficient [`LZ compression`](https://en.wikipedia.org/wiki/LZ77_and_LZ78) which is a fitness factor for a lossless data compression. Pre-compressed input typically compresses in excess of 2GiB/s per core,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 5.2K bytes - Click Count (0) -
cmd/object-api-utils.go
dnsDelimiter = "." // On compressed files bigger than this; compReadAheadSize = 100 << 20 // Read this many buffers ahead. compReadAheadBuffers = 5 // Size of each buffer. compReadAheadBufSize = 1 << 20 // Pad Encrypted+Compressed files to a multiple of this. compPadEncrypted = 256 // Disable compressed file indices below this size compMinIndexSize = 8 << 20 )
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 37.3K bytes - Click Count (0) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
@Test fun testNoDecompress() { val s = "hello not compressed world".encodeUtf8() val response = response("https://example.com/", s) val decompressed = zstdInterceptor.decompress(response) assertThat(decompressed.header("Content-Encoding")).isNull() val responseString = decompressed.body.string() assertThat(responseString).isEqualTo("hello not compressed world") } @Test fun testUnknownAlgorithm() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 4.8K bytes - Click Count (1) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
throw new CIFSException("Compressed data cannot be null"); } return decompress(compressedData, 0, compressedData.length, algorithm); } @Override public byte[] decompress(byte[] compressedData, int offset, int length, int algorithm) throws CIFSException { if (compressedData == null) { throw new CIFSException("Compressed data cannot be null"); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0)