Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 99 for decompression (0.11 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        assertFailsWith<Exception> {
          inflater.inflate("f240e30300".decodeHex())
        }
      }
    
      /**
       * Test for an [EOFException] caused by mishandling of fragmented buffers in web socket
       * compression. https://github.com/square/okhttp/issues/5965
       */
      @Test fun `inflate golden value in buffer that has been fragmented`() {
        val inflater = MessageInflater(false)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. cmd/admin-router.go

    		logger.Fatal(err, "Unable to initialize server")
    	}
    	return gz
    }()
    
    // Set of handler options as bit flags
    type hFlag uint8
    
    const (
    	// this flag disables gzip compression of responses
    	noGZFlag = 1 << iota
    
    	// this flag enables tracing body and headers instead of just headers
    	traceAllFlag
    
    	// pass this flag to skip checking if object layer is available
    	noObjLayerFlag
    )
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      val random: Random,
      private val perMessageDeflate: Boolean,
      private val noContextTakeover: Boolean,
      private val minimumDeflateSize: Long,
    ) : Closeable {
      /** This holds outbound data for compression and masking. */
      private val messageBuffer = Buffer()
    
      /** The [Buffer] of [sink]. Write to this and then flush/emit [sink]. */
      private val sinkBuffer: Buffer = sink.buffer
      private var writerClosed = false
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    			// Storing the compression metadata.
    			metadata[ReservedMetadataPrefix+"compression"] = compressionAlgorithmV2
    			metadata[ReservedMetadataPrefix+"actual-size"] = strconv.FormatInt(size, 10)
    
    			actualReader, err := hash.NewReader(ctx, reader, size, "", "", actualSize)
    			if err != nil {
    				return err
    			}
    
    			// Set compression metrics.
    			wantEncryption := crypto.Requested(r.Header)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

         * fit comfortably within a single ethernet packet (1500 bytes) even with framing overhead.
         *
         * For tests this must be big enough to realize real compression on test messages like
         * 'aaaaaaaaaa...'. Our tests check if compression was applied just by looking at the size if
         * the inbound buffer.
         */
        const val DEFAULT_MINIMUM_DEFLATE_SIZE = 1024L
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  6. ci/devinfra/docker/windows2022/Dockerfile

    RUN C:\tools\msys64\usr\bin\bash.exe -lc 'ln -s /c/Python3.13/python.exe /usr/bin/python3';
    
    # Install JDK 21.
    RUN \
      Add-Type -AssemblyName \"System.IO.Compression.FileSystem\"; \
      $zulu_pkg = \"zulu21.34.19-ca-jdk21.0.3-win_x64.zip\"; \
      $zulu_url = \"https://cdn.azul.com/zulu/bin/${zulu_pkg}\"; \
      $zulu_zip = \"c:\\temp\\${zulu_pkg}\"; \
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Jan 13 18:59:55 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. api/go1.6.txt

    pkg archive/zip, method (*ReadCloser) RegisterDecompressor(uint16, Decompressor)
    pkg archive/zip, method (*Reader) RegisterDecompressor(uint16, Decompressor)
    pkg archive/zip, method (*Writer) RegisterCompressor(uint16, Compressor)
    pkg bufio, method (*Scanner) Buffer([]uint8, int)
    pkg bufio, var ErrFinalToken error
    pkg crypto/tls, const TLS_RSA_WITH_AES_128_GCM_SHA256 = 156
    pkg crypto/tls, const TLS_RSA_WITH_AES_128_GCM_SHA256 uint16
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  8. cmd/config-current.go

    		config.HelpKV{
    			Key:         config.BatchSubSys,
    			Description: "manage batch job workers and wait times",
    		},
    		config.HelpKV{
    			Key:         config.CompressionSubSys,
    			Description: "enable server side compression of objects",
    		},
    		config.HelpKV{
    			Key:             config.IdentityOpenIDSubSys,
    			Description:     "enable OpenID SSO support",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  9. RELEASE.md

            round robin reads, users can guarantee that consumers get similar-sized
            examples in the same step.
        *   tf.data service now supports optional compression. Previously data would
            always be compressed, but now you can disable compression by passing
            `compression=None` to `tf.data.experimental.service.distribute(...)`.
        *   `tf.data.Dataset.batch()` now supports `num_parallel_calls` and
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (1)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

     *  * `com.twitter.hpack.HpackUtil`
     *
     * [twitter_hpack]: https://github.com/twitter/hpack
     */
    object Huffman {
      // Appendix C: Huffman Codes
      // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#appendix-B
      private val CODES =
        intArrayOf(
          0x1ff8,
          0x7fffd8,
          0xfffffe2,
          0xfffffe3,
          0xfffffe4,
          0xfffffe5,
          0xfffffe6,
          0xfffffe7,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top