Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 68 for uncompressed (0.14 sec)

  1. okhttp-brotli/src/main/kotlin/okhttp3/brotli/internal/Uncompress.kt

    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.internal.http.promisesBody
    import okio.GzipSource
    import okio.buffer
    import okio.source
    import org.brotli.dec.BrotliInputStream
    
    fun uncompress(response: Response): Response {
      if (!response.promisesBody()) {
        return response
      }
      val body = response.body
      val encoding = response.header("Content-Encoding") ?: return response
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 13:19:01 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/compress/zlib/reader.go

    // license that can be found in the LICENSE file.
    
    /*
    Package zlib implements reading and writing of zlib format compressed data,
    as specified in RFC 1950.
    
    The implementation provides filters that uncompress during reading
    and compress during writing.  For example, to write compressed data
    to a buffer:
    
    	var b bytes.Buffer
    	w := zlib.NewWriter(&b)
    	w.Write([]byte("hello, world\n"))
    	w.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/DefaultDecompressionCoordinator.java

    import org.gradle.cache.internal.ProducerGuard;
    import org.gradle.cache.scopes.ScopedCacheBuilderFactory;
    
    import java.io.File;
    
    /**
     * The default implementation of {@link DecompressionCoordinator} that can be used to store decompressed data extracted from archive files like zip and tars.
     *
     * Will manage access to the cache, so that access to the archive's contents are only permitted to one client at a time.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/internal/zstd/literals.go

    	if totalStreamsSize < 6 {
    		return nil, r.makeError(off, "total streams size too small for jump table")
    	}
    	// RFC 3.1.1.3.1.6.
    	// "The decompressed size of each stream is equal to (Regenerated_Size+3)/4,
    	// except for the last stream, which may be up to 3 bytes smaller,
    	// to reach a total decompressed size as specified in Regenerated_Size."
    	regeneratedStreamSize := (regeneratedSize + 3) / 4
    	if regeneratedSize < regeneratedStreamSize*3 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 14:30:10 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  5. docs/distributed/decom-compressed-sse-s3.sh

    Harshavardhana <******@****.***> 1716837466 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/wrapper-shared/src/integTest/groovy/org/gradle/integtests/PathTraversalCheckerIntegrationTest.groovy

                def artifactType = Attribute.of('artifactType', String)
                def compressed = Attribute.of('compressed', Boolean)
    
                dependencies {
                    attributesSchema {
                        attribute(compressed)
                    }
                    artifactTypes {
                        zip {
                            attributes.attribute(compressed, true)
                        }
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. docs/compression/README.md

    ### 4. Excluded Types
    
    - Already compressed objects are not fit for compression since they do not have compressible patterns.
    Such objects do not produce efficient [`LZ compression`](https://en.wikipedia.org/wiki/LZ77_and_LZ78)
    which is a fitness factor for a lossless data compression.
    
    Pre-compressed input typically compresses in excess of 2GiB/s per core,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 11 11:55:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.brotli
    
    import okhttp3.Interceptor
    import okhttp3.Response
    import okhttp3.brotli.internal.uncompress
    
    /**
     * Transparent Brotli response support.
     *
     * Adds Accept-Encoding: br to request and checks (and strips) for Content-Encoding: br in
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. src/compress/lzw/reader_test.go

    		b.Fatalf("test file has no data")
    	}
    
    	getInputBuf := func(buf []byte, n int) []byte {
    		compressed := new(bytes.Buffer)
    		w := NewWriter(compressed, LSB, 8)
    		for i := 0; i < n; i += len(buf) {
    			if len(buf) > n-i {
    				buf = buf[:n-i]
    			}
    			w.Write(buf)
    		}
    		w.Close()
    		return compressed.Bytes()
    	}
    
    	for e := 4; e <= 6; e++ {
    		n := int(math.Pow10(e))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 16:57:58 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/compress/zlib/writer.go

    		z.compressor, err = flate.NewWriterDict(z.w, z.level, z.dict)
    		if err != nil {
    			return err
    		}
    		z.digest = adler32.New()
    	}
    	return nil
    }
    
    // Write writes a compressed form of p to the underlying io.Writer. The
    // compressed bytes are not necessarily flushed until the Writer is closed or
    // explicitly flushed.
    func (z *Writer) Write(p []byte) (n int, err error) {
    	if !z.wroteHeader {
    		z.err = z.writeHeader()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 18:51:27 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top