Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 195 for ellipsis (0.11 sec)

  1. tests/test_params_repr.py

            "Param(Ellipsis)",
        )
    
    
    def test_param_repr_number():
        assert repr(Param(1)) == "Param(1)"
    
    
    def test_param_repr_list():
        assert repr(Param([])) == "Param([])"
    
    
    def test_path_repr():
        assert repr(Path()) == IsOneOf(
            "Path(PydanticUndefined)",
            # TODO: remove when deprecating Pydantic v1
            "Path(Ellipsis)",
        )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. tensorflow/cc/gradients/linalg_grad.cc

    namespace tensorflow {
    namespace ops {
    namespace {
    
    constexpr absl::string_view kEllipsis = "...";
    
    // Returns the axis (possibly negative) corresponding to a label.
    //
    // Returns the axis index of the axis label if it is before an ellipsis (or if
    // the ellipsis is not present), and the negative index if it occurs after the
    // ellipsis. E.g. index of `b` in `ab...cd`, is `1`, but that of `c` is `-2`.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 20.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/gofmt/testdata/rewrite7.golden

    //gofmt -r=fun(x...)->Fun(x)
    
    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Rewriting of calls must take the ... (ellipsis)
    // attribute for the last argument into account.
    
    package p
    
    func fun(x []int) {}
    
    func g(x []int) {
    	fun(x) // -r='fun(x...)->Fun(x)' should not rewrite this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 466 bytes
    - Viewed (0)
  6. src/cmd/gofmt/testdata/rewrite6.golden

    //gofmt -r=fun(x)->Fun(x)
    
    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Rewriting of calls must take the ... (ellipsis)
    // attribute for the last argument into account.
    
    package p
    
    func fun(x []int) {}
    
    func g(x []int) {
    	Fun(x)    // -r='fun(x)->Fun(x)' should rewrite this to Fun(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 463 bytes
    - Viewed (0)
  7. src/cmd/gofmt/testdata/rewrite6.input

    //gofmt -r=fun(x)->Fun(x)
    
    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Rewriting of calls must take the ... (ellipsis)
    // attribute for the last argument into account.
    
    package p
    
    func fun(x []int) {}
    
    func g(x []int) {
    	fun(x)    // -r='fun(x)->Fun(x)' should rewrite this to Fun(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 463 bytes
    - Viewed (0)
  8. src/cmd/gofmt/testdata/rewrite7.input

    //gofmt -r=fun(x...)->Fun(x)
    
    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Rewriting of calls must take the ... (ellipsis)
    // attribute for the last argument into account.
    
    package p
    
    func fun(x []int) {}
    
    func g(x []int) {
    	fun(x)    // -r='fun(x...)->Fun(x)' should not rewrite this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 472 bytes
    - Viewed (0)
  9. src/main/webapp/css/style.css

    	}
    	.searchFormBox {
    		margin-top: 4em;
    	}
    	#result .info {
    		display: none;
    	}
    	#result .more {
    		display: block;
    	}
    	#result .description {
    		overflow: hidden;
    		text-overflow: ellipsis;
    		white-space: nowrap;
    	}
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Jun 02 11:39:35 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. 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)
Back to top