- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for ellipsis (0.13 sec)
-
src/go/types/util.go
// hasDots reports whether the last argument in the call is followed by ... func hasDots(call *ast.CallExpr) bool { return call.Ellipsis.IsValid() } // dddErrPos returns the positioner for reporting an invalid ... use in a call. func dddErrPos(call *ast.CallExpr) positioner { return atPos(call.Ellipsis) } // argErrPos returns positioner for reporting an invalid argument count.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 1.7K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
padded_begin.push_back(0); padded_end.push_back(0); padded_stride.push_back(1); } // Account for ellipsis mask. ++index; // After the ellipsis. for (; index < begin_shape[0];) { padded_begin.push_back(begin_dense_elem_attr.getValues<int32_t>()[index]); padded_end.push_back(end_dense_elem_attr.getValues<int32_t>()[index]); padded_stride.push_back(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
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) -
src/go/ast/example_test.go
// 37 . . . . . . . . . Kind: STRING // 38 . . . . . . . . . Value: "\"Hello, World!\"" // 39 . . . . . . . . } // 40 . . . . . . . } // 41 . . . . . . . Ellipsis: - // 42 . . . . . . . Rparen: 4:25 // 43 . . . . . . } // 44 . . . . . } // 45 . . . . } // 46 . . . . Rbrace: 5:1 // 47 . . . }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:44:50 UTC 2024 - 6.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)