- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 499 for isSucceeded (0.16 sec)
-
pkg/controller/statefulset/stateful_set_utils.go
} // isFailed returns true if pod has a Phase of PodFailed func isFailed(pod *v1.Pod) bool { return pod.Status.Phase == v1.PodFailed } // isSucceeded returns true if pod has a Phase of PodSucceeded func isSucceeded(pod *v1.Pod) bool { return pod.Status.Phase == v1.PodSucceeded } // isTerminating returns true if pod's DeletionTimestamp has been set func isTerminating(pod *v1.Pod) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 26.7K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control.go
// Note that pods with phase Succeeded will also trigger this event. This is // because final pod phase of evicted or otherwise forcibly stopped pods // (e.g. terminated on node reboot) is determined by the exit code of the // container, not by the reason for pod termination. We should restart the pod // regardless of the exit code. if isFailed(replicas[i]) || isSucceeded(replicas[i]) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:03:46 UTC 2024 - 30.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
try { collection.add(sampleElement); fail("add succeeded on unmodifiable collection"); } catch (UnsupportedOperationException expected) { } assertCollectionsAreEquivalent(copy, collection); try { collection.addAll(siblingCollection); fail("addAll succeeded on unmodifiable collection"); } catch (UnsupportedOperationException expected) { }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 20:31:37 UTC 2024 - 14.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
try { collection.add(sampleElement); fail("add succeeded on unmodifiable collection"); } catch (UnsupportedOperationException expected) { } assertCollectionsAreEquivalent(copy, collection); try { collection.addAll(siblingCollection); fail("addAll succeeded on unmodifiable collection"); } catch (UnsupportedOperationException expected) { }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 20:31:37 UTC 2024 - 14.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/utils/math_utils_test.cc
int32_t quantized_fraction; int32_t shift; EXPECT_TRUE(succeeded(QuantizeMultiplier(1.2, quantized_fraction, shift))); EXPECT_EQ(quantized_fraction, 19661); EXPECT_EQ(shift, 1); EXPECT_TRUE(succeeded(QuantizeMultiplier(15.5, quantized_fraction, shift))); EXPECT_EQ(quantized_fraction, 31744); EXPECT_EQ(shift, 4); EXPECT_TRUE(succeeded(QuantizeMultiplier(1, quantized_fraction, shift)));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 05:58:41 UTC 2024 - 2K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitTestResults.groovy
} def checkTestCases(int total, int succeeded, int failed) { checkSummaryRecord('Test Cases', total, succeeded, failed) } def checkAssertions(int total, int succeeded, int failed) { checkSummaryRecord('Assertions', total, succeeded, failed) } private def checkSummaryRecord(String name, int total, int succeeded, int failed) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.7K bytes - Viewed (0) -
pkg/controller/job/metrics/metrics.go
// based on the reason for their creation (i.e. if PodReplacementPolicy was specified) // and the status of the creation (i.e. if the Pod creation succeeded or failed). // Possible label values: // reason: new, recreate_terminating_or_failed, recreate_failed // status: succeeded, failed JobPodsCreationTotal = metrics.NewCounterVec( &metrics.CounterOpts{ Subsystem: JobControllerSubsystem, Name: "job_pods_creation_total",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 17:25:15 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/xla_sharding_util_test.cc
xla::OpSharding sharding; EXPECT_TRUE(DecodeShardingAttribute("", sharding).succeeded()); EXPECT_TRUE(DecodeShardingAttribute("manual", sharding).failed()); } TEST(DecodeShardingAttributeTest, CheckManualShardString) { xla::OpSharding sharding; EXPECT_TRUE(DecodeShardingAttribute("{manual}", sharding).succeeded()); EXPECT_TRUE(sharding.type() == sharding.MANUAL);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/lang_test.go
t.Error("compilation with -lang=go9.99 succeeded unexpectedly") } // This test will have to be adjusted if we ever reach 1.99 or 2.0. if testLang(t, "go1.99", src, outfile) == nil { t.Error("compilation with -lang=go1.99 succeeded unexpectedly") } if testLang(t, "go1.8", src, outfile) == nil { t.Error("compilation with -lang=go1.8 succeeded unexpectedly") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 18:07:35 UTC 2023 - 1.4K bytes - Viewed (0) -
src/internal/saferio/io_test.go
t.Run("large", func(t *testing.T) { _, err := ReadData(bytes.NewReader(input), 10<<30) if err == nil { t.Error("large read succeeded unexpectedly") } }) t.Run("maxint", func(t *testing.T) { _, err := ReadData(bytes.NewReader(input), 1<<62) if err == nil { t.Error("large read succeeded unexpectedly") } }) t.Run("small-EOF", func(t *testing.T) { _, err := ReadData(bytes.NewReader(nil), chunk-1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 00:34:05 UTC 2023 - 3.1K bytes - Viewed (0)