Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewFit (0.21 sec)

  1. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    				test.args.ScoringStrategy = defaultScoringStrategy
    			}
    
    			_, ctx := ktesting.NewTestContext(t)
    			ctx, cancel := context.WithCancel(ctx)
    			defer cancel()
    			p, err := NewFit(ctx, &test.args, nil, plfeature.Features{})
    			if err != nil {
    				t.Fatal(err)
    			}
    			cycleState := framework.NewCycleState()
    			_, preFilterStatus := p.(framework.PreFilterPlugin).PreFilter(ctx, cycleState, test.pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    	configv1.Convert_v1_DefaultPreemptionArgs_To_config_DefaultPreemptionArgs(v1dpa, dpa, nil)
    	return dpa
    }
    
    var nodeResourcesFitFunc = frameworkruntime.FactoryAdapter(feature.Features{}, noderesources.NewFit)
    var podTopologySpreadFunc = frameworkruntime.FactoryAdapter(feature.Features{}, podtopologyspread.New)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. src/runtime/map.go

    		advanceEvacuationMark(h, t, newbit)
    	}
    }
    
    func advanceEvacuationMark(h *hmap, t *maptype, newbit uintptr) {
    	h.nevacuate++
    	// Experiments suggest that 1024 is overkill by at least an order of magnitude.
    	// Put it in there as a safeguard anyway, to ensure O(1) behavior.
    	stop := h.nevacuate + 1024
    	if stop > newbit {
    		stop = newbit
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top