Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for FuncPCABIInternal (0.36 sec)

  1. src/runtime/type.go

    }
    
    func (t rtype) textOff(off textOff) unsafe.Pointer {
    	if off == -1 {
    		// -1 is the sentinel value for unreachable code.
    		// See cmd/link/internal/ld/data.go:relocsym.
    		return unsafe.Pointer(abi.FuncPCABIInternal(unreachableMethod))
    	}
    	base := uintptr(unsafe.Pointer(t.Type))
    	var md *moduledata
    	for next := &firstmoduledata; next != nil; next = next.next {
    		if base >= next.types && base < next.etypes {
    			md = next
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ir/func.go

    func IsFuncPCIntrinsic(n *CallExpr) bool {
    	if n.Op() != OCALLFUNC || n.Fun.Op() != ONAME {
    		return false
    	}
    	fn := n.Fun.(*Name).Sym()
    	return (fn.Name == "FuncPCABI0" || fn.Name == "FuncPCABIInternal") &&
    		fn.Pkg.Path == "internal/abi"
    }
    
    // IsIfaceOfFunc inspects whether n is an interface conversion from a direct
    // reference of a func. If so, it returns referenced Func; otherwise nil.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. src/runtime/panic.go

    // See the doc comment for deferrangefunc for details.
    func deferprocat(fn func(), frame any) {
    	head := frame.(*atomic.Pointer[_defer])
    	if raceenabled {
    		racewritepc(unsafe.Pointer(head), getcallerpc(), abi.FuncPCABIInternal(deferprocat))
    	}
    	d1 := newdefer()
    	d1.fn = fn
    	for {
    		d1.link = head.Load()
    		if d1.link == badDefer() {
    			throw("defer after range func returned")
    		}
    		if head.CompareAndSwap(d1.link, d1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof.go

    	}
    
    	stk := make([]uintptr, 32)
    	n := runtime.Callers(skip+1, stk[:])
    	stk = stk[:n]
    	if len(stk) == 0 {
    		// The value for skip is too large, and there's no stack trace to record.
    		stk = []uintptr{abi.FuncPCABIInternal(lostProfileEvent)}
    	}
    
    	p.mu.Lock()
    	defer p.mu.Unlock()
    	if p.m[value] != nil {
    		panic("pprof: Profile.Add of duplicate value")
    	}
    	p.m[value] = stk
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  5. src/runtime/stack.go

    func gostartcallfn(gobuf *gobuf, fv *funcval) {
    	var fn unsafe.Pointer
    	if fv != nil {
    		fn = unsafe.Pointer(fv.fn)
    	} else {
    		fn = unsafe.Pointer(abi.FuncPCABIInternal(nilfunc))
    	}
    	gostartcall(gobuf, fn, unsafe.Pointer(fv))
    }
    
    // isShrinkStackSafe returns whether it's safe to attempt to shrink
    // gp's stack. Shrinking the stack is only safe when we have precise
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top