- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 239 for uncompressed (0.3 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/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) -
internal/s3select/message.go
// - BytesScanned => Number of bytes that have been processed before being uncompressed (if the file is compressed). // - BytesProcessed => Number of bytes that have been processed after being uncompressed (if the file is compressed). // - BytesReturned => Current number of bytes of records payload data returned by S3. // // For uncompressed files, BytesScanned and BytesProcessed are equal. // // Example: //
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Aug 30 15:26:43 UTC 2022 - 15.2K bytes - Viewed (0) -
src/net/http/response.go
// ReadResponse nor Response.Write ever closes a connection. Close bool // Uncompressed reports whether the response was sent compressed but // was decompressed by the http package. When true, reading from // Body yields the uncompressed content instead of the compressed // content actually set from the server, ContentLength is set to -1,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 11.1K 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)