- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 5,932 for Score (0.1 sec)
-
pkg/scheduler/apis/config/validation/validation_test.go
validPlugins.Profiles[0].Plugins.Score.Enabled = append(validPlugins.Profiles[0].Plugins.Score.Enabled, config.Plugin{Name: "PodTopologySpread", Weight: 2}) invalidPlugins := validConfig.DeepCopy() invalidPlugins.Profiles[0].Plugins.Score.Enabled = append(invalidPlugins.Profiles[0].Plugins.Score.Enabled, config.Plugin{Name: "AzureDiskLimits"})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 06:27:01 UTC 2024 - 12.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/helper/normalize_score.go
for i := range scores { if scores[i].Score > maxCount { maxCount = scores[i].Score } } if maxCount == 0 { if reverse { for i := range scores { scores[i].Score = maxPriority } } return nil } for i := range scores { score := scores[i].Score score = maxPriority * score / maxCount if reverse { score = maxPriority - score } scores[i].Score = score }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 14 16:15:18 UTC 2022 - 1.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/scoring.go
var minScore int64 = math.MaxInt64 var maxScore int64 for i, score := range scores { // it's mandatory to check if <score.Name> is present in m.IgnoredNodes if s.IgnoredNodes.Has(score.Name) { scores[i].Score = invalidScore continue } if score.Score < minScore { minScore = score.Score } if score.Score > maxScore { maxScore = score.Score } } for i := range scores {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 10.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/scoring_test.go
// Then, nodes in regionChina get higher score than nodes in regionIndia, and all the nodes in regionChina should get a same score(high score), // while all the nodes in regionIndia should get another same score(low score). { name: "Affinity: nodes in one region has more matching pods comparing to other region, so the region which has more matches will get high score",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 44.8K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go
st.MakeNode().Name("node-d").Label(v1.LabelHostname, "node-d").Obj(), }, failedNodes: []*v1.Node{}, want: []framework.NodeScore{ {Name: "node-a", Score: 20}, {Name: "node-b", Score: 60}, {Name: "node-c", Score: 100}, {Name: "node-d", Score: 0}, }, }, { name: "one constraint on node, null selector", pod: st.MakePod().Name("p").Label("foo", "").
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 60K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/resource_allocation.go
type resourceAllocationScorer struct { Name string // used to decide whether to use Requested or NonZeroRequested for // cpu and memory. useRequested bool scorer func(requested, allocable []int64) int64 resources []config.ResourceSpec } // score will use `scorer` function to calculate the score. func (r *resourceAllocationScorer) score(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 20 14:53:43 UTC 2023 - 5.3K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/helper/normalize_score_test.go
scores := framework.NodeScoreList{} for _, score := range test.scores { scores = append(scores, framework.NodeScore{Score: score}) } expectedScores := framework.NodeScoreList{} for _, score := range test.expectedScores { expectedScores = append(expectedScores, framework.NodeScore{Score: score}) } DefaultNormalizeScore(framework.MaxNodeScore, test.reverse, scores)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 14 16:15:18 UTC 2022 - 2.4K bytes - Viewed (0) -
clause/where_test.go
}, }}, "SELECT * FROM `users` WHERE `users`.`id` <> ? AND `score` <= ?", []interface{}{"1", 100}, }, { []clause.Interface{clause.Select{}, clause.From{}, clause.Where{ Exprs: []clause.Expression{clause.Not(clause.Eq{Column: clause.PrimaryColumn, Value: "1"},
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Apr 25 12:22:53 UTC 2024 - 6.2K bytes - Viewed (0) -
src/go/doc/comment/wrap_test.go
} // Check that score matches slow reference implementation. slowSeq, slowScore := wrapSlow(words, max) if score != slowScore { t.Fatalf("wrap score = %d != wrapSlow score %d\nwrap: %v\nslow: %v", score, slowScore, seq, slowSeq) } }) } }) } } // wrapSlow is an O(n²) reference implementation for wrap. // It returns a minimal-score sequence along with the score.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:45 UTC 2022 - 3.7K bytes - Viewed (0) -
pkg/kubelet/qos/policy.go
KubeProxyOOMScoreAdj int = -999 guaranteedOOMScoreAdj int = -997 besteffortOOMScoreAdj int = 1000 ) // GetContainerOOMScoreAdjust returns the amount by which the OOM score of all processes in the // container should be adjusted. // The OOM score of a process is the percentage of memory it consumes // multiplied by 10 (barring exceptional cases) + a configurable quantity which is between -1000
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 14:49:26 UTC 2023 - 3.3K bytes - Viewed (0)