Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 145 for ellipsis (0.14 sec)

  1. 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)
  2. 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">🍕 🐍 &amp; 🤙 "❕"</a>.
    
        ⚫️ ⚙️ Pydantic &amp; 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)
  3. 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)
  4. docs/zh/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">Python 的一部分并且被称为「省略号」</a>。
        Pydantic 和 FastAPI 使用它来显式的声明需要一个值。
    
    这将使 **FastAPI** 知道此查询参数是必需的。
    
    ### 使用`None`声明必需参数
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go

    	infoCopy.Name = escapeForDot(ShortenFunctionName(infoCopy.Name))
    	infoCopy.Name = strings.Replace(infoCopy.Name, "::", `\n`, -1)
    	// Go type parameters are reported as "[...]" by Go pprof profiles.
    	// Keep this ellipsis rather than replacing with newlines below.
    	infoCopy.Name = strings.Replace(infoCopy.Name, "[...]", "[…]", -1)
    	infoCopy.Name = strings.Replace(infoCopy.Name, ".", `\n`, -1)
    	if infoCopy.File != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
  6. 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)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    GTEST_API_ size_t GetThreadCount();
    
    // Passing non-POD classes through ellipsis (...) crashes the ARM
    // compiler and generates a warning in Sun Studio.  The Nokia Symbian
    // and the IBM XL C/C++ compiler try to instantiate a copy constructor
    // for objects passed through ellipsis (...), failing for uncopyable
    // objects.  We define this to ensure that only POD is passed through
    // ellipsis on these systems.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    GTEST_API_ size_t GetThreadCount();
    
    // Passing non-POD classes through ellipsis (...) crashes the ARM
    // compiler and generates a warning in Sun Studio.  The Nokia Symbian
    // and the IBM XL C/C++ compiler try to instantiate a copy constructor
    // for objects passed through ellipsis (...), failing for uncopyable
    // objects.  We define this to ensure that only POD is passed through
    // ellipsis on these systems.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  9. src/go/scanner/scanner_test.go

    	{token.ASSIGN, "=", operator},
    	{token.NOT, "!", operator},
    
    	{token.NEQ, "!=", operator},
    	{token.LEQ, "<=", operator},
    	{token.GEQ, ">=", operator},
    	{token.DEFINE, ":=", operator},
    	{token.ELLIPSIS, "...", operator},
    
    	{token.LPAREN, "(", operator},
    	{token.LBRACK, "[", operator},
    	{token.LBRACE, "{", operator},
    	{token.COMMA, ",", operator},
    	{token.PERIOD, ".", operator},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  10. 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)
Back to top