- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for stdcall0 (0.12 sec)
-
src/runtime/syscall_aix.go
pid, err = syscall1(&libc_fork, flags) return } //go:linkname syscall_getpid syscall.getpid //go:nosplit func syscall_getpid() (pid, err uintptr) { pid, err = syscall0(&libc_getpid) return } //go:linkname syscall_ioctl syscall.ioctl //go:nosplit func syscall_ioctl(fd, req, arg uintptr) (err uintptr) { _, err = syscall3(&libc_ioctl, fd, req, arg) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 6.3K bytes - Viewed (0) -
src/runtime/os2_aix.go
//go:nosplit func raiseproc(sig uint32) { pid, err := syscall0(&libc_getpid) if int32(pid) == -1 { println("syscall getpid failed: ", hex(err)) throw("syscall raiseproc") } syscall2(&libc_kill, pid, uintptr(sig)) } func osyield1() //go:nosplit func osyield_no_g() { osyield1() } //go:nosplit func osyield() { r, err := syscall0(&libc_sched_yield) if int32(r) == -1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 20.9K 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) -
src/cmd/link/internal/ld/pe.go
break } } if d == nil { d = new(Dll) d.name = dynlib d.next = dr dr = d m = new(Imp) } // Because external link requires properly stdcall decorated name, // all external symbols in runtime use %n to denote that the number // of uinptrs this function consumes. Store the argsize and discard // the %n suffix if any. m.argsize = -1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:01:27 UTC 2023 - 48.8K bytes - Viewed (0) -
src/syscall/syscall_windows.go
} // Implemented in runtime/syscall_windows.go. func compileCallback(fn any, cleanstack bool) uintptr // NewCallback converts a Go function to a function pointer conforming to the stdcall calling convention. // This is useful when interoperating with Windows code requiring callbacks.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 52.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go
} return UTF16ToString(unsafe.Slice(p, n)) } func Getpagesize() int { return 4096 } // NewCallback converts a Go function to a function pointer conforming to the stdcall calling convention. // This is useful when interoperating with Windows code requiring callbacks.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 82.8K bytes - Viewed (0)