Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for selectsetpc (0.25 sec)

  1. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.writeBarrier", 0},
    	{"runtime.typedmemmove", 1},
    	{"runtime.typedmemclr", 1},
    	{"runtime.typedslicecopy", 1},
    	{"runtime.selectnbsend", 1},
    	{"runtime.selectnbrecv", 1},
    	{"runtime.selectsetpc", 1},
    	{"runtime.selectgo", 1},
    	{"runtime.block", 1},
    	{"runtime.makeslice", 1},
    	{"runtime.makeslice64", 1},
    	{"runtime.makeslicecopy", 1},
    	{"runtime.growslice", 1},
    	{"runtime.unsafeslicecheckptr", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/runtime/select.go

    type scase struct {
    	c    *hchan         // chan
    	elem unsafe.Pointer // data element
    }
    
    var (
    	chansendpc = abi.FuncPCABIInternal(chansend)
    	chanrecvpc = abi.FuncPCABIInternal(chanrecv)
    )
    
    func selectsetpc(pc *uintptr) {
    	*pc = getcallerpc()
    }
    
    func sellock(scases []scase, lockorder []uint16) {
    	var c *hchan
    	for _, o := range lockorder {
    		c0 := scases[o].c
    		if c0 != c {
    			c = c0
    			lock(&c.lock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/select.go

    			setField("elem", elem)
    		}
    
    		// TODO(mdempsky): There should be a cleaner way to
    		// handle this.
    		if base.Flag.Race {
    			r := mkcallstmt("selectsetpc", typecheck.NodAddr(ir.NewIndexExpr(base.Pos, pcs, ir.NewInt(base.Pos, int64(i)))))
    			init = append(init, r)
    		}
    	}
    	if nsends+nrecvs != ncas {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func typedslicecopy(typ *byte, dstPtr *any, dstLen int, srcPtr *any, srcLen int) int
    
    func selectnbsend(hchan chan<- any, elem *any) bool
    func selectnbrecv(elem *any, hchan <-chan any) (bool, bool)
    
    func selectsetpc(pc *uintptr)
    func selectgo(cas0 *byte, order0 *byte, pc0 *uintptr, nsends int, nrecvs int, block bool) (int, bool)
    func block()
    
    func makeslice(typ *byte, len int, cap int) unsafe.Pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/builtin.go

    	{"writeBarrier", varTag, 108},
    	{"typedmemmove", funcTag, 109},
    	{"typedmemclr", funcTag, 110},
    	{"typedslicecopy", funcTag, 111},
    	{"selectnbsend", funcTag, 112},
    	{"selectnbrecv", funcTag, 113},
    	{"selectsetpc", funcTag, 114},
    	{"selectgo", funcTag, 115},
    	{"block", funcTag, 9},
    	{"makeslice", funcTag, 116},
    	{"makeslice64", funcTag, 117},
    	{"makeslicecopy", funcTag, 118},
    	{"growslice", funcTag, 120},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top