- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for funcargs (0.14 sec)
-
src/cmd/compile/internal/types/sizeof_test.go
}{ {Sym{}, 32, 64}, {Type{}, 64, 104}, {Map{}, 12, 24}, {Forward{}, 20, 32}, {Func{}, 32, 56}, {Struct{}, 12, 24}, {Interface{}, 0, 0}, {Chan{}, 8, 16}, {Array{}, 12, 16}, {FuncArgs{}, 4, 8}, {ChanArgs{}, 4, 8}, {Ptr{}, 4, 8}, {Slice{}, 4, 8}, } for _, tt := range tests { want := tt._32bit if _64bit { want = tt._64bit } got := reflect.TypeOf(tt.val).Size()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 17:08:44 UTC 2024 - 1K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
func (t *Type) ChanArgs() *Type { t.wantEtype(TCHANARGS) return t.extra.(ChanArgs).T } // FuncArgs returns the func type for TFUNCARGS type t. func (t *Type) FuncArgs() *Type { t.wantEtype(TFUNCARGS) return t.extra.(FuncArgs).T } // IsFuncArgStruct reports whether t is a struct representing function parameters or results. func (t *Type) IsFuncArgStruct() bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
src/cmd/compile/internal/types/size.go
t.intRegs = 1 t.setAlg(ANOEQ) t.ptrBytes = int64(PtrSize) // function is 3 cated structures; // compute their widths as side-effect. case TFUNCARGS: t1 := t.FuncArgs() // TODO(mdempsky): Should package abi be responsible for computing argwid? w = calcStructOffset(t1, t1.Recvs(), 0) w = calcStructOffset(t1, t1.Params(), w) w = RoundUp(w, int64(RegSize))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 15K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc
// itself as the current live value. auto func_args = function.getArguments().take_front( function.getNumArguments() - var_handle_shared_names.size()); for (BlockArgument& func_arg : func_args) { auto resource_type = mlir::dyn_cast<TF::ResourceType>( getElementTypeOrSelf(func_arg.getType())); if (!resource_type) continue; if (failed(ValidateResourceArgument(function, func_arg, resource_type))) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
src/reflect/type.go
} if abid.stackPtrs.n > 0 { x.GCData = &abid.stackPtrs.data[0] } var s string if rcvr != nil { s = "methodargs(" + stringFor(rcvr) + ")(" + stringFor(&t.Type) + ")" } else { s = "funcargs(" + stringFor(&t.Type) + ")" } x.Str = resolveReflectName(newName(s, "", false, false)) // cache result for future callers framePool = &sync.Pool{New: func() any { return unsafe_New(x) }}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/object.h
template <typename TReturn, typename... TFuncArgs> class CallableWrapperUnpackArgs<TReturn (*)(TFuncArgs...)> : public CallableWrapper<TReturn (*)(TFuncArgs...), TReturn, TFuncArgs...> { using Fn = TReturn (*)(TFuncArgs...); public: CallableWrapperUnpackArgs(Fn fn, const char* name) : CallableWrapper<Fn, TReturn, TFuncArgs...>(fn, name) {} };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 11 08:05:36 UTC 2023 - 23.6K bytes - Viewed (0) -
pkg/util/iptables/iptables.go
iptablesCmd := iptablesCommand(runner.protocol) fullArgs := append(runner.waitFlag, string(op)) fullArgs = append(fullArgs, args...) klog.V(5).InfoS("Running", "command", iptablesCmd, "arguments", fullArgs) if ctx == nil { return runner.exec.Command(iptablesCmd, fullArgs...).CombinedOutput() } return runner.exec.CommandContext(ctx, iptablesCmd, fullArgs...).CombinedOutput()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 28.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
func_args.push_back(TF_CreateAbstractTensorFromEagerTensor(input_eager, s)); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); } TF_OutputList* func_outputs = TF_NewOutputList(); TF_OutputListSetNumOutputs(func_outputs, 2, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_ExecuteOperation(fn_op, func_args.size(), func_args.data(), func_outputs, s);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 21:44:52 UTC 2023 - 39.1K bytes - Viewed (0) -
src/cmd/compile/internal/types/kind_string.go
_ = x[TCHAN-22] _ = x[TMAP-23] _ = x[TINTER-24] _ = x[TFORW-25] _ = x[TANY-26] _ = x[TSTRING-27] _ = x[TUNSAFEPTR-28] _ = x[TIDEAL-29] _ = x[TNIL-30] _ = x[TBLANK-31] _ = x[TFUNCARGS-32] _ = x[TCHANARGS-33] _ = x[TSSA-34] _ = x[TTUPLE-35] _ = x[TRESULTS-36] _ = x[NTYPE-37] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:38 UTC 2023 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc
func::FuncOp float_func = dyn_cast<func::FuncOp>(symbol_table.lookup(function_name)); OperandRange func_args = op.getArgs(); func::FuncOp new_float_func = float_func.clone(); SmallVector<Value> new_float_func_args{func_args.begin(), func_args.end()}; new_float_func_args[weight_operand_idx] = reshape_op; new_float_func.getArgument(weight_operand_idx).setType(new_shape);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.4K bytes - Viewed (0)