Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for BestCompression (0.67 sec)

  1. src/compress/flate/deflate.go

    // license that can be found in the LICENSE file.
    
    package flate
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"math"
    )
    
    const (
    	NoCompression      = 0
    	BestSpeed          = 1
    	BestCompression    = 9
    	DefaultCompression = -1
    
    	// HuffmanOnly disables Lempel-Ziv match searching and only performs Huffman
    	// entropy encoding. This mode is useful in compressing data that has
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/proxy/transport_test.go

    				s, _ := io.ReadAll(reader)
    				return string(s)
    			},
    		},
    		{
    			encodeType: "deflate",
    			writer: func(ept string) *http.Response {
    				flw, _ := flate.NewWriter(flatebuf, flate.BestCompression)
    				defer flw.Close()
    
    				flw.Write([]byte(ept))
    				flw.Flush()
    				return &http.Response{
    					Body: io.NopCloser(flatebuf),
    				}
    			},
    			reader: func(rep *http.Response) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. api/go1.4.txt

    pkg image, method (*YCbCr) YCbCrAt(int, int) color.YCbCr
    
    # CL 129190043 png: make the encoder configurable, Jeff R. Allen <******@****.***>
    pkg image/png, const BestCompression = -3
    pkg image/png, const BestCompression CompressionLevel
    pkg image/png, const BestSpeed = -2
    pkg image/png, const BestSpeed CompressionLevel
    pkg image/png, const DefaultCompression = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  4. src/compress/flate/deflate_test.go

    	// affects all goroutines.
    	n := debug.SetMaxStack(1 << 16)
    	defer debug.SetMaxStack(n)
    
    	var wg sync.WaitGroup
    	defer wg.Wait()
    
    	b := make([]byte, 1<<20)
    	for level := HuffmanOnly; level <= BestCompression; level++ {
    		// Run in separate goroutine to increase probability of stack regrowth.
    		wg.Add(1)
    		go func(level int) {
    			defer wg.Done()
    			zw, err := NewWriter(io.Discard, level)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Writer).Flush", Method, 0},
    		{"(*Writer).Reset", Method, 2},
    		{"(*Writer).Write", Method, 0},
    		{"(CorruptInputError).Error", Method, 0},
    		{"(InternalError).Error", Method, 0},
    		{"BestCompression", Const, 0},
    		{"BestSpeed", Const, 0},
    		{"CorruptInputError", Type, 0},
    		{"DefaultCompression", Const, 0},
    		{"HuffmanOnly", Const, 7},
    		{"InternalError", Type, 0},
    		{"NewReader", Func, 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. api/go1.txt

    pkg bytes, var ErrTooLarge error
    pkg compress/bzip2, func NewReader(io.Reader) io.Reader
    pkg compress/bzip2, method (StructuralError) Error() string
    pkg compress/bzip2, type StructuralError string
    pkg compress/flate, const BestCompression ideal-int
    pkg compress/flate, const BestSpeed ideal-int
    pkg compress/flate, const DefaultCompression ideal-int
    pkg compress/flate, const NoCompression ideal-int
    pkg compress/flate, func NewReader(io.Reader) io.ReadCloser
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  7. api/go1.1.txt

    pkg bytes, method (*Buffer) Grow(int)
    pkg bytes, method (*Reader) WriteTo(io.Writer) (int64, error)
    pkg compress/flate, const BestCompression = 9
    pkg compress/flate, const BestSpeed = 1
    pkg compress/flate, const DefaultCompression = -1
    pkg compress/flate, const NoCompression = 0
    pkg compress/gzip, const BestCompression = 9
    pkg compress/gzip, const BestSpeed = 1
    pkg compress/gzip, const DefaultCompression = -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top