Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,463 for p$ (0.03 sec)

  1. src/cmd/link/testdata/linkname/p/p.go

    // Copyright 2024 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.
    
    package p
    
    import _ "unsafe"
    
    // f1 is pushed from main.
    //
    //go:linkname f1
    func f1()
    
    // Push f2 to main.
    //
    //go:linkname f2 main.f2
    func f2() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 328 bytes
    - Viewed (0)
  2. src/internal/trace/testdata/tests/go122-create-syscall-with-p.test

    -- expect --
    FAILURE ".*expected a proc but didn't have one.*"
    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=34
    GoCreateSyscall dt=1 new_g=4
    ProcStatus dt=1 p=0 pstatus=2
    ProcStart dt=1 p=0 p_seq=1
    GoSyscallEndBlocked dt=1
    GoStart dt=1 g=4 g_seq=1
    GoSyscallBegin dt=1 p_seq=2 stack=0
    GoDestroySyscall dt=1
    GoCreateSyscall dt=1 new_g=4
    GoSyscallEnd dt=1
    GoSyscallBegin dt=1 p_seq=3 stack=0
    GoDestroySyscall dt=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 624 bytes
    - Viewed (0)
  3. src/internal/trace/testdata/generators/go122-create-syscall-with-p.go

    //
    // Specifically, it tests a scenerio wherein a C
    // thread is calling into Go, creating a goroutine in
    // a syscall (in the tracer's model). Because the actual
    // m can be reused, it's possible for that m to have never
    // had its P (in _Psyscall) stolen if the runtime doesn't
    // model the scenario correctly. Make sure we reject such
    // traces.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/go/parser/short_test.go

    	`package p; type _ [A+B]struct{}`,
    	`package p; func (R) _()`,
    	`package p; type _ struct{ f [n]E }`,
    	`package p; type _ struct{ f [a+b+c+d]E }`,
    	`package p; type I1 interface{}; type I2 interface{ I1 }`,
    
    	// generic code
    	`package p; type _ []T[int]`,
    	`package p; type T[P any] struct { P }`,
    	`package p; type T[P comparable] struct { P }`,
    	`package p; type T[P comparable[P]] struct { P }`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  5. src/go/printer/testdata/parser.go

    	p.openScope()
    	p.pkgScope = p.topScope
    
    	// for the same reason, set up a label scope
    	p.openLabelScope()
    }
    
    // ----------------------------------------------------------------------------
    // Scoping support
    
    func (p *parser) openScope() {
    	p.topScope = ast.NewScope(p.topScope)
    }
    
    func (p *parser) closeScope() {
    	p.topScope = p.topScope.Outer
    }
    
    func (p *parser) openLabelScope() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/printer.go

    		p.print(_Func)
    		p.printSignature(n)
    
    	case *InterfaceType:
    		p.print(_Interface)
    		if p.linebreaks && len(n.MethodList) > 1 {
    			p.print(blank)
    			p.print(_Lbrace)
    			p.print(newline, indent)
    			p.printMethodList(n.MethodList)
    			p.print(outdent, newline)
    		} else {
    			p.print(_Lbrace)
    			p.printMethodList(n.MethodList)
    		}
    		p.print(_Rbrace)
    
    	case *MapType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/loong64/obj.go

    		p = obj.Appendp(p, c.newprog)
    		p.As = mov
    		p.From.Type = obj.TYPE_REG
    		p.From.Reg = REGCTXT
    		p.To.Type = obj.TYPE_MEM
    		p.To.Offset = -int64(c.ctxt.Arch.PtrSize)
    		p.To.Reg = REGSP
    
    		// ADD	$-8/$-16, SP
    		p = obj.Appendp(p, c.newprog)
    		p.As = add
    		p.From.Type = obj.TYPE_CONST
    		p.From.Offset = int64(-frameSize)
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = REGSP
    		p.Spadj = int32(frameSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:22:18 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  8. src/go/parser/parser.go

    		case p.tok.IsLiteral():
    			p.printTrace(s, p.lit)
    		case p.tok.IsOperator(), p.tok.IsKeyword():
    			p.printTrace("\"" + s + "\"")
    		default:
    			p.printTrace(s)
    		}
    	}
    
    	for {
    		p.pos, p.tok, p.lit = p.scanner.Scan()
    		if p.tok == token.COMMENT {
    			if p.top && strings.HasPrefix(p.lit, "//go:build") {
    				if x, err := constraint.Parse(p.lit); err == nil {
    					p.goVersion = constraint.GoVersion(x)
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  9. src/runtime/mem_sbrk.go

    		*p.next.ptr() = memHdr{}
    	} else {
    		bp.next = p.next
    	}
    	if uintptr(unsafe.Pointer(p))+p.size == bpn {
    		p.size += bp.size
    		p.next = bp.next
    		*bp = memHdr{}
    	} else {
    		p.next.set(bp)
    	}
    }
    
    func memCheck() {
    	if !memDebug {
    		return
    	}
    	for p := memFreelist.ptr(); p != nil && p.next != 0; p = p.next.ptr() {
    		if uintptr(unsafe.Pointer(p)) == uintptr(unsafe.Pointer(p.next)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. tools/bug-report/pkg/content/content.go

    	}
    	out, err := p.Runner.RunCmd("get pods -o yaml", p.IstioNamespace, p.KubeConfig, p.KubeContext, p.DryRun)
    	return map[string]string{
    		"pods": out,
    	}, err
    }
    
    // GetEvents returns events for all namespaces.
    func GetEvents(p *Params) (map[string]string, error) {
    	out, err := p.Runner.RunCmd("get events --all-namespaces -o wide --sort-by=.metadata.creationTimestamp", "", p.KubeConfig, p.KubeContext, p.DryRun)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top