- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for uncompressed (0.35 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
docs/en/docs/how-to/custom-request-and-route.md
If there's no `gzip` in the header, it will not try to decompress the body. That way, the same route class can handle gzip compressed or uncompressed requests. ```Python hl_lines="8-15" {!../../../docs_src/custom_request_and_route/tutorial001.py!} ``` ### Create a custom `GzipRoute` class
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Mar 31 23:52:53 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/AbstractTaskOutputPackagingBenchmark.java
} DataTarget target = accessor.createTarget(name, Level.Trial); packer.pack(inputs, target); DataSource source = target.toSource(); System.out.printf(">>> %s is %d bytes long (uncompressed length: %d, compression ratio: %,.2f%%)%n", name, source.getLength(), sumLength, (double) source.getLength() / sumLength); return source; } @Benchmark public void pack() throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 7.2K bytes - Viewed (0)