Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 835 for syscalls (0.16 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/syscall.go

    // holds a value of type syscall.Errno.
    package windows // import "golang.org/x/sys/windows"
    
    import (
    	"bytes"
    	"strings"
    	"syscall"
    	"unsafe"
    )
    
    // ByteSliceFromString returns a NUL-terminated slice of bytes
    // containing the text of s. If s contains a NUL byte at any
    // location, it returns (nil, syscall.EINVAL).
    func ByteSliceFromString(s string) ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/syscall/asm_darwin_arm64.s

    	RET
    ok:
    	MOVD	R0, r1+56(FP) // r1
    	MOVD	R1, r2+64(FP)	// r2
    	MOVD	ZR, R0
    	MOVD	R0, err+72(FP)	// err
    	RET
    
    // Actually Syscall7
    TEXT	·Syscall9(SB),NOSPLIT,$0-104
    	BL	runtime·entersyscall<ABIInternal>(SB)
    	MOVD	num+0(FP), R16	// syscall entry
    	MOVD	a1+8(FP), R0
    	MOVD	a2+16(FP), R1
    	MOVD	a3+24(FP), R2
    	MOVD	a4+32(FP), R3
    	MOVD	a5+40(FP), R4
    	MOVD	a6+48(FP), R5
    	MOVD	a7+56(FP), R6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 16 15:40:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. src/syscall/zsyscall_windows.go

    	r0, _, e1 := Syscall(procGetCurrentProcess.Addr(), 0, 0, 0, 0)
    	pseudoHandle = Handle(r0)
    	if pseudoHandle == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func getCurrentProcessId() (pid uint32) {
    	r0, _, _ := Syscall(procGetCurrentProcessId.Addr(), 0, 0, 0, 0)
    	pid = uint32(r0)
    	return
    }
    
    func GetEnvironmentStrings() (envs *uint16, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall.go

    // the manuals for the appropriate operating system.
    //
    // These calls return err == nil to indicate success; otherwise
    // err represents an operating system error describing the failure and
    // holds a value of type syscall.Errno.
    package unix // import "golang.org/x/sys/unix"
    
    import (
    	"bytes"
    	"strings"
    	"unsafe"
    )
    
    // ByteSliceFromString returns a NUL-terminated slice of bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/syscall/asm_openbsd_arm.s

    // Provide these function names via assembly so they are provided as ABI0,
    // rather than ABIInternal.
    
    // func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    TEXT	·Syscall(SB),NOSPLIT,$0-28
    	JMP	·syscallInternal(SB)
    
    // func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    TEXT	·Syscall6(SB),NOSPLIT,$0-40
    	JMP	·syscall6Internal(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 09 17:07:01 UTC 2021
    - 1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    //go:linkname syscall_prlimit syscall.prlimit
    func syscall_prlimit(pid, resource int, newlimit, old *syscall.Rlimit) error
    
    func Prlimit(pid, resource int, newlimit, old *Rlimit) error {
    	// Just call the syscall version, because as of Go 1.21
    	// it will affect starting a new process.
    	return syscall_prlimit(pid, resource, (*syscall.Rlimit)(newlimit), (*syscall.Rlimit)(old))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  8. src/syscall/asm_openbsd_386.s

    // Provide these function names via assembly so they are provided as ABI0,
    // rather than ABIInternal.
    
    // func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    TEXT	·Syscall(SB),NOSPLIT,$0-28
    	JMP	·syscallInternal(SB)
    
    // func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    TEXT	·Syscall6(SB),NOSPLIT,$0-40
    	JMP	·syscall6Internal(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 30 20:00:36 UTC 2021
    - 1K bytes
    - Viewed (0)
  9. src/syscall/asm_openbsd_ppc64.s

    // Provide these function names via assembly so they are provided as ABI0,
    // rather than ABIInternal.
    
    // func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	JMP	·syscallInternal(SB)
    
    // func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	JMP	·syscall6Internal(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. src/syscall/asm_openbsd_amd64.s

    // Provide these function names via assembly so they are provided as ABI0,
    // rather than ABIInternal.
    
    // func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	JMP	·syscallInternal(SB)
    
    // func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	JMP	·syscall6Internal(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 26 07:10:57 UTC 2021
    - 1K bytes
    - Viewed (0)
Back to top