Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for syscall9 (0.12 sec)

  1. 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)
  2. 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)
  3. src/syscall/syscall_darwin.go

    // it in our own nicer implementation, either here or in
    // syscall_bsd.go or syscall_unix.go.
    
    package syscall
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_aix_ppc64.go

    func fcntl(fd int, cmd int, arg int) (val int, err error) {
    	r0, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_fcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
    	val = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup2(old int, new int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. src/runtime/cgocall.go

    	checkm := gp.m
    
    	// Save current syscall parameters, so m.winsyscall can be
    	// used again if callback decide to make syscall.
    	winsyscall := gp.m.winsyscall
    
    	// entersyscall saves the caller's SP to allow the GC to trace the Go
    	// stack. However, since we're returning to an earlier stack frame and
    	// need to pair with the entersyscall() call made by cgocall, we must
    	// save syscall* and let reentersyscall restore them.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go

    	SIGCONT   = syscall.Signal(0x12)
    	SIGIO     = syscall.Signal(0x1d)
    	SIGPOLL   = syscall.Signal(0x1d)
    	SIGPROF   = syscall.Signal(0x1b)
    	SIGPWR    = syscall.Signal(0x1e)
    	SIGSTKFLT = syscall.Signal(0x10)
    	SIGSTOP   = syscall.Signal(0x13)
    	SIGSYS    = syscall.Signal(0x1f)
    	SIGTSTP   = syscall.Signal(0x14)
    	SIGTTIN   = syscall.Signal(0x15)
    	SIGTTOU   = syscall.Signal(0x16)
    	SIGURG    = syscall.Signal(0x17)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. src/internal/trace/summary.go

    				if g.lastRunnableTime != 0 {
    					g.SchedWaitTime += ev.Time().Sub(g.lastRunnableTime)
    					g.lastRunnableTime = 0
    				}
    			case GoSyscall:
    				// Record syscall execution time and syscall block time as we transition out of syscall.
    				if g.lastSyscallTime != 0 {
    					if g.lastSyscallBlockTime != 0 {
    						g.SyscallBlockTime += ev.Time().Sub(g.lastSyscallBlockTime)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. src/os/file_unix.go

    	if kind == kindOpenFile {
    		switch runtime.GOOS {
    		case "darwin", "ios", "dragonfly", "freebsd", "netbsd", "openbsd":
    			var st syscall.Stat_t
    			err := ignoringEINTR(func() error {
    				return syscall.Fstat(fd, &st)
    			})
    			typ := st.Mode & syscall.S_IFMT
    			// Don't try to use kqueue with regular files on *BSDs.
    			// On FreeBSD a regular file is always
    			// reported as ready for writing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. src/os/os_windows_test.go

    	header windows.REPARSE_DATA_BUFFER_HEADER
    	detail [syscall.MAXIMUM_REPARSE_DATA_BUFFER_SIZE]byte
    }
    
    func createDirLink(link string, rdb *_REPARSE_DATA_BUFFER) error {
    	err := os.Mkdir(link, 0777)
    	if err != nil {
    		return err
    	}
    
    	linkp := syscall.StringToUTF16(link)
    	fd, err := syscall.CreateFile(&linkp[0], syscall.GENERIC_WRITE, 0, nil, syscall.OPEN_EXISTING,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  10. src/syscall/syscall_aix.go

    // Note that sometimes we use a lowercase //sys name and
    // wrap it in our own nicer implementation.
    
    package syscall
    
    import (
    	"unsafe"
    )
    
    func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top