Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,307 for deflate (0.17 sec)

  1. src/compress/flate/inflate.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package flate implements the DEFLATE compressed data format, described in
    // RFC 1951.  The gzip and zlib packages implement access to DEFLATE-based file
    // formats.
    package flate
    
    import (
    	"bufio"
    	"io"
    	"math/bits"
    	"strconv"
    	"sync"
    )
    
    const (
    	maxCodeLen = 16 // max length of Huffman code
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  2. src/compress/zlib/writer.go

    package zlib
    
    import (
    	"compress/flate"
    	"encoding/binary"
    	"fmt"
    	"hash"
    	"hash/adler32"
    	"io"
    )
    
    // These constants are copied from the flate package, so that code that imports
    // "compress/zlib" does not also have to import "compress/flate".
    const (
    	NoCompression      = flate.NoCompression
    	BestSpeed          = flate.BestSpeed
    	BestCompression    = flate.BestCompression
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 18:51:27 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathEntryVisitor.java

         */
        void visit(Entry entry) throws IOException;
    
        interface Entry {
            enum CompressionMethod {
                /**
                 * The entry is compressed with DEFLATE algorithm.
                 */
                DEFLATED,
                /**
                 * The entry is not compressed and stored as is.
                 */
                STORED,
                /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 30 22:03:46 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/ZipEntry.java

    public interface ZipEntry {
        /**
         * The compression method used for an entry
         */
        enum ZipCompressionMethod {
            /**
             * The entry is compressed with DEFLATE algorithm.
             */
            DEFLATED,
    
            /**
             * The entry is stored uncompressed.
             */
            STORED,
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

        }
    
        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
        assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip, x-gzip, deflate")
        assertThat(recorded.headers["Connection"]).isEqualTo("keep-alive")
        assertThat(recorded.headers["User-Agent"]!!).startsWith("Apache-HttpClient/")
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/net/http2/hpack/static_table.go

    		{name: ":status", value: "404"}:                   13,
    		{name: ":status", value: "500"}:                   14,
    		{name: "accept-charset", value: ""}:               15,
    		{name: "accept-encoding", value: "gzip, deflate"}: 16,
    		{name: "accept-language", value: ""}:              17,
    		{name: "accept-ranges", value: ""}:                18,
    		{name: "accept", value: ""}:                       19,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 22:32:44 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  7. src/compress/flate/flate_test.go

    	// according to the C zlib library, you can use the Python wrapper library:
    	// >>> hex_string = "010100feff11"
    	// >>> import zlib
    	// >>> zlib.decompress(hex_string.decode("hex"), -15) # Negative means raw DEFLATE
    	// '\x11'
    
    	testCases := []struct {
    		desc   string // Description of the stream
    		stream string // Hexstring of the input DEFLATE stream
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 11K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go

    		},
    
    		{
    			name:               "ignore compression on deflate",
    			compressionEnabled: true,
    			out:                largePayload,
    			mediaType:          "application/json",
    			req: &http.Request{
    				Header: http.Header{
    					"Accept-Encoding": []string{"deflate"},
    				},
    				URL: &url.URL{Path: "/path"},
    			},
    			wantCode: http.StatusOK,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/net/http/readrequest_test.go

    			"Host: www.techcrunch.com\r\n" +
    			"User-Agent: Fake\r\n" +
    			"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n" +
    			"Accept-Language: en-us,en;q=0.5\r\n" +
    			"Accept-Encoding: gzip,deflate\r\n" +
    			"Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n" +
    			"Keep-Alive: 300\r\n" +
    			"Content-Length: 7\r\n" +
    			"Proxy-Connection: keep-alive\r\n\r\n" +
    			"abcdef\n???",
    
    		&Request{
    			Method: "GET",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 22:23:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       * structures.
       *
       * We make such subtle calls in [okhttp3.internal.ws.MessageInflater] because we try to read a
       * compressed stream that is terminated in a web socket frame even though the DEFLATE stream is
       * not terminated.
       *
       * Use this method to create a degenerate Okio Buffer where each byte is in a separate segment of
       * the internal list.
       */
      @JvmStatic
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top