Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for maxScore (0.37 sec)

  1. pkg/scheduler/framework/plugins/podtopologyspread/scoring.go

    			minScore = score.Score
    		}
    		if score.Score > maxScore {
    			maxScore = score.Score
    		}
    	}
    
    	for i := range scores {
    		if scores[i].Score == invalidScore {
    			scores[i].Score = 0
    			continue
    		}
    		if maxScore == 0 {
    			scores[i].Score = framework.MaxNodeScore
    			continue
    		}
    		s := scores[i].Score
    		scores[i].Score = framework.MaxNodeScore * (maxScore + minScore - s) / maxScore
    	}
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. pkg/scheduler/apis/config/validation/validation_pluginargs.go

    			allErrs = append(allErrs, field.Invalid(path.Index(i).Child("utilization"), point.Utilization, msg))
    		}
    
    		if point.Score < minScore || point.Score > maxScore {
    			msg := fmt.Sprintf("not in valid range [%d, %d]", minScore, maxScore)
    			allErrs = append(allErrs, field.Invalid(path.Index(i).Child("score"), point.Score, msg))
    		}
    	}
    
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 09:29:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. subprojects/distributions-dependencies/build.gradle.kts

            api(libs.jatl)                  { version { strictly("0.2.3") }}
            api(libs.javaPoet)              { version { strictly("1.13.0") } }
            api(libs.jaxbCore)              { version { strictly(jaxbVersion) }}
            api(libs.jaxbImpl)              { version { strictly(jaxbVersion) }}
            api(libs.jcifs)                 { version { strictly("1.3.17") }}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 19:54:08 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top