- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for argv_index (0.18 sec)
-
tensorflow/compiler/mlir/tfrt/tests/ir/tfrt_fallback_util_test.cc
ASSERT_TRUE(module); std::vector<std::pair<std::string, int>> func_and_index; ForEachArgConsumedByFallback( module.get(), [&func_and_index](llvm::StringRef func_name, int arg_index) { func_and_index.push_back({func_name.str(), arg_index}); }); ASSERT_EQ(func_and_index.size(), 1); EXPECT_EQ(func_and_index[0].first, "test"); EXPECT_EQ(func_and_index[0].second, 2); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc
unsigned num_arguments = main_fn.getNumArguments(); for (unsigned arg_index = 0; arg_index < num_arguments; ++arg_index) { if (auto aliasing_output = main_fn.getArgAttrOfType<mlir::IntegerAttr>( arg_index, kAliasingAttr)) output_to_input_alias[aliasing_output.getInt()] = arg_index; } if (output_to_input_alias.empty()) return absl::OkStatus();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 14K bytes - Viewed (0) -
src/runtime/proc.go
// GODEBUG directly. // TODO(moehrmann): remove when general goenvs() can be called before cpuinit() n := int32(0) for argv_index(argv, argc+1+n) != nil { n++ } for i := int32(0); i < n; i++ { p := argv_index(argv, argc+1+i) s := unsafe.String(p, findnull(p)) if stringslite.HasPrefix(s, prefix) { env = gostring(p)[len(prefix):] break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/CodeGeneratingSignatureTreeVisitor.java
result.addStatement("boolean $L = true", varargMatched); result.beginControlFlow("for (int argIndex = $1L; argIndex < invocation.getArgsCount(); argIndex++)", paramIndex); CodeBlock nextArg = CodeBlock.of("nextArg"); result.addStatement("Object $L = invocation.getArgument(argIndex)", nextArg); result.beginControlFlow("if ($1L == null || $1L instanceof $2T)", nextArg, entryParamType);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 8.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/arm/armasm/gnu.go
sep = ", " buf.WriteString(text) } return buf.String() } func gnuArg(inst *Inst, argIndex int, arg Arg) string { switch inst.Op &^ 15 { case LDRD_EQ, LDREXD_EQ, STRD_EQ: if argIndex == 1 { // second argument in consecutive pair not printed return "" } case STREXD_EQ: if argIndex == 2 { // second argument in consecutive pair not printed return "" } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 14 17:21:52 UTC 2016 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc
if (index < 0) { return emitOpError() << "variable_arg_indices must be positive"; } if (index <= prev_index) { return emitOpError() << "variable_arg_indices must be sorted in ascending order"; } prev_index = index; } return mlir::success(); } } // namespace TF } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/optimize_global_tensors.cc
// A global tensor is bound to arguments of multiple funcs. // This struct tracks which funcs (and which argument to that func) the global // tensor is bound to. struct GlobalTensorUse { mutable func::FuncOp func; size_t arg_index; }; using GlobalTensorUsesMap = std::map<GlobalTensorOp, std::vector<GlobalTensorUse>>; bool IsImmutable(GlobalTensorOp global_tensor, ArrayRef<GlobalTensorUse> global_tensor_uses,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/MatchesSignatureGeneratingSignatureTreeVisitor.java
result.addStatement("boolean $L = true", varargMatched); result.beginControlFlow("for (int argIndex = $1L; argIndex < argumentClasses.length; argIndex++)", paramIndex); CodeBlock nextArg = CodeBlock.of("nextArg"); result.addStatement("Class<?> $L = argumentClasses[argIndex]", nextArg); result.beginControlFlow("if ($2L != null && !$1T.class.isAssignableFrom($2L))", entryParamType, nextArg);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 7.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/plan9.go
// of inst, it's ok to modify inst.Args here. func plan9Arg(inst *Inst, argIndex int, pc uint64, arg Arg, symname func(uint64) (string, uint64)) string { // special cases for load/store instructions if _, ok := arg.(Offset); ok { if argIndex+1 == len(inst.Args) || inst.Args[argIndex+1] == nil { panic(fmt.Errorf("wrong table: offset not followed by register")) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 10.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/CallInterceptionClosureInstrumentingClassVisitor.java
Type[] argumentTypes = Type.getArgumentTypes(methodData.descriptor); for (int argIndex = 1; argIndex <= argumentTypes.length; ++argIndex) { visitVarInsn(argumentTypes[argIndex - 1].getOpcode(Opcodes.ILOAD), argIndex); } _INVOKESPECIAL(clazz.className, methodNameToVisit, methodData.descriptor, false);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 20 01:16:36 UTC 2024 - 16.9K bytes - Viewed (0)