Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 568 for syscalls (0.12 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/syscall/dll_windows.go

    // Implemented in ../runtime/syscall_windows.go.
    
    // Deprecated: Use [SyscallN] instead.
    func Syscall(trap, nargs, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    
    // Deprecated: Use [SyscallN] instead.
    func Syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    
    // Deprecated: Use [SyscallN] instead.
    func Syscall9(trap, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/generators/go122-syscall-steal-proc-sitting-in-syscall.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests syscall P stealing from a goroutine and thread
    // that have been in a syscall the entire generation.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 946 bytes
    - Viewed (0)
  10. src/syscall/asm_darwin_amd64.s

    	RET
    
    // func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno);
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	CALL	runtime·entersyscall<ABIInternal>(SB)
    	MOVQ	a1+8(FP), DI
    	MOVQ	a2+16(FP), SI
    	MOVQ	a3+24(FP), DX
    	MOVQ	a4+32(FP), R10
    	MOVQ	a5+40(FP), R8
    	MOVQ	a6+48(FP), R9
    	MOVQ	trap+0(FP), AX	// syscall entry
    	ADDQ	$0x2000000, AX
    	SYSCALL
    	JCC	ok6
    	MOVQ	$-1, r1+56(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 16 15:40:39 UTC 2022
    - 2.9K bytes
    - Viewed (0)
Back to top