- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for maxScore (0.16 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) -
src/compress/lzw/writer.go
type writer interface { io.ByteWriter Flush() error } const ( // A code is a 12 bit value, stored as a uint32 when encoding to avoid // type conversions when shifting bits. maxCode = 1<<12 - 1 invalidCode = 1<<32 - 1 // There are 1<<12 possible codes, which is an upper bound on the number of // valid hash table entries at any given point in time. tableSize is 4x that. tableSize = 4 * 1 << 12
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:40 UTC 2024 - 7.9K bytes - Viewed (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt
val jakartaXmlBind = "jakarta.xml.bind:jakarta.xml.bind-api" val jansi = "org.fusesource.jansi:jansi" val jatl = "com.googlecode.jatl:jatl" val javaPoet = "com.squareup:javapoet" val jaxbCore = "com.sun.xml.bind:jaxb-core" val jaxbImpl = "com.sun.xml.bind:jaxb-impl" val jcifs = "jcifs:jcifs" val jclToSlf4j = "org.slf4j:jcl-over-slf4j" val jcommander = "com.beust:jcommander"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 22:44:42 UTC 2024 - 15K 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)