Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for encSpeed (0.11 sec)

  1. src/compress/flate/deflate.go

    	b = b[:len(a)]
    	for i, av := range a {
    		if b[i] != av {
    			return i
    		}
    	}
    	return max
    }
    
    // encSpeed will compress and store the currently added data,
    // if enough has been accumulated or we at the end of the stream.
    // Any error that occurred will be in d.err
    func (d *compressor) encSpeed() {
    	// We only compress if we have maxStoreBlockSize.
    	if d.windowEnd < maxStoreBlockSize {
    		if !d.sync {
    			return
    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. 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)
  3. internal/config/scanner/scanner.go

    package scanner
    
    import (
    	"fmt"
    	"strconv"
    	"time"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/env"
    )
    
    // Compression environment variables
    const (
    	Speed    = "speed"
    	EnvSpeed = "MINIO_SCANNER_SPEED"
    
    	IdleSpeed    = "idle_speed"
    	EnvIdleSpeed = "MINIO_SCANNER_IDLE_SPEED"
    
    	ExcessVersions    = "alert_excess_versions"
    	EnvExcessVersions = "MINIO_SCANNER_ALERT_EXCESS_VERSIONS"
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top