Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for FuncPCABIInternal (0.22 sec)

  1. src/runtime/proc.go

    		n = 2
    		if inVDSOPage(pc) {
    			pc = abi.FuncPCABIInternal(_VDSO) + sys.PCQuantum
    		} else if pc > firstmoduledata.etext {
    			// "ExternalCode" is better than "etext".
    			pc = abi.FuncPCABIInternal(_ExternalCode) + sys.PCQuantum
    		}
    		stk[0] = pc
    		if mp.preemptoff != "" {
    			stk[1] = abi.FuncPCABIInternal(_GC) + sys.PCQuantum
    		} else {
    			stk[1] = abi.FuncPCABIInternal(_System) + sys.PCQuantum
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/pprof/pprof_test.go

    // findInlinedCall returns the PC of an inlined function call within
    // the function body for the function f if any.
    func findInlinedCall(f any, maxBytes int) (pc uint64, found bool) {
    	fFunc := runtime.FuncForPC(uintptr(abi.FuncPCABIInternal(f)))
    	if fFunc == nil || fFunc.Entry() == 0 {
    		panic("failed to locate function entry")
    	}
    
    	for offset := 0; offset < maxBytes; offset++ {
    		innerPC := fFunc.Entry() + uintptr(offset)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  4. src/reflect/type.go

    						// TODO(sbinet).  Issue 15924.
    						panic("reflect: embedded interface with unexported method(s) not implemented")
    					}
    
    					fnStub := resolveReflectText(unsafe.Pointer(abi.FuncPCABIInternal(embeddedIfaceMethStub)))
    					methods = append(methods, abi.Method{
    						Name: resolveReflectName(ift.nameOff(m.Name)),
    						Mtyp: resolveReflectType(ift.typeOff(m.Typ)),
    						Ifn:  fnStub,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top