Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 334 for ctxt (0.13 sec)

  1. src/reflect/value.go

    //
    // ctxt is the "closure" generated by MakeFunc.
    // frame is a pointer to the arguments to that closure on the stack.
    // retValid points to a boolean which should be set when the results
    // section of frame is set.
    //
    // regs contains the argument values passed in registers and will contain
    // the values returned from ctxt.fn in registers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. src/runtime/asm_loong64.s

    	MOVV    $runtime·systemstack_switch(SB), R19
    	ADDV	$8, R19
    	MOVV	R19, (g_sched+gobuf_pc)(g)
    	MOVV	R3, (g_sched+gobuf_sp)(g)
    	MOVV	R0, (g_sched+gobuf_lr)(g)
    	MOVV	R0, (g_sched+gobuf_ret)(g)
    	// Assert ctxt is zero. See func save.
    	MOVV	(g_sched+gobuf_ctxt)(g), R19
    	BEQ	R19, 2(PC)
    	JAL	runtime·abort(SB)
    	RET
    
    // func asmcgocall(fn, arg unsafe.Pointer) int32
    // Call fn(arg) on the scheduler stack,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. src/runtime/asm_mipsx.s

    	MOVW	$runtime·systemstack_switch(SB), R1
    	ADDU	$8, R1	// get past prologue
    	MOVW	R1, (g_sched+gobuf_pc)(g)
    	MOVW	R29, (g_sched+gobuf_sp)(g)
    	MOVW	R0, (g_sched+gobuf_lr)(g)
    	MOVW	R0, (g_sched+gobuf_ret)(g)
    	// Assert ctxt is zero. See func save.
    	MOVW	(g_sched+gobuf_ctxt)(g), R1
    	BEQ	R1, 2(PC)
    	JAL	runtime·abort(SB)
    	RET
    
    // func asmcgocall(fn, arg unsafe.Pointer) int32
    // Call fn(arg) on the scheduler stack,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 11:46:29 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    	s.hasOpenDefers = base.Flag.N == 0 && s.hasdefer && !s.curfn.OpenCodedDeferDisallowed()
    	switch {
    	case base.Debug.NoOpenDefer != 0:
    		s.hasOpenDefers = false
    	case s.hasOpenDefers && (base.Ctxt.Flag_shared || base.Ctxt.Flag_dynlink) && base.Ctxt.Arch.Name == "386":
    		// Don't support open-coded defers for 386 ONLY when using shared
    		// libraries, because there is extra code (added by rewriteToUseGot())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  5. src/internal/syscall/windows/syscall_windows.go

    //sys	RtlLookupFunctionEntry(pc uintptr, baseAddress *uintptr, table *byte) (ret uintptr) = kernel32.RtlLookupFunctionEntry
    //sys	RtlVirtualUnwind(handlerType uint32, baseAddress uintptr, pc uintptr, entry uintptr, ctxt uintptr, data *uintptr, frame *uintptr, ctxptrs *byte) (ret uintptr) = kernel32.RtlVirtualUnwind
    
    type SERVICE_STATUS struct {
    	ServiceType             uint32
    	CurrentState            uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. src/runtime/traceback.go

    		// We don't have a cgo unwinder (typical case), or we do but we're not
    		// in a cgo frame or we're out of cgo context.
    		return 0
    	}
    
    	ctxt := u.g.ptr().cgoCtxt[u.cgoCtxt]
    	u.cgoCtxt--
    	cgoContextPCs(ctxt, pcBuf)
    	for i, pc := range pcBuf {
    		if pc == 0 {
    			return i
    		}
    	}
    	return len(pcBuf)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		sp  = buildReg("SP")
    		sb  = buildReg("SB")
    		gr  = buildReg("g")
    		xer = buildReg("XER")
    		// cr  = buildReg("CR")
    		// ctr = buildReg("CTR")
    		// lr  = buildReg("LR")
    		tmp     = buildReg("R31")
    		ctxt    = buildReg("R11")
    		callptr = buildReg("R12")
    		// tls = buildReg("R13")
    		gp01        = regInfo{inputs: nil, outputs: []regMask{gp}}
    		gp11        = regInfo{inputs: []regMask{gp | sp | sb}, outputs: []regMask{gp}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  8. src/runtime/asm_amd64.s

    	MOVQ	BX, g(CX)
    	MOVQ	(g_sched+gobuf_sp)(BX), SP
    	MOVQ	(g_sched+gobuf_bp)(BX), BP
    	CALL	runtime·newstack(SB)
    	CALL	runtime·abort(SB)	// crash if newstack returns
    	RET
    
    // morestack but not preserving ctxt.
    TEXT runtime·morestack_noctxt(SB),NOSPLIT,$0
    	MOVL	$0, DX
    	JMP	runtime·morestack(SB)
    
    // spillArgs stores return values from registers to a *internal/abi.RegArgs in R12.
    TEXT ·spillArgs(SB),NOSPLIT,$0-0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassAndFunctionContextReceivers.ir.txt

                  $context_receiver_0: GET_FIELD 'FIELD FIELD_FOR_CLASS_CONTEXT_RECEIVER name:contextReceiverField0 type:<root>.Ctx1 visibility:private [final] declared in <root>.Test' type=<root>.Ctx1 origin=null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Apr 26 06:04:06 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/runtime/runtime2.go

    }
    
    type gobuf struct {
    	// The offsets of sp, pc, and g are known to (hard-coded in) libmach.
    	//
    	// ctxt is unusual with respect to GC: it may be a
    	// heap-allocated funcval, so GC needs to track it, but it
    	// needs to be set and cleared from assembly, where it's
    	// difficult to have write barriers. However, ctxt is really a
    	// saved, live register, and we only ever exchange it between
    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