Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for ellipsis (0.12 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    			tok(n.TokPos, len(n.Tok.String())))
    
    	case *ast.CallExpr:
    		children = append(children,
    			tok(n.Lparen, len("(")),
    			tok(n.Rparen, len(")")))
    		if n.Ellipsis != 0 {
    			children = append(children, tok(n.Ellipsis, len("...")))
    		}
    
    	case *ast.CaseClause:
    		if n.List == nil {
    			children = append(children,
    				tok(n.Case, len("default")))
    		} else {
    			children = append(children,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  2. src/go/ast/ast.go

    		Obj     *Object   // denoted object, or nil. Deprecated: see Object.
    	}
    
    	// An Ellipsis node stands for the "..." type in a
    	// parameter list or the "..." length in an array type.
    	//
    	Ellipsis struct {
    		Ellipsis token.Pos // position of "..."
    		Elt      Expr      // ellipsis element type (parameter lists only); or nil
    	}
    
    	// A BasicLit node represents a literal of basic type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  3. src/net/netip/netip.go

    	}
    
    	// If didn't parse enough, expand ellipsis.
    	if i < 16 {
    		if ellipsis < 0 {
    			return Addr{}, parseAddrError{in: in, msg: "address string too short"}
    		}
    		n := 16 - i
    		for j := i - 1; j >= ellipsis; j-- {
    			ip[j+n] = ip[j]
    		}
    		clear(ip[ellipsis : ellipsis+n])
    	} else if ellipsis >= 0 {
    		// Ellipsis must represent at least one 0 group.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  4. docs/fr/docs/tutorial/query-params-str-validations.md

    ```
    
    !!! info
        Si vous n'avez jamais vu ce `...` auparavant : c'est une des constantes natives de Python <a href="https://docs.python.org/fr/3/library/constants.html#Ellipsis" class="external-link" target="_blank">appelée "Ellipsis"</a>.
    
    Cela indiquera à **FastAPI** que la présence de ce paramètre est obligatoire.
    
    ## Liste de paramètres / valeurs multiples via Query
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 27 18:53:21 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/query-params-str-validations.md

        ```
    
    !!! info "Дополнительная информация"
        Если вы ранее не сталкивались с `...`: это специальное значение, <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">часть языка Python и называется "Ellipsis"</a>.
    
        Используется в Pydantic и FastAPI для определения, что значение требуется обязательно.
    
    Таким образом, **FastAPI** определяет, что параметр является обязательным.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 38K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/query-params-str-validations.md

        ```
    
    !!! info
        If you hadn't seen that `...` before: it is a special single value, it is <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">part of Python and is called "Ellipsis"</a>.
    
        It is used by Pydantic and FastAPI to explicitly declare that a value is required.
    
    This will let **FastAPI** know that this parameter is required.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

      *rhs_named_label_count = rhs_count;
      return labels;
    }
    
    // Generate new unnamed labels for the expression.
    // For example, if we have GenerateLabels(2, {'b', 'c', 'd'}) for "...xy"
    // We will have "dcxy" for the ellipsis expression since it's rank 4,
    // we will have dcbxy if it's rank 5.
    std::string GenerateLabels(int count,
                               const llvm::SetVector<char>& available_labels) {
      std::string new_labels(count, 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top