Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for maxCodes (0.19 sec)

  1. 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)
  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/kubelet/apis/config/validation/validation_test.go

    		errMsg: "invalid configuration: maxOpenFiles (--max-open-files) -1 must not be a negative number",
    	}, {
    		name: "invalid MaxPods",
    		configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
    			conf.MaxPods = -1
    			return conf
    		},
    		errMsg: "invalid configuration: maxPods (--max-pods) -1 must not be a negative number",
    	}, {
    		name: "invalid OOMScoreAdj",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/validation/validation.go

    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: maxOpenFiles (--max-open-files) %v must not be a negative number", kc.MaxOpenFiles))
    	}
    	if kc.MaxPods < 0 {
    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: maxPods (--max-pods) %v must not be a negative number", kc.MaxPods))
    	}
    	if utilvalidation.IsInRange(int(kc.OOMScoreAdj), -1000, 1000) != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. pkg/kubelet/preemption/preemption_test.go

    	burstable             = "burstable"
    	highRequestBurstable  = "high-request-burstable"
    	guaranteed            = "guaranteed"
    	highRequestGuaranteed = "high-request-guaranteed"
    	tinyBurstable         = "tiny"
    	maxPods               = 110
    )
    
    type fakePodKiller struct {
    	killedPods          []*v1.Pod
    	errDuringPodKilling bool
    }
    
    func newFakePodKiller(errPodKilling bool) *fakePodKiller {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 24 10:04:08 UTC 2022
    - 19.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go

    	{"kern.maxfiles", []_C_int{1, 7}},
    	{"kern.maxlocksperuid", []_C_int{1, 70}},
    	{"kern.maxpartitions", []_C_int{1, 23}},
    	{"kern.maxproc", []_C_int{1, 6}},
    	{"kern.maxthread", []_C_int{1, 25}},
    	{"kern.maxvnodes", []_C_int{1, 5}},
    	{"kern.mbstat", []_C_int{1, 59}},
    	{"kern.msgbuf", []_C_int{1, 48}},
    	{"kern.msgbufsize", []_C_int{1, 38}},
    	{"kern.nchstats", []_C_int{1, 41}},
    	{"kern.netlivelocks", []_C_int{1, 76}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go

    	{"kern.maxfiles", []_C_int{1, 7}},
    	{"kern.maxlocksperuid", []_C_int{1, 70}},
    	{"kern.maxpartitions", []_C_int{1, 23}},
    	{"kern.maxproc", []_C_int{1, 6}},
    	{"kern.maxthread", []_C_int{1, 25}},
    	{"kern.maxvnodes", []_C_int{1, 5}},
    	{"kern.mbstat", []_C_int{1, 59}},
    	{"kern.msgbuf", []_C_int{1, 48}},
    	{"kern.msgbufsize", []_C_int{1, 38}},
    	{"kern.nchstats", []_C_int{1, 41}},
    	{"kern.netlivelocks", []_C_int{1, 76}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12K bytes
    - Viewed (0)
Back to top