Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 860 for scorer (0.13 sec)

  1. 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)
  2. pkg/util/oom/oom_linux_test.go

    		return
    	} else if err != nil {
    		return
    	}
    	// Check that OOM scores were applied to the right processes.
    	if len(appliedPids) != len(pidOOMs) {
    		t.Errorf("Applied OOM scores to incorrect number of processes - %+v vs %v", appliedPids, pidOOMs)
    		return
    	}
    	for _, pid := range appliedPids {
    		if !pidOOMs[pid] {
    			t.Errorf("Failed to apply OOM scores to process %d", pid)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  3. callbacks/helper_test.go

    				Columns: []clause.Column{{Name: "age"}},
    				Values:  [][]interface{}{{18}},
    			},
    		},
    		{
    			name: "Test convert float value",
    			input: map[string]interface{}{
    				"score": 99.5,
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "score"}},
    				Values:  [][]interface{}{{99.5}},
    			},
    		},
    		{
    			name: "Test convert bool value",
    			input: map[string]interface{}{
    				"active": true,
    			},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 05 02:22:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. pkg/scheduler/apis/config/testing/defaults/defaults.go

    			{Name: names.PodTopologySpread},
    			{Name: names.InterPodAffinity},
    			{Name: names.NodeResourcesBalancedAllocation},
    		},
    	},
    	Score: config.PluginSet{
    		Enabled: []config.Plugin{
    			// Weight is tripled because:
    			// - This is a score coming from user preference.
    			// - Usage of node tainting to group nodes in the cluster is increasing becoming a use-case
    			// for many user workloads
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    					}
    				}
    				score, status := p.(framework.ScorePlugin).Score(ctx, state, test.requestedPod, n.Name)
    				if !status.IsSuccess() {
    					t.Errorf("Score is expected to return success, but didn't. Got status: %v", status)
    				}
    				gotPriorities = append(gotPriorities, framework.NodeScore{Name: n.Name, Score: score})
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.misc.Pair;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class QueryFieldConfig {
    
        private static final Logger logger = LogManager.getLogger(QueryFieldConfig.class);
    
        public static final String SCORE_FIELD = "score";
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/cross_device_transfer.mlir

      // CHECK-NEXT: %[[RESULT_0:.*]] = corert.get_op_handler %[[ARG_0:.*]] "cpu"
      %0 = corert.get_op_handler %arg0 "cpu"
      // CHECK-NEXT: %[[RESULT_1:.*]] = corert.get_op_handler %[[ARG_0]] "gpu"
      %1 = corert.get_op_handler %arg0 "gpu"
      // CHECK-NEXT: %[[RESULT_2:.*]] = corert.create_dense_tensor.i32 {shape = [0], value = []}
      %2 = corert.create_dense_tensor.i32 {shape = [0], value = []}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 10:58:25 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. pkg/scheduler/apis/config/v1/default_plugins.go

    	defaultPlugins.PreScore = mergePluginSet(logger, defaultPlugins.PreScore, customPlugins.PreScore)
    	defaultPlugins.Score = mergePluginSet(logger, defaultPlugins.Score, customPlugins.Score)
    	defaultPlugins.Reserve = mergePluginSet(logger, defaultPlugins.Reserve, customPlugins.Reserve)
    	defaultPlugins.Permit = mergePluginSet(logger, defaultPlugins.Permit, customPlugins.Permit)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/fallback_canonicalization.mlir

    // CHECK-SAME: ([[arg0:%.*]]: !corert.tensorhandle, [[arg1:%.*]]: !corert.tensorhandle)
    func.func @test_const_tensor_canonicalization_mixed_operands(%arg0: !corert.tensorhandle, %arg1: !corert.tensorhandle) -> (!tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor) {
      %a = corert.const_dense_tensor dense<[true, false]> : tensor<2xi1>
      %b = corert.const_dense_tensor dense<[false, true]> : tensor<2xi1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 04 14:07:37 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  10. pkg/scheduler/testing/framework/framework_helpers.go

    }
    
    // RegisterScorePlugin returns a function to register a Score Plugin to a given registry.
    func RegisterScorePlugin(pluginName string, pluginNewFunc runtime.PluginFactory, weight int32) RegisterPluginFunc {
    	return RegisterPluginAsExtensionsWithWeight(pluginName, weight, pluginNewFunc, "Score")
    }
    
    // RegisterPreScorePlugin returns a function to register a Score Plugin to a given registry.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top