- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for stdcall5 (0.17 sec)
-
src/runtime/os_windows.go
//go:cgo_unsafe_args func stdcall4(fn stdFunction, a0, a1, a2, a3 uintptr) uintptr { mp := getg().m mp.libcall.n = 4 mp.libcall.args = uintptr(noescape(unsafe.Pointer(&a0))) return stdcall(fn) } //go:nosplit //go:cgo_unsafe_args func stdcall5(fn stdFunction, a0, a1, a2, a3, a4 uintptr) uintptr { mp := getg().m mp.libcall.n = 5 mp.libcall.args = uintptr(noescape(unsafe.Pointer(&a0))) return stdcall(fn) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 41.5K bytes - Viewed (0) -
src/runtime/signal_windows.go
var werflags uintptr stdcall2(_WerGetFlags, currentProcess, uintptr(unsafe.Pointer(&werflags))) stdcall1(_WerSetFlags, werflags|_WER_FAULT_REPORTING_NO_UI) } // enableWER re-enables Windows error reporting without fault reporting UI. func enableWER() { // re-enable Windows Error Reporting errormode := stdcall0(_GetErrorMode) if errormode&_SEM_NOGPFAULTERRORBOX != 0 { stdcall1(_SetErrorMode, errormode^_SEM_NOGPFAULTERRORBOX)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 20:32:29 UTC 2023 - 14.5K bytes - Viewed (0) -
src/runtime/netpoll_windows.go
errno := stdcall2(_NtCancelWaitCompletionPacket, mp.waitIocpHandle, 1) switch errno { case STATUS_CANCELLED: // STATUS_CANCELLED is returned when the associated timer has already expired, // in which automatically cancels the wait completion packet. fallthrough case STATUS_SUCCESS: dt := -delay / 100 // relative sleep (negative), 100ns units
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 9.4K bytes - Viewed (0) -
src/runtime/mem_windows.go
// which prevents us from allocating more stack. // //go:nosplit func sysAllocOS(n uintptr) unsafe.Pointer { return unsafe.Pointer(stdcall4(_VirtualAlloc, 0, n, _MEM_COMMIT|_MEM_RESERVE, _PAGE_READWRITE)) } func sysUnusedOS(v unsafe.Pointer, n uintptr) { r := stdcall3(_VirtualFree, uintptr(v), n, _MEM_DECOMMIT) if r != 0 { return } // Decommit failed. Usual reason is that we've merged memory from two different
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.9K bytes - Viewed (0) -
src/runtime/export_windows_test.go
import "unsafe" const MaxArgs = maxArgs var ( OsYield = osyield TimeBeginPeriodRetValue = &timeBeginPeriodRetValue ) func NumberOfProcessors() int32 { var info systeminfo stdcall1(_GetSystemInfo, uintptr(unsafe.Pointer(&info))) return int32(info.dwnumberofprocessors) } type ContextStub struct { context } func (c ContextStub) GetPC() uintptr { return c.ip() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 17:25:00 UTC 2024 - 759 bytes - Viewed (0) -
src/runtime/syscall_windows.go
} type callbackArgs struct { index uintptr // args points to the argument block. // // For cdecl and stdcall, all arguments are on the stack. // // For fastcall, the trampoline spills register arguments to // the reserved spill slots below the stack arguments, // resulting in a layout equivalent to stdcall. // // For arm, the trampoline stores the register arguments just
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/sys_windows_386.s
CMPL CX, $0 JE docall // Copy args to the stack. MOVL CX, AX SALL $2, AX SUBL AX, SP // room for args MOVL SP, DI MOVL libcall_args(BX), SI CLD REP; MOVSL docall: // Call stdcall or cdecl function. // DI SI BP BX are preserved, SP is not CALL libcall_fn(BX) MOVL BP, SP // Return result. MOVL fn+0(FP), BX MOVL AX, libcall_r1(BX) MOVL DX, libcall_r2(BX) // GetLastError().
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 6.5K bytes - Viewed (0) -
src/runtime/syscall_windows_test.go
dll := syscall.MustLoadDLL(dllPath) defer dll.Release() for _, cbf := range getCallbackTestFuncs() { t.Run(cbf.cName(false), func(t *testing.T) { stdcall := syscall.NewCallback(cbf.goFunc) cbf.testOne(t, dll, false, stdcall) }) t.Run(cbf.cName(true), func(t *testing.T) { cdecl := syscall.NewCallbackCDecl(cbf.goFunc) cbf.testOne(t, dll, true, cdecl) }) } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0) -
src/runtime/sys_windows_amd64.s
_4args: MOVQ 24(SI), R9 MOVQ R9, X3 _3args: MOVQ 16(SI), R8 MOVQ R8, X2 _2args: MOVQ 8(SI), DX MOVQ DX, X1 _1args: MOVQ 0(SI), CX MOVQ CX, X0 _0args: // Call stdcall function. CALL AX ADDQ $(const_maxArgs*8), SP // Return result. MOVQ 0(SP), CX MOVQ 8(SP), SP MOVQ AX, libcall_r1(CX) // Floating point return values are returned in XMM0. Setting r2 to this
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 07:24:08 UTC 2024 - 8.4K bytes - Viewed (0) -
pkg/test/kube/dump.go
fname := podOutputPath(workDir, c, pod, fmt.Sprintf("%s.envoy.err.log", container.Name)) stdAll := stdout + stderr if err = os.WriteFile(fname, []byte(stdAll), os.ModePerm); err != nil { scopes.Framework.Warnf("Unable to write envoy err log for VM cluster/pod/container: %s/%s/%s/%s: %v", c.Name(), pod.Namespace, pod.Name, container.Name, err)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 22.2K bytes - Viewed (0)