- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,035 for syscall3 (0.16 sec)
-
src/runtime/syscall_windows.go
// must be kept 16-byte aligned on syscall entry. // // Although it only permits maximum 42 parameters, it // is arguably large enough. const maxArgs = 42 //go:linkname syscall_SyscallN syscall.SyscallN //go:nosplit func syscall_SyscallN(fn uintptr, args ...uintptr) (r1, r2, err uintptr) { if len(args) > maxArgs { panic("runtime: SyscallN has too many arguments") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 16.6K bytes - Viewed (0) -
src/runtime/sys_darwin_arm64.s
ADD $16, RSP MOVD R0, 48(R2) // save err ok: RET // syscallX calls a function in libc on behalf of the syscall package. // syscallX takes a pointer to a struct like: // struct { // fn uintptr // a1 uintptr // a2 uintptr // a3 uintptr // r1 uintptr // r2 uintptr // err uintptr // } // syscallX must be called on the g0 stack with the // C calling convention (use libcCall).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 18.3K bytes - Viewed (0) -
src/syscall/syscall_openbsd.go
// it in our own nicer implementation, either here or in // syscall_bsd.go or syscall_unix.go. 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 Syscall9(num, 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: Thu Nov 02 10:34:00 UTC 2023 - 7K bytes - Viewed (0) -
pkg/volume/util/fs/fs_windows.go
// The equivalent linux call supports calls against files but the syscall for windows // fails for files with error code: The directory name is invalid. (#99173) // https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499- // By always ensuring the directory path we meet all uses cases of this function path = filepath.Dir(path) ret, _, err := syscall.Syscall6( procGetDiskFreeSpaceEx.Addr(), 4,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 21 16:25:48 UTC 2022 - 2.8K bytes - Viewed (0) -
src/syscall/mksysnum_openbsd.pl
# # Generate system call table for OpenBSD from master list # (for example, /usr/src/sys/kern/syscalls.master). use strict; my $command = "mksysnum_openbsd.pl " . join(' ', @ARGV); print <<EOF; // $command // Code generated by the command above; DO NOT EDIT. package syscall const ( EOF while(<>){ if(/^([0-9]+)\s+STD\s+(NOLOCK\s+)?(\{ \S+\s+\*?(\w+).*)$/){ my $num = $1;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 29 08:08:26 UTC 2020 - 872 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.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 - 38.8K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-syscall-steal-proc-sitting-in-syscall.test
Carlos Amedee <******@****.***> 1715265901 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 429 bytes - Viewed (0) -
src/net/cgo_unix.go
// This file is called cgo_unix.go, but to allow syscalls-to-libc-based // implementations to share the code, it does not use cgo directly. // Instead of C.foo it uses _C_foo, which is defined in either // cgo_unix_cgo.go or cgo_unix_syscall.go //go:build !netgo && ((cgo && unix) || darwin) package net import ( "context" "errors" "internal/bytealg" "net/netip" "syscall" "unsafe"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 11.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
//go:build linux && arm64 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) { _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 14.2K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/stress.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 a many interesting cases (network, syscalls, a little GC, busy goroutines, // blocked goroutines, LockOSThread, pipes, and GOMAXPROCS). //go:build ignore package main import ( "log" "net" "os" "runtime" "runtime/trace" "sync" "time" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0)