Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for syscall1 (0.27 sec)

  1. src/runtime/os2_aix.go

    	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 {
    		println("syscall osyield failed: ", hex(err))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  2. api/go1.18.txt

    pkg syscall (windows-386), func SyscallN(uintptr, ...uintptr) (uintptr, uintptr, Errno)
    pkg syscall (windows-amd64), func Syscall //deprecated
    pkg syscall (windows-amd64), func Syscall12 //deprecated
    pkg syscall (windows-amd64), func Syscall15 //deprecated
    pkg syscall (windows-amd64), func Syscall18 //deprecated
    pkg syscall (windows-amd64), func Syscall6 //deprecated
    pkg syscall (windows-amd64), func Syscall9 //deprecated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/dll_windows.go

    		return syscall.Syscall6(p.Addr(), uintptr(len(a)), a[0], a[1], a[2], a[3], a[4], 0)
    	case 6:
    		return syscall.Syscall6(p.Addr(), uintptr(len(a)), a[0], a[1], a[2], a[3], a[4], a[5])
    	case 7:
    		return syscall.Syscall9(p.Addr(), uintptr(len(a)), a[0], a[1], a[2], a[3], a[4], a[5], a[6], 0, 0)
    	case 8:
    		return syscall.Syscall9(p.Addr(), uintptr(len(a)), a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], 0)
    	case 9:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 05 12:36:42 UTC 2020
    - 12K bytes
    - Viewed (0)
  4. src/runtime/sys_openbsd_ppc64.s

    	MOVW	(R3), R3
    	MOVD	R3, (6*8)(R14)		// err
    
    ok:
    	RET
    
    // syscallX calls a function in libc on behalf of the syscall package.
    // syscallX takes a pointer to a struct like:
    // struct {
    //	fn    uintptr
    //	a1    uintptr
    //	a2    uintptr
    //	a3    uintptr
    //	r1    uintptr
    //	r2    uintptr
    //	err   uintptr
    // }
    // syscallX must be called on the g0 stack with the
    // C calling convention (use libcCall).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  5. src/syscall/mkall.sh

    # let it know that a system call is running.
    #
    # * syscall_${GOOS}.go
    #
    # This hand-written Go file implements system calls that need
    # special handling and lists "//sys" comments giving prototypes
    # for ones that can be auto-generated.  Mksyscall reads those
    # comments to generate the stubs.
    #
    # * syscall_${GOOS}_${GOARCH}.go
    #
    # Same as syscall_${GOOS}.go except that it contains code specific
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 18:22:23 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  6. src/runtime/sys_darwin.go

    // (in addition to standard package syscall).
    // Do not remove or change the type signature.
    //
    // syscall.syscall6 is meant for package syscall (and x/sys),
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/tetratelabs/wazero
    //
    // See go.dev/issue/67401.
    //
    //go:linkname syscall_syscall6 syscall.syscall6
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. src/runtime/sys_openbsd_arm64.s

    	CMP	$-1, R0
    	BNE	3(PC)
    	MOVD	$0, R0			// crash on syscall failure
    	MOVD	R0, (R0)
    	RET
    
    // syscall calls a function in libc on behalf of the syscall package.
    // syscall takes a pointer to a struct like:
    // struct {
    //	fn    uintptr
    //	a1    uintptr
    //	a2    uintptr
    //	a3    uintptr
    //	r1    uintptr
    //	r2    uintptr
    //	err   uintptr
    // }
    // syscall must be called on the g0 stack with the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  8. src/internal/syscall/windows/zsyscall_windows.go

    	modiphlpapi         = syscall.NewLazyDLL(sysdll.Add("iphlpapi.dll"))
    	modkernel32         = syscall.NewLazyDLL(sysdll.Add("kernel32.dll"))
    	modnetapi32         = syscall.NewLazyDLL(sysdll.Add("netapi32.dll"))
    	modntdll            = syscall.NewLazyDLL(sysdll.Add("ntdll.dll"))
    	modpsapi            = syscall.NewLazyDLL(sysdll.Add("psapi.dll"))
    	moduserenv          = syscall.NewLazyDLL(sysdll.Add("userenv.dll"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. src/runtime/syscall_windows.go

    //go:linkname syscall_Syscall9 syscall.Syscall9
    //go:nosplit
    func syscall_Syscall9(fn, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2, err uintptr) {
    	args := [...]uintptr{a1, a2, a3, a4, a5, a6, a7, a8, a9}
    	return syscall_SyscallN(fn, args[:nargs]...)
    }
    
    //go:linkname syscall_Syscall12 syscall.Syscall12
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go

    //go:build linux && mips
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    var _ syscall.Errno
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 16.8K bytes
    - Viewed (0)
Back to top