Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 5,200 for p$ (0.09 sec)

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

    // license that can be found in the LICENSE file.
    
    package p
    
    type T interface{ m() }
    type P *T
    
    func _(p *T) {
    	p.m /* ERROR "type *T is pointer to interface, not interface" */ ()
    }
    
    func _(p P) {
    	p.m /* ERROR "type P is pointer to interface, not interface" */ ()
    }
    
    func _[P T](p *P) {
    	p.m /* ERROR "type *P is pointer to type parameter, not type parameter" */ ()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 479 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/work_sync_irrelevant_dependency.txt

    package b
    
    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.0.0
    )
    
    replace (
    	example.com/p => ../p
    )
    -- q/q.go --
    package q
    
    func Q() {
    }
    -- q/q_test.go --
    package q
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 16 17:32:23 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/list_test_cycle.txt

    go list ./p
    stdout 'example/p'
    
    ! go list -json=ImportPath -test ./p
    cmp stderr wanterr.txt
    
    ! go list -json=ImportPath,Deps -test ./p
    cmp stderr wanterr.txt
    
    ! go list -json=ImportPath,Deps -deps -test ./p
    cmp stderr wanterr.txt
    
    ! go list -json=ImportPath -deps -test ./p
    cmp stderr wanterr.txt
    
    -- wanterr.txt --
    go: can't load test package: package example/p
    	imports example/q
    	imports example/r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 19:18:23 UTC 2023
    - 644 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/forminfo.go

    // influenced by normalization.
    type qcInfo uint8
    
    func (p Properties) isYesC() bool { return p.flags&0x10 == 0 }
    func (p Properties) isYesD() bool { return p.flags&0x4 == 0 }
    
    func (p Properties) combinesForward() bool  { return p.flags&0x20 != 0 }
    func (p Properties) combinesBackward() bool { return p.flags&0x8 != 0 } // == isMaybe
    func (p Properties) hasDecomposition() bool { return p.flags&0x4 != 0 } // == isNoD
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. cni/pkg/plugin/testdata/tproxy.txt.golden

    -A ISTIO_DIVERT -j ACCEPT
    -A ISTIO_TPROXY ! -d 127.0.0.1/32 -p tcp -j TPROXY --tproxy-mark 1337/0xffffffff --on-port 15006
    -A PREROUTING -p tcp -j ISTIO_INBOUND
    -A ISTIO_INBOUND -p tcp --dport 15020 -j RETURN
    -A ISTIO_INBOUND -p tcp --dport 15021 -j RETURN
    -A ISTIO_INBOUND -p tcp --dport 15090 -j RETURN
    -A ISTIO_INBOUND -p tcp -m conntrack --ctstate RELATED,ESTABLISHED -j ISTIO_DIVERT
    -A ISTIO_INBOUND -p tcp -j ISTIO_TPROXY
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 16 22:54:20 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. pkg/dns/client/proxy.go

    	}
    }
    
    func (p *dnsProxy) close() {
    	if p.server != nil {
    		if err := p.server.Shutdown(); err != nil {
    			log.Errorf("error in shutting down %s dns downstreamUDPServer :%v", p.protocol, err)
    		}
    	}
    }
    
    func (p *dnsProxy) Address() string {
    	if p.server != nil {
    		if p.server.Listener != nil {
    			return p.server.Listener.Addr().String()
    		}
    		if p.server.PacketConn != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 19 02:12:19 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  7. test/interface/embed3.dir/embed1.go

    	var i3 interface{} = X3{}
    	check(func() { _ = i3.(p.I2) }, "interface conversion: main.X3 is not p.I2: missing method foo")
    
    	var i4 interface{} = X4{}
    	check(func() { _ = i4.(p.I2) }, "interface conversion: main.X4 is not p.I2: missing method foo")
    
    	var i5 interface{} = X5{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 06 09:09:59 UTC 2019
    - 1.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/print.go

    }
    
    func (p stringFuncPrinter) header(f *Func) {
    	fmt.Fprint(p.w, f.Name)
    	fmt.Fprint(p.w, " ")
    	fmt.Fprintln(p.w, f.Type)
    }
    
    func (p stringFuncPrinter) startBlock(b *Block, reachable bool) {
    	if !p.printDead && !reachable {
    		return
    	}
    	fmt.Fprintf(p.w, "  b%d:", b.ID)
    	if len(b.Preds) > 0 {
    		io.WriteString(p.w, " <-")
    		for _, e := range b.Preds {
    			pred := e.b
    			fmt.Fprintf(p.w, " b%d", pred.ID)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_get_ambiguous_arg.txt

    	m v0.2.0 => ./m02
    	m v0.3.0 => ./m03
    	m/p v0.1.0 => ./mp01
    	m/p v0.2.0 => ./mp02
    	m/p v0.3.0 => ./mp03
    )
    -- m01/go.mod --
    module m
    
    go 1.16
    -- m01/README.txt --
    Module m at v0.1.0 does not yet contain package p.
    
    -- m02/go.mod --
    module m
    
    go 1.16
    
    require m/p v0.1.0
    -- m02/p/p.go --
    // Package p is present in module m, but not module m/p.
    package p
    
    -- m03/go.mod --
    module m
    
    go 1.16
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. test/typeparam/issue50417.go

    // implications on the spec. See issue #51576.
    
    /*
    type Sf struct {
    	f int
    }
    
    func f0[P Sf](p P) {
    	_ = p.f
    	p.f = 0
    }
    
    func f0t[P ~struct{ f int }](p P) {
    	_ = p.f
    	p.f = 0
    }
    
    var _ = f0[Sf]
    var _ = f0t[Sf]
    
    func f1[P interface {
    	~struct{ f int }
    	m()
    }](p P) {
    	_ = p.f
    	p.f = 0
    	p.m()
    }
    
    var _ = f1[Sfm]
    
    type Sm struct{}
    
    func (Sm) m() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top