Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for Uncompressed (0.06 sec)

  1. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

            header("Content-Encoding", "gzip")
          }
    
        val decompressed = zstdInterceptor.decompress(response)
        assertThat(decompressed.header("Content-Encoding")).isNull()
    
        val responseString = decompressed.body.string()
        assertThat(responseString).isEqualTo("hello gzip world")
      }
    
      @Test
      fun testNoDecompress() {
        val s = "hello not compressed world".encodeUtf8()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

          decompress(response)
        } else {
          chain.proceed(chain.request())
        }
    
      /**
       * Returns a decompressed copy of the Response, typically via a streaming Source.
       * If no known decompression or the response is not compressed, returns the response unmodified.
       */
      internal fun decompress(response: Response): Response {
        if (!response.promisesBody()) {
          return response
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

            byte[] originalBytes = testData.getBytes();
    
            byte[] compressed = searchHelper.gzipCompress(originalBytes);
            byte[] decompressed = searchHelper.gzipDecompress(compressed);
    
            assertEquals(testData, new String(decompressed));
            // For small strings, gzip overhead might make compressed data larger
            // So we just verify that compression/decompression works correctly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.33.md

    exposed by a sidecar could not be accessed using a Service. ([#128850](https://github.com/kubernetes/kubernetes/pull/128850), [@toVersus](https://github.com/toVersus)) [SIG Network and Testing]
    - Fixed compressed kubelet log file permissions to use uncompressed kubelet log file permissions. ([#129893](https://github.com/kubernetes/kubernetes/pull/129893), [@simonfogliato](https://github.com/simonfogliato)) [SIG Node]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 19:46:23 UTC 2025
    - 294.3K bytes
    - Viewed (0)
  5. 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);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  6. cmd/erasure-metadata.go

    			}
    
    			// If metadata says encrypted, ask for it in quorum.
    			if etyp, ok := crypto.IsEncrypted(meta.Metadata); ok {
    				fmt.Fprint(h, etyp)
    			}
    
    			// If compressed, look for compressed FileInfo only
    			if meta.IsCompressed() {
    				fmt.Fprint(h, meta.Metadata[ReservedMetadataPrefix+"compression"])
    			}
    
    			metaHashes[i] = hex.EncodeToString(h.Sum(nil))
    			h.Reset()
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    		index = opts.IndexCB()
    	}
    
    	actualSize := data.ActualSize()
    	if actualSize < 0 {
    		_, encrypted := crypto.IsEncrypted(fi.Metadata)
    		compressed := fi.IsCompressed()
    		switch {
    		case compressed:
    			// ... nothing changes for compressed stream.
    			// if actualSize is -1 we have no known way to
    			// determine what is the actualSize.
    		case encrypted:
    			decSize, err := sio.DecryptedSize(uint64(n))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  8. docs/features/interceptors.md

    Interceptors can be chained. Suppose you have both a compressing interceptor and a checksumming interceptor: you'll need to decide whether data is compressed and then checksummed, or checksummed and then compressed. OkHttp uses lists to track interceptors, and interceptors are called in order.
    
    ![Interceptors Diagram](../assets/images/******@****.***)
    
    ### Application Interceptors
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/GzipRequestBody.kt

    import okio.GzipSink
    import okio.buffer
    
    internal class GzipRequestBody(
      val delegate: RequestBody,
    ) : RequestBody() {
      override fun contentType() = delegate.contentType()
    
      // We don't know the compressed length in advance!
      override fun contentLength() = -1L
    
      override fun writeTo(sink: BufferedSink) {
        GzipSink(sink).buffer().use(delegate::writeTo)
      }
    
      override fun isOneShot() = delegate.isOneShot()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  10. cmd/batch-replicate_test.go

    #      batch: 100 # upto this many objects per archive
    #      inmemory: true # indicates if the archive must be staged locally or in-memory
    #      compress: false # S2/Snappy compressed archive
    #      smallerThan: 5MiB # create archive for all objects smaller than 5MiB
    #      skipErrs: false # skips any source side read() errors
    
      # target where the objects must be replicated
      target:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top