- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for maxScore (0.21 sec)
-
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) -
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) -
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) -
maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar
public void schedule(Runnable); public void finished(); } org/junit/experimental/max/MaxCore.class package org.junit.experimental.max; public synchronized class MaxCore { private static final String MALFORMED_JUNIT_3_TEST_CLASS_PREFIX = malformed JUnit 3 test class: ; private final MaxHistory history; public static MaxCore forFolder(String); public static MaxCore storedLocally(java.io.File); private void MaxCore(java.io.File); public org.junit.runner.Result run(Class); public org.junit.runner.Result...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Dec 19 19:08:55 UTC 2023 - 373.7K 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) -
docs/bucket/notifications/README.md
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 84K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
0!==n?(n!==r&&(h(t,n,t.bl_tree),o--),h(t,q,t.bl_tree),l(t,o-3,2)):o<=10?(h(t,G,t.bl_tree),l(t,o-3,3)):(h(t,X,t.bl_tree),l(t,o-11,7));o=0,r=n,0===s?(d=138,f=3):n===s?(d=6,f=3):(d=7,f=4)}}function z(t){var e;for(y(t,t.dyn_ltree,t.l_desc.max_code),y(t,t.dyn_dtree,t.d_desc.max_code),k(t,t.bl_desc),e=H-1;e>=3&&0===t.bl_tree[2*V[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}function B(t,e,a,i){var n;for(l(t,e-257,5),l(t,a-1,5),l(t,i-4,4),n=0;n<i;n++)l(t,t.bl_tree[2*V[n]+1],3);x(t,t.dyn_ltree,e-1),x(t,t.dyn_dtree,a-1)}function...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (1)