- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for expectedCount (0.23 sec)
-
pkg/controller/disruption/disruption.go
if pdb.Spec.MaxUnavailable != nil { expectedCount, unmanagedPods, err = dc.getExpectedScale(ctx, pdb, pods) if err != nil { return } var maxUnavailable int maxUnavailable, err = intstr.GetScaledValueFromIntOrPercent(pdb.Spec.MaxUnavailable, int(expectedCount), true) if err != nil { return } desiredHealthy = expectedCount - int32(maxUnavailable) if desiredHealthy < 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 36.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
if (initRight == null) { result[0] = 0; if (expectedCount == 0 && newCount > 0) { return addRightChild(e, newCount); } return this; } right = initRight.setCount(comparator, e, expectedCount, newCount, result); if (result[0] == expectedCount) { if (newCount == 0 && result[0] != 0) { this.distinctElements--;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 34.2K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 09:45:09 UTC 2022 - 16.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
if (initRight == null) { result[0] = 0; if (expectedCount == 0 && newCount > 0) { return addRightChild(e, newCount); } return this; } right = initRight.setCount(comparator, e, expectedCount, newCount, result); if (result[0] == expectedCount) { if (newCount == 0 && result[0] != 0) { this.distinctElements--;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 34.6K bytes - Viewed (0) -
pkg/kubelet/container/testing/fake_runtime.go
func (f *FakeRuntime) AssertCallCounts(funcName string, expectedCount int) bool { f.Lock() defer f.Unlock() actualCount := 0 for _, c := range f.CalledFunctions { if funcName == c { actualCount += 1 } } if expectedCount != actualCount { f.T.Errorf("AssertCallCounts: expected %s to be called %d times, but was actually called %d times.", funcName, expectedCount, actualCount) return false } return true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 00:23:50 UTC 2024 - 13.9K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/java/SamplesJavaTestingIntegrationTest.groovy
if (project) { path = project + '/' + path } return sampleDir.file(path) } private static void assertTestsRunCount(resultsXml, int expectedCount) { assert resultsXml.@tests == expectedCount } private static void assertTestRun(resultsXml, String testName) { assert resultsXml.testcase.find { it.@name == testName } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 12.8K bytes - Viewed (0) -
pkg/controller/deployment/util/deployment_util_test.go
}, } for _, test := range tests { t.Run(test.Name, func(t *testing.T) { rs := GetReplicaCountForReplicaSets(test.sets) if rs != test.expectedCount { t.Errorf("In test case %s, expectedCount %+v, got %+v", test.Name, test.expectedCount, rs) } rs = GetActualReplicaCountForReplicaSets(test.sets) if rs != test.expectedActual {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 37.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/LoggingIntegrationTest.groovy
outs.each {String expectedOut -> def filters = outs.findAll { other -> other != expectedOut && other.startsWith(expectedOut) } // Find all locations of the expected string in the output List<Integer> matches = [] int pos = 0; while (pos < result.length()) { int match = result.indexOf(expectedOut, pos) if (match < 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 15.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning_unstructured_test.go
defaultGVK *schema.GroupVersionKind intoObj runtime.Object errFunc func(error) bool expectedGVKOfSerializedData *schema.GroupVersionKind expectedOut runtime.Object }{ { name: "decode v1 unstructured into non-nil v2 unstructured", serializer: &mockSerializer{actual: &v1GVK, obj: v1UnstructuredDecodable},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 08 14:55:24 UTC 2018 - 10.9K bytes - Viewed (0)