- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 59 for variadicOk (0.22 sec)
-
tensorflow/compiler/mlir/lite/converter_gen.cc
verify_ctx.addSubst("_op", "top"); for (int i = 0, e = op.getNumOperands(); i < e; ++i) { auto &value = op.getOperand(i); // Skip from first variadic operands for now. Else getOperand index used // below doesn't match. if (value.isVariableLength()) break; if (!value.name.empty()) verify_ctx.addSubst(value.name, formatv("op->getOperand({0})", i));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 15:05:28 UTC 2023 - 23.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/unify.go
// and result values, corresponding parameter and result types unify, // and either both functions are variadic or neither is. // Parameter and result names are not required to match. // TODO(gri) handle type parameters or document why we can ignore them. if y, ok := y.(*Signature); ok { return x.variadic == y.variadic && u.nify(x.params, y.params, emode, p) && u.nify(x.results, y.results, emode, p) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.8K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
} func (r *importReader) signature(recv *types.Var, rparams, tparams []*types.TypeParam) *types.Signature { params := r.paramList() results := r.paramList() variadic := params.Len() > 0 && r.bool() return types.NewSignatureType(recv, rparams, tparams, params, results, variadic) } func (r *importReader) tparamList() []*types.TypeParam { n := r.uint64() if n == 0 { return nil } xs := make([]*types.TypeParam, n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
src/go/types/unify.go
// and result values, corresponding parameter and result types unify, // and either both functions are variadic or neither is. // Parameter and result names are not required to match. // TODO(gri) handle type parameters or document why we can ignore them. if y, ok := y.(*Signature); ok { return x.variadic == y.variadic && u.nify(x.params, y.params, emode, p) && u.nify(x.results, y.results, emode, p) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.9K bytes - Viewed (0) -
src/runtime/sys_darwin_arm64.s
TEXT notok<>(SB),NOSPLIT,$0 MOVD $0, R8 MOVD R8, (R8) B 0(PC) TEXT runtime·open_trampoline(SB),NOSPLIT,$0 SUB $16, RSP MOVW 8(R0), R1 // arg 2 flags MOVW 12(R0), R2 // arg 3 mode MOVW R2, (RSP) // arg 3 is variadic, pass on stack MOVD 0(R0), R0 // arg 1 pathname BL libc_open(SB) ADD $16, RSP RET TEXT runtime·close_trampoline(SB),NOSPLIT,$0 MOVW 0(R0), R0 // arg 1 fd BL libc_close(SB) RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 18.3K bytes - Viewed (0) -
src/text/template/exec.go
// Validate against the type of the actual parameter. t = typ.In(numIn - 1) } else { // The added final argument corresponds to the variadic part. // Validate against the type of the elements of the variadic slice. t = t.Elem() } } argv[i] = s.validateType(final, t) } // Special case for the "call" builtin.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc
CompileTimeConstantOperand<TF::CollectivePermuteOp, 1>, // $group_size, $group_key CompileTimeConstantOperand<TF::CollectiveReduceV2Op, 1, 2>, CompileTimeConstantOperand<TF::ConcatV2Op, -1>, // (variadic) $axis // $filter_sizes CompileTimeConstantOperand<TF::Conv2DBackpropFilterOp, 1>, CompileTimeConstantOperand<TF::Conv2DBackpropInputOp, 0>, // $input_sizes // $filter_sizes
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 17.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc
Append(values, ranges...); } // Returns the number of elements in `range`. template <typename Range> size_t Size(Range&& range) { return range.size(); } // Returns the total number of elements in a variadic number of `ranges`. template <typename Range, typename... RangeTs> size_t Size(Range&& range, RangeTs&&... ranges) { return range.size() + Size(std::forward<RangeTs>(ranges)...); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
return nil } params = append(params, &ast.Field{ Type: p, Names: []*ast.Ident{ { Name: t.Params().At(i).Name(), }, }, }) } if t.Variadic() { last := params[len(params)-1] last.Type = &ast.Ellipsis{Elt: last.Type.(*ast.ArrayType).Elt} } var returns []*ast.Field for i := 0; i < t.Results().Len(); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
src/go/internal/gccgoimporter/parser.go
var list []*types.Var isVariadic := false p.expect('(') for p.tok != ')' && p.tok != scanner.EOF { if len(list) > 0 { p.expect(',') } par, variadic := p.parseParam(pkg) list = append(list, par) if variadic { if isVariadic { p.error("... not on final argument") } isVariadic = true } } p.expect(')') return types.NewTuple(list...), isVariadic }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 02 23:14:07 UTC 2024 - 31.2K bytes - Viewed (0)