Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. src/cmd/compile/internal/walk/expr.go

    		name := n.Fun.(*ir.Name).Sym().Name
    		arg := n.Args[0]
    		var wantABI obj.ABI
    		switch name {
    		case "FuncPCABI0":
    			wantABI = obj.ABI0
    		case "FuncPCABIInternal":
    			wantABI = obj.ABIInternal
    		}
    		if n.Type() != types.Types[types.TUINTPTR] {
    			base.FatalfAt(n.Pos(), "FuncPC intrinsic should return uintptr, got %v", n.Type()) // as expected by typecheck.FuncPC.
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/time.go

    		// so there is no chance of getg().m being reassigned
    		// out from under us while this function executes.
    		tsLocal := &getg().m.p.ptr().timers
    		if tsLocal.raceCtx == 0 {
    			tsLocal.raceCtx = racegostart(abi.FuncPCABIInternal((*timers).run) + sys.PCQuantum)
    		}
    		raceacquirectx(tsLocal.raceCtx, unsafe.Pointer(t))
    	}
    
    	if t.state&(timerModified|timerZombie) != 0 {
    		badTimer()
    	}
    
    	f := t.f
    	arg := t.arg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
Back to top