- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for argv_index (0.21 sec)
-
src/runtime/runtime1.go
argslice[i] = gostringnocopy(argv_index(argv, i)) } } func goenvs_unix() { // TODO(austin): ppc64 in dynamic linking mode doesn't // guarantee env[] will immediately follow argv. Might cause // problems. n := int32(0) for argv_index(argv, argc+1+n) != nil { n++ } envs = make([]string, n) for i := int32(0); i < n; i++ { envs[i] = gostring(argv_index(argv, argc+1+i)) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 19.3K 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) -
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) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc
return module->getAttr("tf_saved_model.semantics") != nullptr; } Operation *LookupBoundInput(func::FuncOp func, int arg_index, const SymbolTable &symbol_table) { auto attr = func.getArgAttrOfType<FlatSymbolRefAttr>( arg_index, "tf_saved_model.bound_input"); if (!attr) return nullptr; return symbol_table.lookup(attr.getValue()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.5K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/FunctionCallResolver.kt
val bindingMap = mutableMapOf<DataParameter, FunctionArgument.ValueArgument>() arguments.forEachIndexed { argIndex, arg -> if (argIndex < lastPositionalArgIndex && arg is FunctionArgument.Named && arg.name != parameters[argIndex].name) { // TODO: report mixed positional and named arguments? return@bindFunctionParametersToArguments null }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 14:27:23 UTC 2024 - 19.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc
erase_indices.resize(num_operands); for (auto arg_index : arguments_to_erase) { auto argument = func.getArgument(arg_index); for (auto& use : argument.getUses()) { if (llvm::isa<func::ReturnOp, TF::YieldOp>(use.getOwner())) { erase_indices.set(use.getOperandNumber()); } } func.getArgument(arg_index).dropAllUses(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
for (const auto& input_pair : llvm::enumerate(signature->inputs)) { const int arg_index = GetTensorIndex( tensors[input_pair.value()->tensor_index]->name, input_names); if (arg_index == -1) { func->emitWarning("Invalid signature tensors specified."); return; } func.setArgAttr( arg_index, kTfSavedModelIndexPathAttr, mlir::ArrayAttr::get(context, {mlir::StringAttr::get(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0)