Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 7,702 for p$ (0.02 sec)

  1. src/internal/types/testdata/fixedbugs/issue48703.go

    package p
    
    import "unsafe"
    
    // The actual example from the issue.
    type List[P any] struct{}
    
    func (_ List[P]) m() (_ List[List[P]]) { return }
    
    // Other types of recursion through methods.
    type R[P any] int
    
    func (*R[R /* ERROR "must be an identifier" */ [int]]) m0() {}
    func (R[P]) m1(R[R[P]])                                   {}
    func (R[P]) m2(R[*P])                                     {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 769 bytes
    - Viewed (0)
  2. test/fixedbugs/issue17381.go

    }
    
    //go:noinline
    func f() {
    	var t [1]int // non-empty frame
    	*(*int)(nil) = t[0]
    }
    
    var p = funcPC(runtime.GC) + 8
    
    //go:noinline
    func prep() {
    	// put some garbage on stack
    	var x = [20]uintptr{p, p, p, p, p, p, p, p, p, p, p, p, p, p, p, p, p, p, p, p}
    	_ = x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 21:44:32 UTC 2016
    - 1K bytes
    - Viewed (0)
  3. tools/istio-iptables/pkg/capture/testdata/dns-uid-gid.golden

    iptables -t nat -A ISTIO_OUTPUT -p udp --dport 53 -m owner --gid-owner 2 -j RETURN
    iptables -t nat -A ISTIO_OUTPUT -p udp --dport 53 -d 127.0.0.53/32 -j REDIRECT --to-port 15053
    iptables -t raw -A ISTIO_OUTPUT -p udp --dport 53 -m owner --uid-owner 3 -j CT --zone 1
    iptables -t raw -A ISTIO_OUTPUT -p udp --sport 15053 -m owner --uid-owner 3 -j CT --zone 2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 15:51:15 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/work_sync.txt

    replace (
    	example.com/p => ../p
    	example.com/q => ../q
    )
    -- b/b.go --
    package b
    
    import (
    	"example.com/p"
    	"example.com/q"
    )
    
    func Foo() {
    	p.P()
    	q.Q()
    }
    -- p/go.mod --
    go 1.18
    
    module example.com/p
    -- p/p.go --
    package p
    
    func P() {}
    -- q/go.mod --
    go 1.18
    
    module example.com/q
    -- q/q.go --
    package q
    
    func Q() {}
    -- r/go.mod --
    go 1.18
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 16 17:32:23 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue59956.go

    // license that can be found in the LICENSE file.
    
    package p
    
    func f1(func(int))
    func f2(func(int), func(string))
    func f3(func(int), func(string), func(float32))
    
    func g1[P any](P) {}
    
    func _() {
    	f1(g1)
    	f2(g1, g1)
    	f3(g1, g1, g1)
    }
    
    // More complex examples
    
    func g2[P any](P, P)                                         {}
    func h3[P any](func(P), func(P), func() P)                   {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 17:35:44 UTC 2023
    - 873 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/work_sync_relevant_dependency.txt

    import (
    	"example.com/q"
    )
    
    func Foo() {
    	q.Q()
    }
    -- p/go.mod --
    go 1.18
    
    module example.com/p
    -- p/p.go --
    package p
    
    func P() {}
    -- q/go.mod --
    go 1.18
    
    module example.com/q
    
    require example.com/p v1.1.0
    
    replace example.com/p => ../p
    -- q/q.go --
    package q
    
    import example.com/p
    
    func Q() {
    	p.P()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 16 17:32:23 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  7. src/go/printer/testdata/generics.golden

    func f[P any](T1[P], T2[P]) T3[P]
    
    func (x T[P]) m()
    func (T[P]) m(x T[P]) P
    
    func _() {
    	type _ []T[P]
    	var _ []T[P]
    	_ = []T[P]{}
    }
    
    // type constraint literals with elided interfaces
    func _[P ~int, Q int | string]()	{}
    func _[P struct{ f int }, Q *P]()	{}
    
    // various potentially ambiguous type parameter lists (issue #49482)
    type _[P *T,] struct{}
    type _[P T | T] struct{}
    type _[P T | T | T | T] struct{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 06 16:18:34 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/testdata/issue49482.go

    package p
    
    type (
            // these need a comma to disambiguate
            _[P *T,] struct{}
            _[P *T, _ any] struct{}
            _[P (*T),] struct{}
            _[P (*T), _ any] struct{}
            _[P (T),] struct{}
            _[P (T), _ any] struct{}
    
            // these parse as name followed by type
            _[P *struct{}] struct{}
            _[P (*struct{})] struct{}
            _[P ([]int)] struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 965 bytes
    - Viewed (0)
  9. src/cmd/gofmt/testdata/typeparams.golden

    func f[P any](T1[P], T2[P]) T3[P]
    
    func (x T[P]) m()
    func (T[P]) m(x T[P]) P
    
    func _() {
    	type _ []T[P]
    	var _ []T[P]
    	_ = []T[P]{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 15:34:22 UTC 2021
    - 680 bytes
    - Viewed (0)
  10. src/cmd/gofmt/testdata/typeparams.input

    func (x T[P]) m()
    func ((T[P])) m(x T[P]) P
    
    func _() {
    	type _ []T[P]
    	var _ []T[P]
    	_ = []T[P]{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 15:34:22 UTC 2021
    - 677 bytes
    - Viewed (0)
Back to top