Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for argumentTypes (0.28 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/DirectInstantiator.java

            private boolean isMatch(Class<?>[] argumentTypes, Class<?>[] parameterTypes) {
                for (int i = 0; i < argumentTypes.length; i++) {
                    Class<?> argumentType = argumentTypes[i];
                    Class<?> parameterType = parameterTypes[i];
                    boolean primitive = parameterType.isPrimitive();
                    if (primitive) {
                        if (argumentType == null) {
                            return false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/MethodMember.java

            methodDesc.append(getName());
            methodDesc.append("(");
            Type[] argumentTypes = Type.getArgumentTypes(getTypeDesc());
            for (int i = 0, argumentTypesLength = argumentTypes.length; i < argumentTypesLength; i++) {
                Type type = argumentTypes[i];
                methodDesc.append(type.getClassName());
                if (i < argumentTypesLength - 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineOption.java

            return options;
        }
    
        public CommandLineOption hasArgument(Class<?> argumentType) {
            this.argumentType = argumentType;
            return this;
        }
    
        public CommandLineOption hasArgument() {
            this.argumentType = String.class;
            return this;
        }
    
        public CommandLineOption hasArguments() {
            argumentType = List.class;
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batch_function_fallback_benchmark_test.cc

      Tensor tensor(DataType::DT_INT32, TensorShape({1}));
      std::vector<tfrt::RCReference<tfrt::AsyncValue>> arguments;
      arguments.reserve(func->argument_types().size());
      arguments.push_back(tfrt::GetReadyChain());
      for (int i = 1, e = func->argument_types().size(); i < e; ++i) {
        arguments.push_back(
            tfrt::MakeAvailableAsyncValueRef<tfrt_stub::FallbackTensor>(tensor));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 08 08:08:48 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

    void RuntimeFallbackExecutor::RunTfrtInitializer() {
      const Function* func = bef_file_->GetFunction("_tfrt_fallback_init");
      CHECK(func) << "TFRT initialization function was not found";
      CHECK_EQ(func->argument_types().size(), 1);
    
      llvm::SmallVector<RCReference<AsyncValue>, 1> results;
      results.resize(func->result_types().size());
      CHECK_EQ(results.size(), 1);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top