Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,033 for syscall2 (0.14 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s

    #include "textflag.h"
    
    // System call support for RISCV64 BSD
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    TEXT	·Syscall9(SB),NOSPLIT,$0-104
    	JMP	syscall·Syscall9(SB)
    
    TEXT	·RawSyscall(SB),NOSPLIT,$0-56
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 711 bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/golang.org/x/sys/plan9/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.ErrorString.
    package plan9 // import "golang.org/x/sys/plan9"
    
    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
    - 3.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go

    func Issetugid() (tainted bool) {
    	r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
    	tainted = bool(r0 != 0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Kill(pid int, signum syscall.Signal) (err error) {
    	_, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  5. src/internal/syscall/windows/registry/zsyscall_windows.go

    	if r0 != 0 {
    		regerrno = syscall.Errno(r0)
    	}
    	return
    }
    
    func regDeleteKey(key syscall.Handle, subkey *uint16) (regerrno error) {
    	r0, _, _ := syscall.Syscall(procRegDeleteKeyW.Addr(), 2, uintptr(key), uintptr(unsafe.Pointer(subkey)), 0)
    	if r0 != 0 {
    		regerrno = syscall.Errno(r0)
    	}
    	return
    }
    
    func regDeleteValue(key syscall.Handle, name *uint16) (regerrno error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 02 15:41:00 UTC 2020
    - 4K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/generators/go122-syscall-steal-proc-self.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.
    //
    // Specifically, it tests a scenario where a thread 'steals'
    // a P from itself. It's just a ProcStop with extra steps when
    // it happens on the same P.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go

    func Issetugid() (tainted bool) {
    	r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
    	tainted = bool(r0 != 0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Kill(pid int, signum syscall.Signal) (err error) {
    	_, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 44.1K bytes
    - Viewed (0)
  8. 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)
  9. src/vendor/golang.org/x/net/route/syscall.go

    // license that can be found in the LICENSE file.
    
    //go:build darwin || dragonfly || freebsd || netbsd || openbsd
    
    package route
    
    import _ "unsafe" // for linkname
    
    //go:linkname sysctl syscall.sysctl
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 396 bytes
    - Viewed (0)
  10. src/internal/trace/parser.go

    	EvGoSysCall         = 28 // syscall enter [timestamp, stack]
    	EvGoSysExit         = 29 // syscall exit [timestamp, goroutine id, seq, real timestamp]
    	EvGoSysBlock        = 30 // syscall blocks [timestamp]
    	EvGoWaiting         = 31 // denotes that goroutine is blocked when tracing starts [timestamp, goroutine id]
    	EvGoInSyscall       = 32 // denotes that goroutine is in syscall when tracing starts [timestamp, goroutine id]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top