Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 102 for uncompressed (0.18 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

        callback.assertTextMessage("Hello")
      }
    
      @Test fun serverWithCompressionCompressedHelloTwoChunks() {
        data.write("418460b420bb92fced72".decodeHex()) // first 4 bytes of compressed 'Hello'
        data.write("80833851d9d4f156d9".decodeHex()) // last 3 bytes of compressed 'Hello'
        serverReaderWithCompression.processNextFrame()
        callback.assertTextMessage("Hello")
      }
    
      @Test fun clientTwoFrameHello() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. src/internal/zstd/block.go

    package zstd
    
    import (
    	"io"
    )
    
    // debug can be set in the source to print debug info using println.
    const debug = false
    
    // compressedBlock decompresses a compressed block, storing the decompressed
    // data in r.buffer. The blockSize argument is the compressed size.
    // RFC 3.1.1.3.
    func (r *Reader) compressedBlock(blockSize int) error {
    	if len(r.compressedBuf) >= blockSize {
    		r.compressedBuf = r.compressedBuf[:blockSize]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 17:57:43 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  3. src/debug/elf/file.go

    	Link      uint32
    	Info      uint32
    	Addralign uint64
    	Entsize   uint64
    
    	// FileSize is the size of this section in the file in bytes.
    	// If a section is compressed, FileSize is the size of the
    	// compressed data, while Size (above) is the size of the
    	// uncompressed data.
    	FileSize uint64
    }
    
    // A Section represents a single section in an ELF file.
    type Section struct {
    	SectionHeader
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  4. pkg/wasm/imagefetcher_test.go

    	)
    }
    
    type mockLayer struct {
    	raw       []byte
    	diffID    v1.Hash
    	mediaType types.MediaType
    }
    
    func (r *mockLayer) DiffID() (v1.Hash, error) { return v1.Hash{}, nil }
    func (r *mockLayer) Uncompressed() (io.ReadCloser, error) {
    	return io.NopCloser(bytes.NewBuffer(r.raw)), nil
    }
    func (r *mockLayer) MediaType() (types.MediaType, error) { return r.mediaType, nil }
    
    func TestExtractOCIArtifactImage(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 05 04:15:17 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

            then:
            def uncompressedSize = file('build/uncompressedTest.zip').length()
            def compressedSize = file('build/compressedTest.zip').length()
            println "uncompressed" + uncompressedSize
            println "compressed" + compressedSize
            assert compressedSize < uncompressedSize
    
            def expandDir = file('expandedUncompressed')
            file('build/uncompressedTest.zip').unzipTo(expandDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/declaring_dependencies.adoc

    In JavaScript, a library may exist as uncompressed or minified artifact. In Gradle, a specific artifact identifier is called _classifier_, a term generally used in Maven and Ivy dependency management.
    
    Let's say we wanted to download the minified artifact of the JQuery library instead of the uncompressed file. You can provide the classifier `min` as part of the dependency declaration.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 30.1K bytes
    - Viewed (0)
  7. src/compress/flate/huffman_bit_writer.go

    	offsetFreq[0] = 1
    	huffOffset = newHuffmanEncoder(offsetCodeCount)
    	huffOffset.generate(offsetFreq, 15)
    }
    
    // writeBlockHuff encodes a block of bytes as either
    // Huffman encoded literals or uncompressed bytes if the
    // results only gains very little from compression.
    func (w *huffmanBitWriter) writeBlockHuff(eof bool, input []byte) {
    	if w.err != nil {
    		return
    	}
    
    	// Clear histogram
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:59:14 UTC 2022
    - 18.4K bytes
    - Viewed (0)
  8. src/time/zoneinfo.go

    // in the IANA Time Zone database, such as "America/New_York".
    //
    // LoadLocation looks for the IANA Time Zone database in the following
    // locations in order:
    //
    //   - the directory or uncompressed zip file named by the ZONEINFO environment variable
    //   - on a Unix system, the system standard installation location
    //   - $GOROOT/lib/time/zoneinfo.zip
    //   - the time/tzdata package, if it was imported
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    		if err == nil {
    			p.addLegacyFrameInfo()
    			return p, nil
    		}
    		if err != errUnrecognized {
    			return nil, err
    		}
    	}
    	return nil, errUnrecognized
    }
    
    // ParseUncompressed parses an uncompressed protobuf into a profile.
    func ParseUncompressed(data []byte) (*Profile, error) {
    	if len(data) == 0 {
    		return nil, errNoData
    	}
    	p := &Profile{}
    	if err := unmarshal(data, p); err != nil {
    		return nil, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. src/net/http/clientserver_test.go

    			io.WriteString(w, "\x1f\x8b\b\x00\x00\x00\x00\x00\x00\x00s\xf3\xf7\a\x00\xab'\xd4\x1a\x03\x00\x00\x00")
    		},
    		EarlyCheckResponse: func(proto string, res *Response) {
    			if !res.Uncompressed {
    				t.Errorf("%s: expected Uncompressed to be set", proto)
    			}
    			dump, err := httputil.DumpResponse(res, true)
    			if err != nil {
    				t.Errorf("%s: DumpResponse: %v", proto, err)
    				return
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
Back to top