- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for ellipsis (0.44 sec)
-
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
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++ { r := TypeExpr(f, pkg, t.Results().At(i).Type()) if r == nil { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
docs/em/docs/tutorial/query-params-str-validations.md
```Python hl_lines="7" {!../../../docs_src/query_params_str_validations/tutorial006b.py!} ``` !!! info 🚥 👆 🚫 👀 👈 `...` ⏭: ⚫️ 🎁 👁 💲, ⚫️ <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">🍕 🐍 & 🤙 "❕"</a>. ⚫️ ⚙️ Pydantic & FastAPI 🎯 📣 👈 💲 ✔. 👉 🔜 ➡️ **FastAPI** 💭 👈 👉 🔢 ✔. ### ✔ ⏮️ `None`
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 11.9K bytes - Viewed (0) -
src/go/types/signature.go
if list == nil { return } var named, anonymous bool for i, field := range list.List { ftype := field.Type if t, _ := ftype.(*ast.Ellipsis); t != nil { ftype = t.Elt if variadicOk && i == len(list.List)-1 && len(field.Names) <= 1 { variadic = true } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 13K bytes - Viewed (0) -
src/go/types/call.go
if sig.variadic { if ddd { // variadic_func(a, b, c...) if len(call.Args) == 1 && nargs > 1 { // f()... is not permitted if f() is multi-valued check.errorf(inNode(call, call.Ellipsis), InvalidDotDotDot, "cannot use ... with %d-valued %s", nargs, call.Args[0]) return } } else { // variadic_func(a, b, c) if nargs >= npars-1 { // Create custom parameters for arguments: keep
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 33.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/call.go
if sig.variadic { if ddd { // variadic_func(a, b, c...) if len(call.ArgList) == 1 && nargs > 1 { // f()... is not permitted if f() is multi-valued //check.errorf(call.Ellipsis, "cannot use ... with %d-valued %s", nargs, call.ArgList[0]) check.errorf(call, InvalidDotDotDot, "cannot use ... with %d-valued %s", nargs, call.ArgList[0]) return } } else { // variadic_func(a, b, c)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31.5K bytes - Viewed (0) -
src/go/types/generate_test.go
if isIdent(n.Args[0], "pos") { pos := n.Args[0].Pos() fun := &ast.SelectorExpr{X: newIdent(pos, "posn"), Sel: newIdent(pos, "Pos")} arg := &ast.CallExpr{Fun: fun, Lparen: pos, Args: nil, Ellipsis: token.NoPos, Rparen: pos} n.Args[0] = arg return false } case "addf": // rewrite err.addf(pos, ...) to err.addf(posn, ...) if isIdent(n.Args[0], "pos") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 16.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go
argnum := 0 for _, fld := range list { t := pass.TypesInfo.Types[fld.Type].Type // Work around https://golang.org/issue/28277. if t == nil { if ell, ok := fld.Type.(*ast.Ellipsis); ok { t = types.NewSlice(pass.TypesInfo.Types[ell.Elt].Type) } } align := int(arch.sizes.Alignof(t)) size := int(arch.sizes.Sizeof(t)) offset += -offset & (align - 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 22.8K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
"github.com/minio/minio/internal/config" "github.com/minio/pkg/v3/ellipses" "github.com/minio/pkg/v3/env" ) // This file implements and supports ellipses pattern for // `minio server` command line arguments. // Endpoint set represents parsed ellipses values, also provides // methods to get the sets of endpoints. type endpointSet struct { argPatterns []ellipses.ArgPattern
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 14.7K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h
// null pointer literal (i.e. NULL or any 0-valued compile-time // integral constant). #ifdef GTEST_ELLIPSIS_NEEDS_POD_ // We lose support for NULL detection where the compiler doesn't like // passing non-POD classes through ellipsis (...). # define GTEST_IS_NULL_LITERAL_(x) false #else # define GTEST_IS_NULL_LITERAL_(x) \ (sizeof(::testing::internal::IsNullLiteralHelper(x)) == 1) #endif // GTEST_ELLIPSIS_NEEDS_POD_
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 43.1K bytes - Viewed (0) -
cmd/endpoint-ellipses_test.go
"{1...27}", endpointSet{ []ellipses.ArgPattern{ []ellipses.Pattern{ { Prefix: "", Suffix: "", Seq: getSequences(1, 27, 0), }, }, }, nil, [][]uint64{{9, 9, 9}}, }, true, }, { "/export/set{1...64}", endpointSet{ []ellipses.ArgPattern{ []ellipses.Pattern{ {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.2K bytes - Viewed (0)