Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 250 for isSucceeded (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/controller/job/job_controller.go

    	uncountedStatus := status.UncountedTerminatedPods
    	newUncounted := filterInUncountedUIDs(uncountedStatus.Succeeded, uidsWithFinalizer)
    	if len(newUncounted) != len(uncountedStatus.Succeeded) {
    		updated = true
    		status.Succeeded += int32(len(uncountedStatus.Succeeded) - len(newUncounted))
    		uncountedStatus.Succeeded = newUncounted
    	}
    	newUncounted = filterInUncountedUIDs(uncountedStatus.Failed, uidsWithFinalizer)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (1)
  7. tensorflow/compiler/mlir/lite/debug/debug_test.cc

      *debug_options.mutable_ir_dump_pass_regex() = R"(.*NopPass)";
    
      mlir::PassManager pm(&context_);
      InitPassManager(pm, debug_options);
      pm.addPass(std::make_unique<NopPass>());
      ASSERT_TRUE(mlir::succeeded(pm.run(*module_)));
      std::string dump_dir;
      TF_ASSERT_OK(GetDumpDir(&dump_dir));
    
      {
        std::string mlir_dump;
        TF_ASSERT_OK(tsl::ReadFileToString(
            tsl::Env::Default(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. pkg/controller/job/job_controller_test.go

    			succeededPods, failedPods := getNewFinishedPods(jobCtx)
    			succeeded := int32(len(succeededPods)) + tc.job.Status.Succeeded + int32(len(uncounted.succeeded))
    			failed := int32(len(failedPods)) + tc.job.Status.Failed + int32(len(uncounted.failed))
    			if succeeded != tc.wantSucceeded {
    				t.Errorf("getStatus reports %d succeeded pods, want %d", succeeded, tc.wantSucceeded)
    			}
    			if failed != tc.wantFailed {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/device_util_test.cc

          GetDeviceOrdinalFromDeviceString(unknown_loc, tpu0, &device_ordinal0);
      EXPECT_TRUE(mlir::succeeded(result0));
      EXPECT_EQ(device_ordinal0, 0);
    
      int64_t device_ordinal1 = -1;
      mlir::LogicalResult result1 =
          GetDeviceOrdinalFromDeviceString(unknown_loc, tpu1, &device_ordinal1);
      EXPECT_TRUE(mlir::succeeded(result1));
      EXPECT_EQ(device_ordinal1, 1);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/batch/v1/types.go

    // been accounted in Job status counters.
    type UncountedTerminatedPods struct {
    	// succeeded holds UIDs of succeeded Pods.
    	// +listType=set
    	// +optional
    	Succeeded []types.UID `json:"succeeded,omitempty" protobuf:"bytes,1,rep,name=succeeded,casttype=k8s.io/apimachinery/pkg/types.UID"`
    
    	// failed holds UIDs of failed Pods.
    	// +listType=set
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top