- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for TestScore (0.3 sec)
-
pkg/scheduler/framework/plugins/volumebinding/scorer_test.go
"k8s.io/kubernetes/pkg/scheduler/framework" "k8s.io/kubernetes/pkg/scheduler/framework/plugins/helper" ) const ( classHDD = "hdd" classSSD = "ssd" ) func TestScore(t *testing.T) { defaultShape := make(helper.FunctionShape, 0, len(defaultShapePoint)) for _, point := range defaultShapePoint { defaultShape = append(defaultShape, helper.FunctionShapePoint{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 13 11:08:45 UTC 2021 - 5.8K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaPlatformIntegTest.groovy
javaPlatform.assertPublished() javaPlatform.parsedModuleMetadata.variant("apiElements") { constraint("org.gradle.test:core:1.9") noMoreDependencies() } javaPlatform.parsedModuleMetadata.variant("runtimeElements") { constraint("org.gradle.test:core:1.9") constraint("org.gradle.test:utils:1.9") noMoreDependencies() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 8.6K bytes - Viewed (0) -
plugin/pkg/admission/resourcequota/admission_test.go
if expectedValue != actualValue { t.Errorf("Usage Used: Key: %v, Expected: %v, Actual: %v", k, expectedValue, actualValue) } } } func removeListWatch(in []testcore.Action) []testcore.Action { decimatedActions := []testcore.Action{} // list and watch resource quota is done to maintain our cache, so that's expected. Remove them from results for i := range in {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0) -
src/cmd/compile/internal/walk/switch.go
} } score := int64(le) * int64(len(cc)-le) if score > bestScore { bestScore = score bestIdx = idx bestByte = b } } } // The split must be at least 1:n-1 because we have at least 2 distinct strings; they // have to be different somewhere. // TODO: what if the best split is still pretty bad? if bestScore == 0 { base.Fatalf("unable to split string set") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
pkg/controller/nodelifecycle/node_lifecycle_controller_test.go
Clientset: fake.NewSimpleClientset(&v1.PodList{Items: []v1.Pod{*testutil.NewPod("pod0", "node0")}}), }, updateReactor: func() func(action testcore.Action) (bool, runtime.Object, error) { i := 0 return func(action testcore.Action) (bool, runtime.Object, error) { if action.GetVerb() == "update" && action.GetResource().Resource == "pods" && action.GetSubresource() == "status" { i++
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 03:26:45 UTC 2024 - 119K bytes - Viewed (0)