- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 709 for syscall2 (0.24 sec)
-
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) -
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) -
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) -
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) -
src/internal/trace/testdata/generators/go122-syscall-steal-proc-ambiguous.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 scenerio wherein, without a // P sequence number of GoSyscallBegin, the syscall that // a ProcSteal applies to is ambiguous. This only happens in // practice when the events aren't already properly ordered
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1.5K bytes - Viewed (0) -
src/syscall/asm_plan9_arm.s
// Actually Syscall5 but the rest of the code expects it to be named Syscall6. TEXT ·Syscall6(SB),NOSPLIT,$144-44 NO_LOCAL_POINTERS BL runtime·entersyscall(SB) MOVW $a1+4(FP), R0 // move syscall args MOVW $sysargs-144(SP), R1 MOVM.IA (R0), [R2-R6] MOVM.IA [R2-R6], (R1) MOVW trap+0(FP), R0 // syscall num SWI $0 MOVW $0, R2 MOVW $r1+28(FP), R3 MOVM.IA.W [R0,R2], (R3) CMP $-1, R0 B.EQ syscall6err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 08 14:57:01 UTC 2018 - 3.2K bytes - Viewed (0) -
src/runtime/testdata/testprog/syscalls.go
Michael Anthony Knyszek <******@****.***> 1545337305 +0000
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 21 18:42:22 UTC 2018 - 256 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go
func Fadvise(fd int, offset int64, length int64, advice int) (err error) { _, _, e1 := Syscall6(SYS_FADVISE64_64, uintptr(fd), uintptr(advice), uintptr(offset>>32), uintptr(offset), uintptr(length>>32), uintptr(length)) if e1 != 0 { err = errnoErr(e1) } return } func seek(fd int, offset int64, whence int) (int64, syscall.Errno) { var newoffset int64 offsetLow := uint32(offset & 0xffffffff)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.9K bytes - Viewed (0) -
src/runtime/os_aix.go
throw("runPerThreadSyscall only valid on linux") } //go:nosplit func getuid() int32 { r, errno := syscall0(&libc_getuid) if errno != 0 { print("getuid failed ", errno) throw("getuid") } return int32(r) } //go:nosplit func geteuid() int32 { r, errno := syscall0(&libc_geteuid) if errno != 0 { print("geteuid failed ", errno) throw("geteuid") } return int32(r) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/internal/runtime/syscall/syscall_linux.go
// license that can be found in the LICENSE file. // Package syscall provides the syscall primitives required for the runtime. package syscall import ( "unsafe" ) // TODO(https://go.dev/issue/51087): This package is incomplete and currently // only contains very minimal support for Linux. // Syscall6 calls system call number 'num' with arguments a1-6. func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:26:21 UTC 2024 - 1.4K bytes - Viewed (0)