Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 152 for result_types (0.19 sec)

  1. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/TestResultModel.java

    package org.gradle.api.internal.tasks.testing.report;
    
    import org.gradle.api.tasks.testing.TestResult;
    import org.gradle.internal.time.TimeFormatting;
    
    public abstract class TestResultModel {
    
        public abstract TestResult.ResultType getResultType();
    
        public abstract long getDuration();
    
        public abstract String getTitle();
    
        public String getFormattedDuration() {
            return TimeFormatting.formatDurationVeryTerse(getDuration());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors_test.go

    			t.Errorf("Forbidden response body(%#v...)\n expected: %v\ngot:       %v", test.attributes, test.expected, result)
    		}
    		//nolint:staticcheck // SA1019 backwards compatibility
    		resultType := observer.HeaderMap.Get("Content-Type")
    		if resultType != test.contentType {
    			t.Errorf("Forbidden content type(%#v...) != %#v, got %#v", test.attributes, test.expected, result)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 29 07:45:20 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. tests/query_test.go

    					dbName := DB.NamingStrategy.ColumnName("", name)
    					resultType := reflect.ValueOf(first[dbName]).Type().Name()
    
    					switch name {
    					case "Name":
    						if !strings.Contains(resultType, "string") {
    							t.Errorf("invalid data type for %v, got %v %#v", dbName, resultType, first[dbName])
    						}
    					case "Age":
    						if !strings.Contains(resultType, "int") {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla.cc

      // a TF op with result type tensor<*xf32> will have a bounded type after
      // fallback legalization.
      auto cast_value = [&](OpBuilder& builder, Type result_type, ValueRange inputs,
                            Location loc) -> Value {
        return builder.create<mlir::tensor::CastOp>(loc, result_type,
                                                    inputs.front());
      };
      addSourceMaterialization(cast_value);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc

          shape[0] = ShapedType::kDynamic;
          auto extensions =
              mhlo::TypeExtensionsAttr::get(func->getContext(), bounds);
          auto resultType =
              RankedTensorType::get(shape, inputType.getElementType(), extensions);
          arg.setType(resultType);
        }
        llvm::SmallVector<Type, 8> arg_types;
        for (auto arg : func.getArguments()) arg_types.push_back(arg.getType());
        func.setType(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/inspect/inspect.go

    	Doc:              "optimize AST traversal for later passes",
    	URL:              "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/inspect",
    	Run:              run,
    	RunDespiteErrors: true,
    	ResultType:       reflect.TypeOf(new(inspector.Inspector)),
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	return inspector.New(pass.Files), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollector.java

        public void afterSuite(TestDescriptor suite, TestResult result) {
            List<TestOutputEvent> outputEvents = pendingOutputEvents.removeAll(((TestDescriptorInternal) suite).getId());
            if (result.getResultType() == TestResult.ResultType.FAILURE && !result.getExceptions().isEmpty()) {
                //there are some exceptions attached to the suite. Let's make sure they are reported to the user.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestEventSerializer.java

            private final Serializer<TestResult.ResultType> typeSerializer = new NullableSerializer<TestResult.ResultType>(new BaseSerializerFactory().getSerializerFor(TestResult.ResultType.class));
    
            @Override
            public TestCompleteEvent read(Decoder decoder) throws Exception {
                long endTime = decoder.readLong();
                TestResult.ResultType result = typeSerializer.read(decoder);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

            mlir::cast<TypeAttr>(cast_op.getInputElementType()).getValue();
        if (result_elt_type != original_input_type) {
          UnrankedTensorType result_type = UnrankedTensorType::get(result_elt_type);
          return rewriter.create<TF::CastOp>(loc, result_type, cast_op.getArg());
        }
        return cast_op.getArg();
      }
    
      // For variadic operands, we have to enforce them to use the same types.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/FailFastTestListenerInternal.java

            delegate.completed(testDescriptor, testResult, completeEvent);
    
            if (!failed && testResult.getResultType() == TestResult.ResultType.FAILURE) {
                failed = true;
                testExecuter.stopNow();
            }
        }
    
        @Override
        public void output(TestDescriptorInternal testDescriptor, TestOutputEvent event) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top