Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for Decompressor (0.28 sec)

  1. pkg/bootstrap/instance_test.go

    	_ "github.com/envoyproxy/go-control-plane/envoy/extensions/compression/brotli/compressor/v3"
    	_ "github.com/envoyproxy/go-control-plane/envoy/extensions/compression/gzip/compressor/v3"
    	_ "github.com/envoyproxy/go-control-plane/envoy/extensions/compression/zstd/compressor/v3"
    	_ "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/compressor/v3"
    	_ "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/router/v3"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. src/compress/lzw/writer.go

    	tableMask = tableSize - 1
    	// A hash table entry is a uint32. Zero is an invalid entry since the
    	// lower 12 bits of a valid entry must be a non-literal code.
    	invalidEntry = 0
    )
    
    // Writer is an LZW compressor. It writes the compressed form of the data
    // to an underlying writer (see [NewWriter]).
    type Writer struct {
    	// w is the writer that compressed bytes are written to.
    	w writer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. src/compress/flate/deflatefast.go

    		// small loss (~5% performance, ~0.1% density) for compressible data
    		// due to more bookkeeping, but for non-compressible data (such as
    		// JPEG) it's a huge win since the compressor quickly "realizes" the
    		// data is incompressible and doesn't bother looking for matches
    		// everywhere.
    		//
    		// The "skip" variable keeps track of how many bytes there are since
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 19 18:48:17 UTC 2020
    - 9.4K bytes
    - Viewed (0)
  4. src/internal/zstd/zstd_test.go

    			return
    		}
    
    		zstdBigBytes = compressed.Bytes()
    	})
    	if zstdBigErr != nil {
    		t.Fatal(zstdBigErr)
    	}
    	return zstdBigBytes
    }
    
    // Test decompressing a large file. We don't have a compressor,
    // so this test only runs on systems with zstd installed.
    func TestLarge(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping expensive test in short mode")
    	}
    
    	data := bigData(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:39:21 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Writer).CreateRaw", Method, 17},
    		{"(*Writer).Flush", Method, 4},
    		{"(*Writer).RegisterCompressor", Method, 6},
    		{"(*Writer).SetComment", Method, 10},
    		{"(*Writer).SetOffset", Method, 5},
    		{"Compressor", Type, 2},
    		{"Decompressor", Type, 2},
    		{"Deflate", Const, 0},
    		{"ErrAlgorithm", Var, 0},
    		{"ErrChecksum", Var, 0},
    		{"ErrFormat", Var, 0},
    		{"ErrInsecurePath", Var, 20},
    		{"File", Type, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. internal/s3select/select.go

    			s3Select.progressReader.Close()
    
    			var stErr bzip2.StructuralError
    			if errors.As(err, &stErr) {
    				return errInvalidCompression(err, s3Select.Input.CompressionType)
    			}
    			// Test these compressor errors
    			errs := []error{
    				gzip.ErrHeader, gzip.ErrChecksum,
    				s2.ErrCorrupt, s2.ErrUnsupported, s2.ErrCRC,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. src/net/http/response_test.go

    				_, err := io.ReadFull(rand.Reader, chunk)
    				checkErr(err, "rand.Reader ReadFull")
    			}
    			wr.Write(chunk)
    		}
    		if test.compressed {
    			err := wr.(*gzip.Writer).Close()
    			checkErr(err, "compressor close")
    		}
    		if test.chunked {
    			buf.WriteString("0\r\n\r\n")
    		}
    		buf.WriteString("Next Request Here")
    
    		bufr := bufio.NewReader(&buf)
    		resp, err := ReadResponse(bufr, dummyReq("GET"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 19:01:29 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. src/compress/flate/deflate_test.go

    		}
    	}
    	t.Logf("got %d bytes", len(out1))
    }
    
    // TestBestSpeed tests that round-tripping through deflate and then inflate
    // recovers the original input. The Write sizes are near the thresholds in the
    // compressor.encSpeed method (0, 16, 128), as well as near maxStoreBlockSize
    // (65535).
    func TestBestSpeed(t *testing.T) {
    	t.Parallel()
    	abc := make([]byte, 128)
    	for i := range abc {
    		abc[i] = byte(i)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    // client closed the stream prematurely.
    func newS2CompressReader(r io.Reader, on int64, encrypted bool) (rc io.ReadCloser, idx func() []byte) {
    	pr, pw := io.Pipe()
    	// Copy input to compressor
    	opts := compressOpts
    	if encrypted {
    		// The values used for padding are not a security concern,
    		// but we choose pseudo-random numbers instead of just zeros.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. api/go1.2.txt

    pkg archive/zip, func RegisterCompressor(uint16, Compressor)
    pkg archive/zip, func RegisterDecompressor(uint16, Decompressor)
    pkg archive/zip, method (*File) DataOffset() (int64, error)
    pkg archive/zip, type Compressor func(io.Writer) (io.WriteCloser, error)
    pkg archive/zip, type Decompressor func(io.Reader) io.ReadCloser
    pkg bufio, method (*Reader) Reset(io.Reader)
    pkg bufio, method (*Writer) Reset(io.Writer)
    pkg compress/flate, method (*Writer) Reset(io.Writer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
Back to top