Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for uncompressed (0.14 sec)

  1. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

        val response =
          response("https://httpbin.org/brotli", s.decodeHex()) {
            header("Content-Encoding", "br")
          }
    
        val uncompressed = uncompress(response)
    
        val responseString = uncompressed.body.string()
        assertThat(responseString).contains("\"brotli\": true,")
        assertThat(responseString).contains("\"Accept-Encoding\": \"br\"")
      }
    
      @Test
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/internal/zstd/fuzz_test.go

    	f.Fuzz(func(t *testing.T, b []byte) {
    		cmd := exec.Command(zstd, "-z")
    		cmd.Stdin = bytes.NewReader(b)
    		var compressed bytes.Buffer
    		cmd.Stdout = &compressed
    		cmd.Stderr = os.Stderr
    		if err := cmd.Run(); err != nil {
    			t.Errorf("running zstd failed: %v", err)
    		}
    
    		r := NewReader(bytes.NewReader(compressed.Bytes()))
    		got, err := io.ReadAll(r)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if !bytes.Equal(got, b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 04:10:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/compress/gzip/gunzip.go

    // uncompressed data from a gzip-format compressed file.
    //
    // In general, a gzip file can be a concatenation of gzip files,
    // each with its own header. Reads from the Reader
    // return the concatenation of the uncompressed data of each.
    // Only the first header is recorded in the Reader fields.
    //
    // Gzip files store a length and checksum of the uncompressed data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. src/internal/zstd/testdata/README

    This directory holds files for testing zstd.NewReader.
    
    Each one is a Zstandard compressed file named as hash.arbitrary-name.zst,
    where hash is the first eight hexadecimal digits of the SHA256 hash
    of the expected uncompressed content:
    
    	zstd -d < 1890a371.gettysburg.txt-100x.zst | sha256sum | head -c 8
    	1890a371
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 14:35:13 UTC 2023
    - 373 bytes
    - Viewed (0)
  5. src/internal/zstd/zstd_test.go

    func TestLarge(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping expensive test in short mode")
    	}
    
    	data := bigData(t)
    	compressed := zstdBigData(t)
    
    	t.Logf("zstd compressed %d bytes to %d", len(data), len(compressed))
    
    	r := NewReader(bytes.NewReader(compressed))
    	got, err := io.ReadAll(r)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if !bytes.Equal(got, data) {
    		showDiffs(t, got, data)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:39:21 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. src/crypto/elliptic/elliptic.go

    func MarshalCompressed(curve Curve, x, y *big.Int) []byte {
    	panicIfNotOnCurve(curve, x, y)
    	byteLen := (curve.Params().BitSize + 7) / 8
    	compressed := make([]byte, 1+byteLen)
    	compressed[0] = byte(y.Bit(0)) | 2
    	x.FillBytes(compressed[1:])
    	return compressed
    }
    
    // unmarshaler is implemented by curves with their own constant-time Unmarshal.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/tasks/bundling/Zip.java

        }
    
        /**
         * Returns the compression level of the entries of the archive. If set to {@link ZipEntryCompression#DEFLATED} (the default), each entry is
         * compressed using the DEFLATE algorithm. If set to {@link ZipEntryCompression#STORED} the entries of the archive are left uncompressed.
         *
         * @return the compression level of the archive contents.
         */
        @Input
        public ZipEntryCompression getEntryCompression() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 08:29:19 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/classpath/InPlaceClasspathBuilder.java

                // Stored files may be used for memory mapping, so it is important to store them uncompressed.
                // All other files are fine being compressed to reduce on-disk size.
                // It isn't clear if storing them uncompressed too would bring a performance benefit,
                // as reading less from the disk may save more time than spent unpacking.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:05:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/ZipEntry.java

         */
        enum ZipCompressionMethod {
            /**
             * The entry is compressed with DEFLATE algorithm.
             */
            DEFLATED,
    
            /**
             * The entry is stored uncompressed.
             */
            STORED,
            /**
             * The entry is compressed with some other method (Zip spec declares about a dozen of these).
             */
            OTHER,
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/time/tzdata/tzdata.go

    func get2s(s string) int {
    	if len(s) < 2 {
    		return 0
    	}
    	return int(s[0]) | int(s[1])<<8
    }
    
    // loadFromEmbeddedTZData returns the contents of the file with the given
    // name in an uncompressed zip file, where the contents of the file can
    // be found in embeddedTzdata.
    // This is similar to time.loadTzinfoFromZip.
    func loadFromEmbeddedTZData(name string) (string, error) {
    	const (
    		zecheader = 0x06054b50
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 22:30:53 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top