Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for sP (0.02 sec)

  1. src/runtime/race_arm64.s

    	MOVD	R12, RSP
    call:
    	// Decrement SP past where the frame pointer is saved in the Go arm64
    	// ABI (one word below the stack pointer) so the race detector library
    	// code doesn't clobber it
    	SUB	$16, RSP
    	BL	R9
    	MOVD	R19, RSP
    	JMP	(R20)
    
    // C->Go callback thunk that allows to call runtime·racesymbolize from C code.
    // Direct Go->C race call has only switched SP, finish g->g0 switch by setting correct g.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. src/runtime/traceback_system_test.go

    //
    // (Copied from golang.org/x/telemetry/crashmonitor.parseStackPCs.)
    func parseStackPCs(crash string) ([]uintptr, error) {
    	// getPC parses the PC out of a line of the form:
    	//     \tFILE:LINE +0xRELPC sp=... fp=... pc=...
    	getPC := func(line string) (uint64, error) {
    		_, pcstr, ok := strings.Cut(line, " pc=") // e.g. pc=0x%x
    		if !ok {
    			return 0, fmt.Errorf("no pc= for stack frame: %s", line)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/runtime/proc.go

    	gp.m.p.ptr().syscalltick++
    
    	// Leave SP around for GC and traceback.
    	pc := getcallerpc()
    	sp := getcallersp()
    	bp := getcallerfp()
    	save(pc, sp, bp)
    	gp.syscallsp = gp.sched.sp
    	gp.syscallpc = gp.sched.pc
    	gp.syscallbp = gp.sched.bp
    	if gp.syscallsp < gp.stack.lo || gp.stack.hi < gp.syscallsp {
    		sp1 := sp
    		sp2 := gp.sched.sp
    		sp3 := gp.syscallsp
    		systemstack(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/func.go

    }
    
    func (f *Func) spSb() (sp, sb *Value) {
    	initpos := src.NoXPos // These are originally created with no position in ssa.go; if they are optimized out then recreated, should be the same.
    	for _, v := range f.Entry.Values {
    		if v.Op == OpSB {
    			sb = v
    		}
    		if v.Op == OpSP {
    			sp = v
    		}
    		if sb != nil && sp != nil {
    			return
    		}
    	}
    	if sb == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. pkg/proxy/winkernel/hns_test.go

    	vsid := &hcn.VsidPolicySetting{
    		IsolationId: 5000,
    	}
    	vsidJson, err := json.Marshal(vsid)
    	if err != nil {
    		return nil, err
    	}
    
    	sp := &hcn.SubnetPolicy{
    		Type: hcn.VSID,
    	}
    	sp.Settings = vsidJson
    
    	spJson, err := json.Marshal(sp)
    	if err != nil {
    		return nil, err
    	}
    
    	network.Ipams[0].Subnets[0].Policies = append(network.Ipams[0].Subnets[0].Policies, spJson)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. src/reflect/asm_loong64.s

    	MOVV	REGCTXT, 8(R3)
    	MOVV	$argframe+0(FP), R20
    	MOVV	R20, 16(R3)
    	MOVB	R0, LOCAL_RETVALID(R3)
    	ADDV	$LOCAL_RETVALID, R3, R20
    	MOVV	R20, 24(R3)
    	ADDV	$LOCAL_REGARGS, R3, R20
    	MOVV	R20, 32(R3) // frame size to 32+SP as callreflect args)
    	JAL	·callMethod(SB)
    	ADDV	$LOCAL_REGARGS, R3, R25 // unspillArgs using R25
    	JAL	runtime·unspillArgs(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/runtime/stubs.go

    // getcallersp returns the stack pointer (SP) of its caller's caller.
    // The implementation may be a compiler intrinsic; there is not
    // necessarily code implementing this on every platform.
    //
    // For example:
    //
    //	func f(arg1, arg2, arg3 int) {
    //		pc := getcallerpc()
    //		sp := getcallersp()
    //	}
    //
    // These two lines find the PC and SP immediately following
    // the call to f (where f will return).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  8. src/runtime/preempt.go

    		return false, 0
    	}
    
    	// Check M state.
    	if mp.p == 0 || !canPreemptM(mp) {
    		return false, 0
    	}
    
    	// Check stack space.
    	if sp < gp.stack.lo || sp-gp.stack.lo < asyncPreemptStack {
    		return false, 0
    	}
    
    	// Check if PC is an unsafe-point.
    	f := findfunc(pc)
    	if !f.valid() {
    		// Not Go code.
    		return false, 0
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users.go

    		return
    	}
    
    	var sp *policy.Policy
    	if len(updateReq.NewPolicy) > 0 {
    		sp, err = policy.ParseConfig(bytes.NewReader(updateReq.NewPolicy))
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    		if sp.Version == "" && len(sp.Statements) == 0 {
    			sp = nil
    		}
    	}
    	opts := updateServiceAccountOpts{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  10. src/runtime/runtime2.go

    	sched     gobuf
    	syscallsp uintptr // if status==Gsyscall, syscallsp = sched.sp to use during gc
    	syscallpc uintptr // if status==Gsyscall, syscallpc = sched.pc to use during gc
    	syscallbp uintptr // if status==Gsyscall, syscallbp = sched.bp to use in fpTraceback
    	stktopsp  uintptr // expected sp at top of stack, to check in traceback
    	// param is a generic pointer parameter field used to pass
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top