Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 218 for oris (0.18 sec)

  1. src/image/color/color_test.go

    		0xfffffffd,
    		0xfffffffe,
    		0xffffffff,
    	}
    	for _, x := range testCases {
    		for _, y := range testCases {
    			if got, want := sqDiff(x, y), orig(x, y); got != want {
    				t.Fatalf("sqDiff(%#x, %#x): got %d, want %d", x, y, got, want)
    			}
    		}
    	}
    	if err := quick.CheckEqual(orig, sqDiff, &quick.Config{MaxCountScale: 10}); err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 27 05:47:09 UTC 2017
    - 890 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_invalid_path_plus.txt

    # 'go list' accepts package paths with pluses.
    cp go.mod.orig go.mod
    go get example.net/cmd
    go list example.net/cmd/x++
    
    # 'go list -m' rejects module paths with pluses.
    ! go list -versions -m 'example.net/bad++'
    stderr '^go: malformed module path "example.net/bad\+\+": invalid char ''\+''$'
    
    # 'go get' accepts package paths with pluses.
    cp go.mod.orig go.mod
    go get example.net/cmd/x++
    go list -m example.net/cmd
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 821 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/instantiate.go

    	// that case, re-use the existing instance.
    	for i, ctxt := range ctxts {
    		if inst := ctxt.lookup(hashes[i], orig, targs); inst != nil {
    			return updateContexts(inst)
    		}
    	}
    
    	switch orig := orig.(type) {
    	case *Named:
    		res = check.newNamedInstance(pos, orig, targs, expanding) // substituted lazily
    
    	case *Alias:
    		// TODO(gri) is this correct?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_tidy_cycle.txt

    # subcommands when certain kinds of cycles were present
    # in the build graph.
    
    env GO111MODULE=on
    
    cp go.mod go.mod.orig
    go mod tidy
    cmp go.mod go.mod.orig
    
    # If the go.mod file is already tidy, 'go mod graph' should not modify it.
    go mod graph
    cmp go.mod go.mod.orig
    
    -- go.mod --
    module root
    
    go 1.13
    
    replace (
    	a v0.1.0 => ./a1
    	b v0.1.0 => ./b1
    	b v0.2.0 => ./b2
    	c v0.1.0 => ./c1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 19 15:51:38 UTC 2019
    - 949 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_tidy_compat_irrelevant.txt

    #         |
    #         + ------------- requireincompatible v0.1.0 ---- incompatible v2.0.0+incompatible
    
    cp go.mod go.mod.orig
    go mod tidy
    cmp go.mod go.mod.orig
    
    # Make sure that -diff behaves the same as tidy.
    [exec:patch] mv go.mod go.mod.tidyResult
    [exec:patch] mv go.sum go.sum.tidyResult
    [exec:patch] cp go.mod.orig go.mod
    [exec:patch] ! go mod tidy -diff
    [exec:patch] cp stdout diff.patch
    [exec:patch] exec patch -p1 -i diff.patch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_get_prefer_incompatible.txt

    # a lower compatible version when upgrading.
    cp go.mod go.mod.orig
    go mod tidy
    cmp go.mod.orig go.mod
    grep '^example.com/incompatiblewithsub v2\.0\.0\+incompatible' go.sum
    ! grep '^example.com/incompatiblewithsub v1.0.0' go.sum
    
    go get example.com/incompatiblewithsub/sub
    cmp go.mod.orig go.mod
    ! grep '^example.com/incompatiblewithsub v1.0.0' go.sum
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 895 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/named.go

    		assert(n.loader == nil)     // instances are created by instantiation, in which case n.loader is nil
    
    		orig := n.inst.orig
    		orig.resolve()
    		underlying := n.expandUnderlying()
    
    		n.tparams = orig.tparams
    		n.underlying = underlying
    		n.fromRHS = orig.fromRHS // for cycle detection
    
    		if len(orig.methods) == 0 {
    			n.setState(complete) // nothing further to do
    			n.inst.ctxt = nil
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. src/go/types/named.go

    		assert(n.loader == nil)     // instances are created by instantiation, in which case n.loader is nil
    
    		orig := n.inst.orig
    		orig.resolve()
    		underlying := n.expandUnderlying()
    
    		n.tparams = orig.tparams
    		n.underlying = underlying
    		n.fromRHS = orig.fromRHS // for cycle detection
    
    		if len(orig.methods) == 0 {
    			n.setState(complete) // nothing further to do
    			n.inst.ctxt = nil
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. pilot/pkg/security/authz/builder/testdata/http/simple-policy-multiple-td-aliases-out.yaml

        policies:
          ns[foo]-policy[httpbin]-rule[0]:
            permissions:
            - andRules:
                rules:
                - any: true
            principals:
            - andIds:
                ids:
                - orIds:
                    ids:
                    - authenticated:
                        principalName:
                          exact: spiffe://td1/ns/rule[0]/sa/from[0]-principal[0]
                    - authenticated:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 16:35:46 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/import_ignore.txt

    cp go.mod go.mod.orig
    go mod tidy
    cmp go.mod go.mod.orig
    
    -- go.mod --
    module m.test
    
    go 1.16
    -- .ignore.go --
    package p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 22 13:39:31 UTC 2020
    - 156 bytes
    - Viewed (0)
Back to top