Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for maxCodes (0.14 sec)

  1. src/image/jpeg/huffman.go

    				}
    				code++
    				x++
    			}
    		}
    
    		// Derive minCodes, maxCodes, and valsIndices.
    		var c, index int32
    		for i, n := range nCodes {
    			if n == 0 {
    				h.minCodes[i] = -1
    				h.maxCodes[i] = -1
    				h.valsIndices[i] = -1
    			} else {
    				h.minCodes[i] = c
    				h.maxCodes[i] = c + n - 1
    				h.valsIndices[i] = index
    				c += n
    				index += n
    			}
    			c <<= 1
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. pkg/kubemark/hollow_kubelet.go

    	c.NodeStatusReportFrequency.Duration = 5 * time.Minute
    	c.SyncFrequency.Duration = 10 * time.Second
    	c.EvictionPressureTransitionPeriod.Duration = 5 * time.Minute
    	c.MaxPods = int32(opt.MaxPods)
    	c.PodsPerCore = int32(opt.PodsPerCore)
    	c.ClusterDNS = []string{}
    	c.ImageGCHighThresholdPercent = 90
    	c.ImageGCLowThresholdPercent = 80
    	c.ProviderID = fmt.Sprintf("kubemark://%v", opt.NodeName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. src/compress/lzw/writer.go

    type writer interface {
    	io.ByteWriter
    	Flush() error
    }
    
    const (
    	// A code is a 12 bit value, stored as a uint32 when encoding to avoid
    	// type conversions when shifting bits.
    	maxCode     = 1<<12 - 1
    	invalidCode = 1<<32 - 1
    	// There are 1<<12 possible codes, which is an upper bound on the number of
    	// valid hash table entries at any given point in time. tableSize is 4x that.
    	tableSize = 4 * 1 << 12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/scheme/testdata/KubeletConfiguration/roundtrip/default/v1beta1.yaml

    logging:
      flushFrequency: 5s
      format: text
      options:
        json:
          infoBufferSize: "0"
        text:
          infoBufferSize: "0"
      verbosity: 0
    makeIPTablesUtilChains: true
    maxOpenFiles: 1000000
    maxPods: 110
    memoryManagerPolicy: None
    memorySwap: {}
    memoryThrottlingFactor: 0.9
    nodeLeaseDurationSeconds: 40
    nodeStatusMaxImages: 50
    nodeStatusReportFrequency: 5m0s
    nodeStatusUpdateFrequency: 10s
    oomScoreAdj: -999
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 05:07:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/scheme/testdata/KubeletConfiguration/after/v1beta1.yaml

    logging:
      flushFrequency: 5s
      format: text
      options:
        json:
          infoBufferSize: "0"
        text:
          infoBufferSize: "0"
      verbosity: 0
    makeIPTablesUtilChains: true
    maxOpenFiles: 1000000
    maxPods: 110
    memoryManagerPolicy: None
    memorySwap: {}
    memoryThrottlingFactor: 0.9
    nodeLeaseDurationSeconds: 40
    nodeStatusMaxImages: 50
    nodeStatusReportFrequency: 5m0s
    nodeStatusUpdateFrequency: 10s
    oomScoreAdj: -999
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 05:07:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/config/v1beta1/defaults.go

    		obj.RuntimeRequestTimeout = metav1.Duration{Duration: 2 * time.Minute}
    	}
    	if obj.HairpinMode == "" {
    		obj.HairpinMode = kubeletconfigv1beta1.PromiscuousBridge
    	}
    	if obj.MaxPods == 0 {
    		obj.MaxPods = 110
    	}
    	// default nil or negative value to -1 (implies node allocatable pid limit)
    	if obj.PodPidsLimit == nil || *obj.PodPidsLimit < int64(0) {
    		obj.PodPidsLimit = utilpointer.Int64(-1)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/config/fuzzer/fuzzer.go

    			obj.ImageMaximumGCAge = metav1.Duration{}
    			obj.ImageGCHighThresholdPercent = 85
    			obj.ImageGCLowThresholdPercent = 80
    			obj.KernelMemcgNotification = false
    			obj.MaxOpenFiles = 1000000
    			obj.MaxPods = 110
    			obj.MemoryManagerPolicy = v1beta1.NoneMemoryManagerPolicy
    			obj.PodPidsLimit = -1
    			obj.NodeStatusUpdateFrequency = metav1.Duration{Duration: 10 * time.Second}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/compress/flate/huffman_code.go

    	// up to the next level
    	needed int32
    }
    
    // set sets the code and length of an hcode.
    func (h *hcode) set(code uint16, length uint16) {
    	h.len = length
    	h.code = code
    }
    
    func maxNode() literalNode { return literalNode{math.MaxUint16, math.MaxInt32} }
    
    func newHuffmanEncoder(size int) *huffmanEncoder {
    	return &huffmanEncoder{codes: make([]hcode, size)}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 9.7K bytes
    - Viewed (0)
Back to top