Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Compression (0.04 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt

    import okhttp3.Gzip
    
    /**
     * 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.
     */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 15:15:28 UTC 2025
    - 979 bytes
    - Viewed (0)
  6. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

    package jcifs.smb.compression;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.Properties;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 556 bytes
    - Viewed (1)
  9. README.md

    =====
    
    A simple cURL-like Java HTTP client.
    
    ## Features
    
    - Fluent API for building HTTP requests (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE)
    - Support for query parameters, headers, body (String or stream), compression, SSL configuration, proxies, and timeouts
    - Automatic in-memory or on-disk caching of request/response bodies
    - Synchronous and asynchronous (callback) execution
    - Minimal dependencies (only Apache Commons IO)
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

       *
       * [rfc_7230]: https://tools.ietf.org/html/rfc7230
       */
      HTTP_1_1("http/1.1"),
    
      /**
       * Chromium's binary-framed protocol that includes header compression, multiplexing multiple
       * requests on the same socket, and server-push. HTTP/1.1 semantics are layered on SPDY/3.
       *
       * Current versions of OkHttp do not support this protocol.
       */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jun 23 18:58:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top