Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 128 for Deflate (0.69 sec)

  1. src/crypto/rand/rand_test.go

    package rand
    
    import (
    	"bytes"
    	"compress/flate"
    	"io"
    	"testing"
    )
    
    func TestRead(t *testing.T) {
    	var n int = 4e6
    	if testing.Short() {
    		n = 1e5
    	}
    	b := make([]byte, n)
    	n, err := io.ReadFull(Reader, b)
    	if n != len(b) || err != nil {
    		t.Fatalf("ReadFull(buf) = %d, %s", n, err)
    	}
    
    	var z bytes.Buffer
    	f, _ := flate.NewWriter(&z, 5)
    	f.Write(b)
    	f.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.bundling.Zip.xml

                    <td>metadataCharset</td>
                    <td>Platform default encoding</td>
                </tr>
                <tr>
                    <td>entryCompression</td>
                    <td><literal>ZipEntryCompression.DEFLATED</literal></td>
                </tr>
                <tr>
                    <td>metadataCharset</td>
                    <td>Platform default encoding</td>
                </tr>
                <tr>
                    <td>zip64</td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1003 bytes
    - Viewed (0)
  3. src/compress/zlib/reader.go

    			z.err = ErrDictionary
    			return z.err
    		}
    	}
    
    	if z.decompressor == nil {
    		if haveDict {
    			z.decompressor = flate.NewReaderDict(z.r, dict)
    		} else {
    			z.decompressor = flate.NewReader(z.r)
    		}
    	} else {
    		z.decompressor.(flate.Resetter).Reset(z.r, dict)
    	}
    	z.digest = adler32.New()
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageInflater.kt

          true,
        )
    
      private val inflaterSource = InflaterSource(deflatedBytes, inflater)
    
      /** Inflates [buffer] in place as described in RFC 7692 section 7.2.2. */
      @Throws(IOException::class)
      fun inflate(buffer: Buffer) {
        require(deflatedBytes.size == 0L)
    
        if (noContextTakeover) {
          inflater.reset()
        }
    
        deflatedBytes.writeAll(buffer)
        deflatedBytes.writeInt(OCTETS_TO_ADD_BEFORE_INFLATION)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathWalker.java

                switch (entry.getCompressionMethod()) {
                    case STORED:
                        return CompressionMethod.STORED;
                    case DEFLATED:
                        return CompressionMethod.DEFLATED;
                    default:
                        // Zip entries can be in many formats but JARs are unlikely to have them as JVM doesn't
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. OWNERS

          - bgrant0607
          - brendandburns
          - dchen1107
          - jbeda
          - lavalamp
          - liggitt
          - smarterclayton
          - thockin
          - wojtek-t
      # go.{mod,sum} files relate to go dependencies, and should be reviewed by the
      # dep-approvers
      "go\\.(mod|sum)$":
        required_reviewers:
          - kubernetes/dep-approvers
        labels:
          - area/dependency
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 17:43:04 UTC 2022
    - 846 bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/11-language-change.yml

      - type: textarea
        id: generics-proposal
        attributes:
          label: Is this about generics?
          description: If so, how does this relate to the accepted design and other generics proposals?
          placeholder: |
           Yes or No
    
           If yes, 
            1. how does this relate to the accepted design and other generics proposals?
    
        validations:
          required: true
    
      - type: textarea
        id: proposal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 20:49:24 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. src/net/http/h2_bundle.go

    	if !cc.t.disableCompression() &&
    		req.Header.Get("Accept-Encoding") == "" &&
    		req.Header.Get("Range") == "" &&
    		!cs.isHead {
    		// Request gzip only, not deflate. Deflate is ambiguous and
    		// not as universally supported anyway.
    		// See: https://zlib.net/zlib_faq.html#faq39
    		//
    		// Note that we don't request this for HEAD requests,
    		// due to a bug in nginx:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  9. src/runtime/testdata/testprog/checkptr.go

    }
    
    // CheckPtrAlignmentNilPtr tests that checkptrAlignment doesn't crash
    // on nil pointers (#47430).
    func CheckPtrAlignmentNilPtr() {
    	var do func(int)
    	do = func(n int) {
    		// Inflate the stack so runtime.shrinkstack gets called during GC
    		if n > 0 {
    			do(n - 1)
    		}
    
    		var p unsafe.Pointer
    		_ = (*int)(p)
    	}
    
    	go func() {
    		for {
    			runtime.GC()
    		}
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 17:15:15 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. src/compress/flate/reader_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package flate
    
    import (
    	"bytes"
    	"io"
    	"os"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    func TestNlitOutOfRange(t *testing.T) {
    	// Trying to decode this bogus flate data, which has a Huffman table
    	// with nlit=288, should not panic.
    	io.Copy(io.Discard, NewReader(strings.NewReader(
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 2.3K bytes
    - Viewed (0)
Back to top