Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 464 for scores (0.31 sec)

  1. pkg/scheduler/testing/framework/fake_extender.go

    	return "Node2Prioritizer"
    }
    
    // Score return score 100 if the given nodeName is "node2"; otherwise return score 10.
    func (pl *node2PrioritizerPlugin) Score(_ context.Context, _ *framework.CycleState, _ *v1.Pod, nodeName string) (int64, *framework.Status) {
    	score := 10
    	if nodeName == "node2" {
    		score = 100
    	}
    	return int64(score), nil
    }
    
    // ScoreExtensions returns nil.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt

         */
        public fun KaScopeContext.getCompositeScope(filter: (KaScopeKind) -> Boolean = { true }): KaScope = withValidityAssertion {
            val subScopes = scopes.filter { filter(it.kind) }.map { it.scope }
            subScopes.asCompositeScope()
        }
    }
    
    public typealias KtScopeProviderMixIn = KaScopeProviderMixIn
    
    public class KaScopeContext(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. pkg/scheduler/apis/config/validation/validation_pluginargs_test.go

    			features: map[featuregate.Feature]bool{
    				features.VolumeCapacityPriority: true,
    			},
    			args: config.VolumeBindingArgs{
    				BindTimeoutSeconds: 10,
    				Shape: []config.UtilizationShapePoint{
    					{Utilization: -1, Score: 1},
    					{Utilization: 10, Score: -1},
    					{Utilization: 20, Score: 11},
    					{Utilization: 101, Score: 1},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  4. src/sync/atomic/doc.go

    func LoadPointer(addr *unsafe.Pointer) (val unsafe.Pointer)
    
    // StoreInt32 atomically stores val into *addr.
    // Consider using the more ergonomic and less error-prone [Int32.Store] instead.
    func StoreInt32(addr *int32, val int32)
    
    // StoreInt64 atomically stores val into *addr.
    // Consider using the more ergonomic and less error-prone [Int64.Store] instead
    // (particularly if you target 32-bit platforms; see the bugs section).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

            List<String> scopes = new ArrayList<>(2);
            if (scopeToCollect != null && !scopeToCollect.isEmpty()) {
                scopes.add(scopeToCollect);
            }
            if (scopeToResolve != null && !scopeToResolve.isEmpty()) {
                scopes.add(scopeToResolve);
            }
    
            if (scopes.isEmpty()) {
                return null;
            } else {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    			},
    			expectedList: []framework.NodeScore{
    				{Name: "nodeA", Score: framework.MaxNodeScore},
    				{Name: "nodeB", Score: framework.MaxNodeScore},
    				{Name: "nodeC", Score: framework.MaxNodeScore},
    			},
    		},
    		// the count of taints on a node that are not tolerated by pod, matters.
    		{
    			name: "the more intolerable taints a node has, the lower score it gets.",
    			pod: podWithTolerations("pod1", []v1.Toleration{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/memcombine.go

    	defer f.retSparseSet(mark)
    	var order []*Value
    
    	for _, b := range f.Blocks {
    		// Mark all stores which are not last in a store sequence.
    		mark.clear()
    		for _, v := range b.Values {
    			if v.Op == OpStore {
    				mark.add(v.MemoryArg().ID)
    			}
    		}
    
    		// pick an order for visiting stores such that
    		// later stores come earlier in the ordering.
    		order = order[:0]
    		for _, v := range b.Values {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. src/cmd/internal/dwarf/dwarf.go

    	if len(s.Scopes) == 0 {
    		return nil
    	}
    	scopes := make([]Scope, len(s.Scopes), len(s.Scopes))
    	pvars := inlinedVarTable(&s.InlCalls)
    	for k, s := range s.Scopes {
    		var pruned Scope = Scope{Parent: s.Parent, Ranges: s.Ranges}
    		for i := 0; i < len(s.Vars); i++ {
    			_, found := pvars[s.Vars[i]]
    			if !found {
    				pruned.Vars = append(pruned.Vars, s.Vars[i])
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  9. tests/integration/operator/switch_cr_test.go

    		err = multierror.Append(err, e)
    	}
    	if err != nil {
    		scopes.Framework.Errorf("failed to cleanup dynamically created resources: %v", err)
    	}
    }
    
    // checkInstallStatus check the status of IstioOperator CR from the cluster
    func checkInstallStatus(cs istioKube.CLIClient, revision string) error {
    	scopes.Framework.Infof("checking IstioOperator CR status")
    	gvr := iopv1alpha1.IstioOperatorGVR
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. pkg/config/analysis/local/istiod_analyze.go

    	for _, store := range sa.stores {
    		store.RegisterEventHandler(kind, handler)
    	}
    }
    
    func (sa *IstiodAnalyzer) Schemas() collection.Schemas {
    	result := collection.NewSchemasBuilder()
    	for _, store := range sa.stores {
    		for _, schema := range store.Schemas().All() {
    			result.MustAdd(schema)
    		}
    	}
    	return result.Build()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:13 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top