- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for GetLastError (0.29 sec)
-
src/runtime/mem_windows.go
for small >= 4096 && stdcall3(_VirtualFree, uintptr(v), small, _MEM_DECOMMIT) == 0 { small /= 2 small &^= 4096 - 1 } if small < 4096 { print("runtime: VirtualFree of ", small, " bytes failed with errno=", getlasterror(), "\n") throw("runtime: failed to decommit pages") } v = add(v, small) n -= small } } func sysUsedOS(v unsafe.Pointer, n uintptr) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 12.1K bytes - Viewed (0) -
src/runtime/netpoll_windows.go
throw("runtime: netpollinit failed") } } func netpollIsPollDescriptor(fd uintptr) bool { return fd == iocphandle } func netpollopen(fd uintptr, pd *pollDesc) int32 { key := packNetpollKey(netpollSourceReady, pd) if stdcall4(_CreateIoCompletionPort, fd, iocphandle, key, 0) == 0 { return int32(getlasterror()) } return 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 9.4K bytes - Viewed (0) -
cluster/gce/windows/testonly/user-profile.psm1
[DllImport("kernel32.dll")] public static extern uint GetLastError(); } public static class Profile { public static uint Delete(string sidString) { //Profile path and computer name are optional if (!UserEnv.DeleteProfile(sidString, null, null)) { return UserEnv.GetLastError(); } return 0; } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 26 00:44:57 UTC 2019 - 9.4K bytes - Viewed (0) -
src/runtime/os_windows.go
if m32 == 0 { print("runtime: LoadLibraryExW failed; errno=", getlasterror(), "\n") throw("winmm.dll not found") } _timeBeginPeriod = windowsFindfunc(m32, []byte("timeBeginPeriod\000")) _timeEndPeriod = windowsFindfunc(m32, []byte("timeEndPeriod\000")) if _timeBeginPeriod == nil || _timeEndPeriod == nil { print("runtime: GetProcAddress failed; errno=", getlasterror(), "\n") throw("timeBegin/EndPeriod not found") } }
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/internal/syscall/windows/security_windows.go
if ret == 0 { // AdjustTokenPrivileges call failed return err } // AdjustTokenPrivileges call succeeded if err == syscall.EINVAL { // GetLastError returned ERROR_SUCCESS return nil } return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 04 07:21:38 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/dll_windows.go
} //go:uintptrescapes // Call executes procedure p with arguments a. It will panic, if more than 15 arguments // are supplied. // // The returned error is always non-nil, constructed from the result of GetLastError. // Callers must inspect the primary return value to decide whether an error occurred // (according to the semantics of the specific function being called) before consulting
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Dec 05 12:36:42 UTC 2020 - 12K bytes - Viewed (0) -
src/runtime/sys_windows_386.s
// 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(). MOVL 0x34(FS), AX MOVL AX, libcall_err(BX) RET // faster get/set last error TEXT runtimeĀ·getlasterror(SB),NOSPLIT,$0 MOVL 0x34(FS), AX MOVL AX, ret+0(FP) RET
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/sys_windows_arm64.s
BL (R12) MOVD R20, RSP // free stack space MOVD R0, libcall_r1(R19) // save return value to libcall->r1 // TODO(rsc) floating point like amd64 in libcall->r2? // GetLastError MOVD TEB_error(R18_PLATFORM), R0 MOVD R0, libcall_err(R19) // Restore callee-saved registers. LDP 16(RSP), (R19, R20) RET TEXT runtimeĀ·getlasterror(SB),NOSPLIT,$0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 6.8K bytes - Viewed (0) -
src/runtime/sys_windows_arm.s
BIC $0x7, R13 // alignment for ABI MOVW 0(R4), R12 // branch to libcall->fn BL (R12) MOVW R5, R13 // free stack space MOVW R0, 12(R4) // save return value to libcall->r1 MOVW R1, 16(R4) // GetLastError MRC 15, 0, R1, C13, C0, 2 MOVW 0x34(R1), R0 MOVW R0, 20(R4) // store in libcall->err MOVM.IA.W (R13), [R4, R5, R15] TEXT runtimeĀ·getlasterror(SB),NOSPLIT,$0 MRC 15, 0, R0, C13, C0, 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 7.7K bytes - Viewed (0)