Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 195 for ellipsis (0.12 sec)

  1. fastapi/_compat.py

            or hasattr(origin, "__get_pydantic_core_schema__")
        )
    
    
    def field_annotation_is_scalar(annotation: Any) -> bool:
        # handle Ellipsis here to make tuple[int, ...] work nicely
        return annotation is Ellipsis or not field_annotation_is_complex(annotation)
    
    
    def field_annotation_is_scalar_sequence(annotation: Union[Type[Any], None]) -> bool:
        origin = get_origin(annotation)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. src/go/ast/walk.go

    			Walk(v, n.Tag)
    		}
    		if n.Comment != nil {
    			Walk(v, n.Comment)
    		}
    
    	case *FieldList:
    		walkList(v, n.List)
    
    	// Expressions
    	case *BadExpr, *Ident, *BasicLit:
    		// nothing to do
    
    	case *Ellipsis:
    		if n.Elt != nil {
    			Walk(v, n.Elt)
    		}
    
    	case *FuncLit:
    		Walk(v, n.Type)
    		Walk(v, n.Body)
    
    	case *CompositeLit:
    		if n.Type != nil {
    			Walk(v, n.Type)
    		}
    		walkList(v, n.Elts)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	if !matched {
    		return
    	}
    
    	if !call.Ellipsis.IsValid() {
    		typ, ok := pass.TypesInfo.Types[call.Fun].Type.(*types.Signature)
    		if !ok {
    			return
    		}
    		if len(call.Args) > typ.Params().Len() {
    			// If we're passing more arguments than what the
    			// print/printf function can take, adding an ellipsis
    			// would break the program. For example:
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  4. src/go/printer/nodes.go

    		if paren {
    			p.print(token.RPAREN)
    		}
    
    		p.setPos(x.Lparen)
    		p.print(token.LPAREN)
    		if x.Ellipsis.IsValid() {
    			p.exprList(x.Lparen, x.Args, depth, 0, x.Ellipsis, false)
    			p.setPos(x.Ellipsis)
    			p.print(token.ELLIPSIS)
    			if x.Rparen.IsValid() && p.lineFor(x.Ellipsis) < p.lineFor(x.Rparen) {
    				p.print(token.COMMA, formfeed)
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    texts[i] = fragments[i].string();
                }
                final String value = StringUtils.join(texts, ELLIPSIS);
                if (StringUtil.isNotBlank(value) && !ComponentUtil.getFessConfig().endsWithFullstop(value)) {
                    return value + ELLIPSIS;
                }
                return value;
            }
            return null;
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:58:45 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/slog/slog.go

    	}
    	inspect.Preorder(nodeFilter, func(node ast.Node) {
    		call := node.(*ast.CallExpr)
    		fn := typeutil.StaticCallee(pass.TypesInfo, call)
    		if fn == nil {
    			return // not a static call
    		}
    		if call.Ellipsis != token.NoPos {
    			return // skip calls with "..." args
    		}
    		skipArgs, ok := kvFuncSkipArgs(fn)
    		if !ok {
    			// Not a slog function that takes key-value pairs.
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/query-params-str-validations.md

    {!../../../docs_src/query_params_str_validations/tutorial006.py!}
    ```
    
    !!! info "情報"
        これまで`...`を見たことがない方へ: これは特殊な単一値です。<a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">Pythonの一部であり、"Ellipsis"と呼ばれています</a>。
    
    これは **FastAPI** にこのパラメータが必須であることを知らせます。
    
    ## クエリパラメータのリスト / 複数の値
    
    クエリパラメータを明示的に`Query`で宣言した場合、値のリストを受け取るように宣言したり、複数の値を受け取るように宣言したりすることもできます。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  8. src/go/types/typexpr.go

    		if _, ok := e.Len.(*ast.Ellipsis); ok {
    			check.error(e.Len, BadDotDotDotSyntax, "invalid use of [...] array (outside a composite literal)")
    			typ.len = -1
    		} else {
    			typ.len = check.arrayLength(e.Len)
    		}
    		typ.elem = check.varType(e.Elt)
    		if typ.len >= 0 {
    			return typ
    		}
    		// report error if we encountered [...]
    
    	case *ast.Ellipsis:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/rulegen.go

    				log.Fatalf("%s: found ellipsis in rule, but there are other rules with the same op", r.Loc)
    			}
    		}
    		return "", false
    	}
    	rule := rules[0]
    	match, cond, result := rule.parse()
    	if cond != "" || !isEllipsisValue(match) || !isEllipsisValue(result) {
    		if strings.Contains(rule.Rule, "...") {
    			log.Fatalf("%s: found ellipsis in non-ellipsis rule", rule.Loc)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/query-params-str-validations.md

        ```
    
    !!! info
        Falls Sie das `...` bisher noch nicht gesehen haben: Es ist ein spezieller einzelner Wert, <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">Teil von Python und wird „Ellipsisgenannt</a> (Deutsch: Ellipse).
    
        Es wird von Pydantic und FastAPI verwendet, um explizit zu deklarieren, dass ein Wert erforderlich ist.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 17:58:59 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top