Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for argsCount (0.28 sec)

  1. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializer.java

                IncludeType type = enumSerializer.read(decoder);
                int argsCount = decoder.readSmallInt();
                if (argsCount == 0) {
                    return IncludeWithSimpleExpression.create(value, isImport, type);
                }
                List<Expression> args = new ArrayList<Expression>(argsCount);
                for (int i = 0; i < argsCount; i++) {
                    args.add(expressionSerializer.read(decoder));
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/Instrumented.java

            }
    
            @Override
            public Object intercept(Invocation invocation, String consumer) throws Throwable {
                int argsCount = invocation.getArgsCount();
                if (1 <= argsCount && argsCount <= 3) {
                    Optional<Process> result = tryCallExec(invocation.getReceiver(), invocation.getArgument(0), invocation.getOptionalArgument(1), invocation.getOptionalArgument(2), consumer);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-server/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonMain.java

                daemonUid = decoder.readString();
                priority = DaemonParameters.Priority.values()[decoder.readSmallInt()];
                int argCount = decoder.readSmallInt();
                startupOpts = new ArrayList<String>(argCount);
                for (int i = 0; i < argCount; i++) {
                    startupOpts.add(decoder.readString());
                }
                int additionalClassPathLength = decoder.readSmallInt();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/MatchesSignatureGeneratingSignatureTreeVisitor.java

            result.endControlFlow();
        }
    
        private void returnTrueIfNoArgumentsLeft(int argCount, CallInterceptionRequest leafInCurrent) {
            CodeBlock argClasses = argClassesExpression(leafInCurrent);
    
            result.beginControlFlow("if (argumentClasses.length == $L)", argCount);
            result.add("/** Matched $L */\n", JavadocUtils.interceptedCallableLink(leafInCurrent));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/CodeGeneratingSignatureTreeVisitor.java

                    }
                });
            }
        }
    
        private void generateInvocationWhenArgsMatched(CallInterceptionRequest request, int argCount) {
            result.beginControlFlow("if (invocation.getArgsCount() == $L)", argCount);
            CodeBlock argsCode = prepareInvocationArgs(request);
            emitInvocationCodeWithReturn(request, argsCode);
            result.endControlFlow();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. tensorflow/cc/experimental/libtf/object.h

    class UneraseCallHelper<Fn, TReturn> {
     public:
      template <typename... ArgsOut>
      static tensorflow::StatusOr<TaggedValue> Call(const char* name, Fn functor_,
                                                    int argument_index,
                                                    const TaggedValue& args_in,
                                                    ArgsOut... args) {
        // Call concrete type function
        TReturn ret = functor_(args...);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

               << func_name;
      }
    
      FunctionType func_ty = func.getFunctionType();
      int func_arg_count = func_ty.getNumInputs();
      int arg_count = getArgs().size();
    
      if (arg_count != func_arg_count) {
        return emitError() << "argument count mismatch: 'args' has " << arg_count
                           << " argument(s), but '" << func_name << "' expects "
                           << func_arg_count;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

               << func;
      }
    
      FunctionType function_ty = function.getFunctionType();
      int func_arg_count = function_ty.getNumInputs();
      int arg_count = op.getArgs().size();
    
      if (arg_count != func_arg_count) {
        return op.emitError() << "argument count mismatch: 'args' has " << arg_count
                              << " arguments, but '" << func << "' expects "
                              << func_arg_count;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
Back to top