Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for uncompressed (0.12 sec)

  1. 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)
  2. 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)
  3. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

      fun request(): Request
    
      /**
       * Returns the size in bytes of all messages enqueued to be transmitted to the server. This
       * doesn't include framing overhead. If compression is enabled, uncompressed messages size
       * is used to calculate this value. It also doesn't include any bytes buffered by the operating
       * system or network intermediaries. This method returns 0 if no messages are waiting in the
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/compress/gzip/gzip.go

    // A Writer is an io.WriteCloser.
    // Writes to a Writer are compressed and written to w.
    type Writer struct {
    	Header      // written at first call to Write, Flush, or Close
    	w           io.Writer
    	level       int
    	wroteHeader bool
    	closed      bool
    	buf         [10]byte
    	compressor  *flate.Writer
    	digest      uint32 // CRC-32, IEEE polynomial (section 8)
    	size        uint32 // Uncompressed size (section 2.3.1)
    	err         error
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/core-plugins/distribution_plugin.adoc

    The files will be created at `__layout.buildDirectory.dir__("distributions/__${project.name}__-__${project.version}__.__«ext»__")`.
    
    You can run `gradle installDist` to assemble the uncompressed distribution into `__layout.buildDirectory.dir__("install/__${project.name}__")`.
    
    [[sec:distribution_tasks]]
    == Tasks
    
    The Distribution Plugin adds a number of tasks to your project, as shown below.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. src/crypto/ecdh/ecdh.go

    	NewPrivateKey(key []byte) (*PrivateKey, error)
    
    	// NewPublicKey checks that key is valid and returns a PublicKey.
    	//
    	// For NIST curves, this decodes an uncompressed point according to SEC 1,
    	// Version 2.0, Section 2.3.4. Compressed encodings and the point at
    	// infinity are rejected.
    	//
    	// For X25519, this only checks the u-coordinate length. Adversarially
    	// selected public keys can cause ECDH to return an error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. src/compress/lzw/reader.go

    		r.bits |= uint32(x) << (24 - r.nBits)
    		r.nBits += 8
    	}
    	code := uint16(r.bits >> (32 - r.width))
    	r.bits <<= r.width
    	r.nBits -= r.width
    	return code, nil
    }
    
    // Read implements io.Reader, reading uncompressed bytes from its underlying [Reader].
    func (r *Reader) Read(b []byte) (int, error) {
    	for {
    		if len(r.toRead) > 0 {
    			n := copy(b, r.toRead)
    			r.toRead = r.toRead[n:]
    			return n, nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:39 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. src/crypto/elliptic/nistec.go

    		return p, errors.New("overflowing coordinate")
    	}
    	// Encode the coordinates and let SetBytes reject invalid points.
    	byteLen := (curve.params.BitSize + 7) / 8
    	buf := make([]byte, 1+2*byteLen)
    	buf[0] = 4 // uncompressed point
    	x.FillBytes(buf[1 : 1+byteLen])
    	y.FillBytes(buf[1+byteLen : 1+2*byteLen])
    	return curve.newPoint().SetBytes(buf)
    }
    
    func (curve *nistCurve[Point]) pointToAffine(p Point) (x, y *big.Int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 16:19:34 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  9. pkg/controller/nodeipam/ipam/cidrset/cidr_set.go

    }
    
    const (
    	// The subnet mask size cannot be greater than 16 more than the cluster mask size
    	// TODO: https://github.com/kubernetes/kubernetes/issues/44918
    	// clusterSubnetMaxDiff limited to 16 due to the uncompressed bitmap
    	// Due to this limitation the subnet mask for IPv6 cluster cidr needs to be >= 48
    	// as default mask size for IPv6 is 64.
    	clusterSubnetMaxDiff = 16
    	// halfIPv6Len is the half of the IPv6 length
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 11 08:53:03 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  10. src/image/png/writer_test.go

    						t.Errorf("got error while reading image data: %v", err)
    					}
    					if n != int64(tc.datalen) {
    						t.Errorf("got uncompressed data length %d, want %d", n, tc.datalen)
    					}
    				}
    
    				i += chunkFieldsLength + int(length)
    			}
    		})
    
    	}
    }
    
    func TestWriterLevels(t *testing.T) {
    	m := image.NewNRGBA(image.Rect(0, 0, 100, 100))
    
    	var b1, b2 bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 14 08:14:05 UTC 2022
    - 8.9K bytes
    - Viewed (0)
Back to top