Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 632 for isSucceeded (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/preflight/checks_test.go

    	if result {
    		t.Fatal("checkConnection should not have succeeded")
    	}
    }
    
    func TestCheckEtcdServersEmpty(t *testing.T) {
    	etcd := new(EtcdConnection)
    	result, err := etcd.CheckEtcdServers()
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if result {
    		t.Fatal("CheckEtcdServers should not have succeeded")
    	}
    }
    
    func TestCheckEtcdServersUri(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 01 21:37:52 UTC 2017
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.cc

      if (succeeded(MatchReduceToArgMinMaxType1(reduce_op, true, true)) ||
          succeeded(MatchReduceToArgMinMaxType1(reduce_op, false, true)) ||
          succeeded(MatchReduceToArgMinMaxType1(reduce_op, true, false)) ||
          succeeded(MatchReduceToArgMinMaxType1(reduce_op, false, false)) ||
          succeeded(MatchReduceToArgMinMaxType2(reduce_op, false)) ||
          succeeded(MatchReduceToArgMinMaxType2(reduce_op, true))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         * source MUST BE relative from the {@link RemoteRepository#getUrl()} root.
         *
         * @return {@code true} if operation succeeded, {@code false} if source does not exist.
         * @throws RuntimeException If failed (and not due source not exists).
         */
        boolean get(@Nonnull URI relativeSource, @Nonnull Path target);
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/build/ExecutionResultTest.groovy

        }
    
        def "can combine results"() {
            def failure1 = new RuntimeException()
            def failure2 = new RuntimeException()
            def successful = ExecutionResult.succeeded(12)
            def otherSuccessful = ExecutionResult.succeeded()
            def failed = ExecutionResult.failed(failure1)
            def otherFailed = ExecutionResult.failed(failure2)
            def allFailed = ExecutionResult.maybeFailed([failure1, failure2])
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 03 03:31:42 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  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. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils_test.cc

    TF::UniformQuantizedAddOp ParseUniformQuantizedAddOp(
        const absl::string_view add_op_str, Block& block, MLIRContext& ctx) {
      const LogicalResult parse_result =
          parseSourceString(add_op_str, &block, ParserConfig(&ctx));
      EXPECT_TRUE(succeeded(parse_result));
    
      auto uq_add_op = dyn_cast_or_null<TF::UniformQuantizedAddOp>(block.back());
      EXPECT_TRUE(uq_add_op);
    
      return uq_add_op;
    }
    
    TF::UniformRequantizeOp ParseUniformRequantizedOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 11 00:47:05 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobstatus.go

    	return b
    }
    
    // WithSucceeded sets the Succeeded field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Succeeded field is set to the value of the last call.
    func (b *JobStatusApplyConfiguration) WithSucceeded(value int32) *JobStatusApplyConfiguration {
    	b.Succeeded = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 16:34:38 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. 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)
Back to top