Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for nocgocallback (0.24 sec)

  1. src/runtime/cgo/asm_386.s

    TEXT crosscall2_trampoline<>(SB),NOSPLIT,$0-0
    	JMP	crosscall2(SB)
    
    // Called by C code generated by cmd/cgo.
    // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr)
    // Saves C callee-saved registers and calls cgocallback with three arguments.
    // fn is the PC of a func(a unsafe.Pointer) function.
    TEXT crosscall2(SB),NOSPLIT,$28-16
    	MOVL BP, 24(SP)
    	MOVL BX, 20(SP)
    	MOVL SI, 16(SP)
    	MOVL DI, 12(SP)
    
    	MOVL	ctxt+12(FP), AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/runtime/cgo/asm_arm64.s

    TEXT crosscall2_trampoline<>(SB),NOSPLIT,$0-0
    	JMP	crosscall2(SB)
    
    // Called by C code generated by cmd/cgo.
    // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr)
    // Saves C callee-saved registers and calls cgocallback with three arguments.
    // fn is the PC of a func(a unsafe.Pointer) function.
    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    	/*
    	 * We still need to save all callee save register as before, and then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprogcgo/pprof_callback.go

    	"runtime"
    	"runtime/pprof"
    	"time"
    )
    
    func init() {
    	register("CgoPprofCallback", CgoPprofCallback)
    }
    
    //export goCallbackPprof
    func goCallbackPprof() {
    	// No-op. We want to stress the cgocall and cgocallback internals,
    	// landing as many pprof signals there as possible.
    }
    
    func CgoPprofCallback() {
    	// Issue 50936 was a crash in the SIGPROF handler when the signal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 08 15:44:05 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  4. src/runtime/cgo/asm_s390x.s

    TEXT crosscall2_trampoline<>(SB),NOSPLIT,$0-0
    	JMP	crosscall2(SB)
    
    // Called by C code generated by cmd/cgo.
    // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr)
    // Saves C callee-saved registers and calls cgocallback with three arguments.
    // fn is the PC of a func(a unsafe.Pointer) function.
    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    	// Start with standard C stack frame layout and linkage.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/runtime/cgo/asm_riscv64.s

    TEXT crosscall2_trampoline<>(SB),NOSPLIT,$0-0
    	JMP	crosscall2(SB)
    
    // Called by C code generated by cmd/cgo.
    // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr)
    // Saves C callee-saved registers and calls cgocallback with three arguments.
    // fn is the PC of a func(a unsafe.Pointer) function.
    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    	/*
    	 * Push arguments for fn (X10, X11, X13), along with all callee-save
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. src/runtime/cgo/asm_mips64x.s

    TEXT crosscall2_trampoline<>(SB),NOSPLIT,$0-0
    	JMP	crosscall2(SB)
    
    // Called by C code generated by cmd/cgo.
    // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr)
    // Saves C callee-saved registers and calls cgocallback with three arguments.
    // fn is the PC of a func(a unsafe.Pointer) function.
    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    	/*
    	 * We still need to save all callee save register as before, and then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. src/runtime/cgo/asm_ppc64x.s

    TEXT crosscall2_trampoline<>(SB),NOSPLIT,$0-0
    	JMP	crosscall2(SB)
    
    // Called by C code generated by cmd/cgo.
    // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr)
    // Saves C callee-saved registers and calls cgocallback with three arguments.
    // fn is the PC of a func(a unsafe.Pointer) function.
    // The value of R2 is saved on the new stack frame, and not
    // the caller's frame due to issue #43228.
    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. src/runtime/cgo/asm_mipsx.s

    TEXT crosscall2_trampoline<>(SB),NOSPLIT,$0-0
    	JMP	crosscall2(SB)
    
    // Called by C code generated by cmd/cgo.
    // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr)
    // Saves C callee-saved registers and calls cgocallback with three arguments.
    // fn is the PC of a func(a unsafe.Pointer) function.
    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    	/*
    	 * We still need to save all callee save register as before, and then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. src/runtime/sys_windows_arm64.s

    	MOVD	R14, R0
    	MOVD	R0, callbackArgs_args(R13)		// address of args vector
    	MOVD	$0, R0
    	MOVD	R0, callbackArgs_result(R13)	// result
    
    	// Call cgocallback, which will call callbackWrap(frame).
    	MOVD	$·callbackWrap<ABIInternal>(SB), R0	// PC of function to call, cgocallback takes an ABIInternal entry-point
    	MOVD	R13, R1	// frame (&callbackArgs{...})
    	MOVD	$0, R2	// context
    	STP	(R0, R1), (1*8)(RSP)
    	MOVD	R2, (3*8)(RSP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. src/runtime/stubs.go

    func noEscapePtr[T any](p *T) *T {
    	x := uintptr(unsafe.Pointer(p))
    	return (*T)(unsafe.Pointer(x ^ 0))
    }
    
    // Not all cgocallback frames are actually cgocallback,
    // so not all have these arguments. Mark them uintptr so that the GC
    // does not misinterpret memory when the arguments are not present.
    // cgocallback is not called from Go, only from crosscall2.
    // This in turn calls cgocallbackg, which is where we'll find
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top