Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for compression (0.14 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. docs/compression/README.md

    # Compression Guide [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io)
    
    MinIO server allows streaming compression to ensure efficient disk space usage.
    Compression happens inflight, i.e objects are compressed before being written to disk(s).
    MinIO uses [`klauspost/compress/s2`](https://github.com/klauspost/compress/tree/master/s2)
    streaming compression due to its stability and performance.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. 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)
  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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/config-migrate.go

    		globalActiveCred = cfg.Credential
    	}
    
    	// Init compression config. For future migration, Compression config needs to be copied over from previous version.
    	switch cfg.Version {
    	case "29":
    		// V29 -> V30
    		cfg.Compression.Enabled = false
    		cfg.Compression.Extensions = strings.Split(compress.DefaultExtensions, config.ValueSeparator)
    		cfg.Compression.MimeTypes = strings.Split(compress.DefaultMimeTypes, config.ValueSeparator)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/middleware.md

    * `minimum_size` - Do not GZip responses that are smaller than this minimum size in bytes. Defaults to `500`.
    * `compresslevel` - Used during GZip compression. It is an integer ranging from 1 to 9. Defaults to `9`. Lower value results in faster compression but larger file sizes, while higher value results in slower compression but smaller file sizes.
    
    ## Other middlewares { #other-middlewares }
    
    There are many other ASGI middlewares.
    
    For example:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:59:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/archive/zip/writer.go

    	return err
    }
    
    // RegisterCompressor registers or overrides a custom compressor for a specific
    // method ID. If a compressor for a given method is not found, [Writer] will
    // default to looking up the compressor at the package level.
    func (w *Writer) RegisterCompressor(method uint16, comp Compressor) {
    	if w.compressors == nil {
    		w.compressors = make(map[uint16]Compressor)
    	}
    	w.compressors[method] = comp
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top