Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for ellipsis (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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