- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for compression (0.62 sec)
-
src/main/java/jcifs/smb/compression/CompressionService.java
*/ package jcifs.smb.compression; import jcifs.CIFSException; /** * Interface for SMB3 compression services. * * Provides compression and decompression functionality for SMB3 protocol * data transfers with support for multiple compression algorithms. */ public interface CompressionService { /** * Compression algorithm constants matching SMB3 specification. */
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/org/codelibs/curl/CurlRequest.java
return this; } /** * Enables GZIP compression for the request. * * @return this CurlRequest instance */ public CurlRequest gzip() { return compression(GZIP); } /** * Sets the compression type for the request. * * @param compression the compression type * @return this CurlRequest instance */
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/SipHashFunction.java
new SipHashFunction(2, 4, 0x0706050403020100L, 0x0f0e0d0c0b0a0908L); // The number of compression rounds. private final int c; // The number of finalization rounds. private final int d; // Two 64-bit keys (represent a single 128-bit key). private final long k0; private final long k1; /** * @param c the number of compression rounds (must be positive) * @param d the number of finalization rounds (must be positive)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSException; /** * Default implementation of SMB3 compression service. * * Provides compression using Java's built-in deflate algorithm as a base * for LZ77-based compression. For production use, more specialized * implementations of LZNT1 and Pattern_V1 algorithms would be needed. */
Registered: 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
byte[] smallData = new byte[100]; // Below minimum compression size byte[] compressed = compressionService.compress(smallData, CompressionService.COMPRESSION_LZ77); // Should return uncompressed data for small inputs assertArrayEquals(smallData, compressed); } @Test @DisplayName("Test large data compression") public void testLargeDataCompression() 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) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
// Context type /** Context ID for compression capabilities */ public static final int NEGO_CTX_COMPRESSION_TYPE = 0x3; // SMB3 Compression Algorithms /** No compression */ public static final int COMPRESSION_NONE = 0x0; /** LZ77 compression */ public static final int COMPRESSION_LZ77 = 0x1; /** LZ77 + Huffman compression */ public static final int COMPRESSION_LZ77_HUFFMAN = 0x2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
okhttp-zstd/README.md
OkHttp Zstandard (zstd) Integration =================================== This module enables [Zstandard (zstd)][1] response compression in addition to Gzip, as long as the `Accept-Encoding` header is not otherwise set. Web servers must be configured to return zstd responses. Note that zstd is not used for sending requests. ```java OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(ZstdInterceptor.INSTANCE) .build(); ```
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 13:41:00 UTC 2025 - 556 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
import okio.Buffer import okio.BufferedSource import okio.ByteString import okio.Source import okio.buffer /** * Read and write HPACK v10. * * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12 * * This implementation uses an array for the dynamic table and a list for indexed entries. Dynamic * entries are added to the array, starting in the last position moving forward. When the array * fills, it is doubled.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 22.4K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
memory if web socket compression is negotiated but not used. ## Version 4.5.0-RC1 _2020-03-17_ **This release candidate turns on web socket compression.** The [spec][rfc_7692] includes a sophisticated mechanism for client and server to negotiate compression features. We strive to offer great performance in our default configuration and so we're
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt
/** * Transparent Brotli response support. * * Adds Accept-Encoding: br to request and checks (and strips) for Content-Encoding: br in * responses. n.b. this replaces the transparent gzip compression in BridgeInterceptor. */ object BrotliInterceptor : CompressionInterceptor(Brotli, Gzip) object Brotli : CompressionInterceptor.DecompressionAlgorithm { override val encoding: String get() = "br"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 1.3K bytes - Viewed (0)