- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for callbackWrap (0.1 sec)
-
src/runtime/sys_windows_amd64.s
// the "frame" to cgocallback and on to callbackWrap. SUBQ $(24+callbackArgs__size), SP MOVQ AX, (24+callbackArgs_index)(SP) // callback index MOVQ R8, (24+callbackArgs_args)(SP) // address of args vector MOVQ $0, (24+callbackArgs_result)(SP) // result LEAQ 24(SP), AX // Call cgocallback, which will call callbackWrap(frame). MOVQ $0, 16(SP) // context
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 07:24:08 UTC 2024 - 8.4K bytes - Viewed (0) -
src/runtime/syscall_windows.go
// big stack arguments frame. args unsafe.Pointer // Below are out-args from callbackWrap result uintptr retPop uintptr // For 386 cdecl, how many bytes to pop on return } // callbackWrap is called by callbackasm to invoke a registered C callback. func callbackWrap(a *callbackArgs) { c := cbs.ctxt[a.index] a.retPop = c.retPop // Convert from C to Go ABI.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 16.6K bytes - Viewed (0) -
src/runtime/stubs.go
// these pointers in regArgs.Ptrs such that they are visible to the GC. // // Package reflect passes a frame type. In package runtime, there is only // one call that copies results back, in callbackWrap in syscall_windows.go, and it // does NOT pass a frame type, meaning there are no write barriers invoked. See that // call site for justification. // // Package reflect accesses this symbol through a linkname. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0)