- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for maxScore (0.09 sec)
-
pkg/scheduler/framework/preemption/preemption.go
} } for _, f := range scoreFuncs { selectedNodes := []string{} maxScore := int64(math.MinInt64) for _, node := range allCandidates { score := f(node) if score > maxScore { maxScore = score selectedNodes = []string{} } if score == maxScore { selectedNodes = append(selectedNodes, node) } } if len(selectedNodes) == 1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 25.1K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
var maxScore float64 minScore := math.MaxFloat64 for _, hostPriority := range nodeScores { maxScore = math.Max(maxScore, float64(hostPriority.Score)) minScore = math.Min(minScore, float64(hostPriority.Score)) } for i, hostPriority := range nodeScores { nodeScores[i] = framework.NodeScore{ Name: hostPriority.Name, Score: int64(maxScore + minScore - float64(hostPriority.Score)),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
subprojects/distributions-dependencies/build.gradle.kts
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 19:54:08 UTC 2024 - 16.5K bytes - Viewed (0)