Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for maxNode (0.16 sec)

  1. 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)
  2. cmd/kubemark/app/hollow_node.go

    	RegisterWithTaints      []v1.Taint
    	MaxPods                 int
    	ExtendedResources       map[string]string
    	UseHostImageService     bool
    
    	// Deprecated config; remove these with the corresponding flags
    	UseRealProxier       bool
    	ProxierSyncPeriod    time.Duration
    	ProxierMinSyncPeriod time.Duration
    }
    
    const (
    	maxPods     = 110
    	podsPerCore = 0
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. pkg/kubelet/userns/userns_manager_test.go

    		{
    			name:           "range can't fit maxPods",
    			mappingFirstID: 65536,
    			mappingLen:     65536,
    			maxPods:        2,
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			testUserNsPodsManager := &testUserNsPodsManager{
    				podDir:         t.TempDir(),
    				mappingFirstID: tc.mappingFirstID,
    				mappingLen:     tc.mappingLen,
    				maxPods:        tc.maxPods,
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    // SelectTopNodePtrs returns a set of the top maxNodes *Node in a graph.
    func (g *Graph) SelectTopNodePtrs(maxNodes int, visualMode bool) NodePtrSet {
    	set := make(NodePtrSet)
    	for _, node := range g.selectTopNodes(maxNodes, visualMode) {
    		set[node] = true
    	}
    	return set
    }
    
    // SelectTopNodes returns a set of the top maxNodes nodes in a graph.
    func (g *Graph) SelectTopNodes(maxNodes int, visualMode bool) NodeSet {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  6. pkg/kubelet/nodestatus/setters_test.go

    						v1.ResourcePods:   *resource.NewQuantity(110, resource.DecimalSI),
    					},
    				},
    			},
    		},
    		{
    			desc:        "podsPerCore greater than zero, but less than maxPods/cores",
    			node:        &v1.Node{},
    			maxPods:     10,
    			podsPerCore: 4,
    			machineInfo: &cadvisorapiv1.MachineInfo{
    				NumCores:       2,
    				MemoryCapacity: 1024,
    			},
    			expectNode: &v1.Node{
    				Status: v1.NodeStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. internal/kms/kes.go

    			Cause:   err,
    		}
    	}
    
    	list := make([]madmin.KMSAPI, 0, len(APIs))
    	for _, api := range APIs {
    		list = append(list, madmin.KMSAPI{
    			Method:  api.Method,
    			Path:    api.Path,
    			MaxBody: api.MaxBody,
    			Timeout: int64(api.Timeout.Truncate(time.Second).Seconds()),
    		})
    	}
    	return list, nil
    }
    
    // Stat returns the current KES status containing a
    // list of KES endpoints and the default key ID.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. pkg/kubelet/nodestatus/setters.go

    			if podsPerCore > 0 {
    				node.Status.Capacity[v1.ResourcePods] = *resource.NewQuantity(
    					int64(math.Min(float64(info.NumCores*podsPerCore), float64(maxPods))), resource.DecimalSI)
    			} else {
    				node.Status.Capacity[v1.ResourcePods] = *resource.NewQuantity(
    					int64(maxPods), resource.DecimalSI)
    			}
    
    			if node.Status.NodeInfo.BootID != "" &&
    				node.Status.NodeInfo.BootID != info.BootID {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/helpers_test.go

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers_test.go

    					MaxReplicas: 10,
    				},
    				Status: autoscaling.HorizontalPodAutoscalerStatus{
    					CurrentReplicas: 4,
    					DesiredReplicas: 5,
    				},
    			},
    			// Columns: Name, Reference, Targets, MinPods, MaxPods, Replicas, Age
    			expected: []metav1.TableRow{{Cells: []interface{}{"some-hpa", "ReplicationController/some-rc", "<none>", "<unset>", int64(10), int64(4), "<unknown>"}}},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top