- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 667 for syscalls (0.16 sec)
-
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) -
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) -
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) -
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) -
src/internal/syscall/windows/zsyscall_windows.go
modiphlpapi = syscall.NewLazyDLL(sysdll.Add("iphlpapi.dll")) modkernel32 = syscall.NewLazyDLL(sysdll.Add("kernel32.dll")) modnetapi32 = syscall.NewLazyDLL(sysdll.Add("netapi32.dll")) modntdll = syscall.NewLazyDLL(sysdll.Add("ntdll.dll")) modpsapi = syscall.NewLazyDLL(sysdll.Add("psapi.dll")) moduserenv = syscall.NewLazyDLL(sysdll.Add("userenv.dll"))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 18.4K bytes - Viewed (0) -
src/runtime/sys_openbsd_ppc64.s
MOVW (R3), R3 MOVD R3, (6*8)(R14) // 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: Tue Aug 22 02:48:11 UTC 2023 - 15.3K bytes - Viewed (0) -
src/syscall/asm_linux_mipsx.s
//go:build linux && (mips || mipsle) #include "textflag.h" #include "funcdata.h" // // System calls for mips, Linux // // func Syscall9(trap trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2, err uintptr); // Actually Syscall8 but the rest of the code expects it to be named Syscall9. TEXT ·Syscall9(SB),NOSPLIT,$28-52 NO_LOCAL_POINTERS JAL runtime·entersyscall(SB) MOVW a1+4(FP), R4 MOVW a2+8(FP), R5 MOVW a3+12(FP), R6
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:11:15 UTC 2023 - 1.7K bytes - Viewed (0) -
src/syscall/syscall_js.go
type ProcAttr struct { Dir string Env []string Files []uintptr Sys *SysProcAttr } type SysProcAttr struct { } func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) { return 0, 0, ENOSYS } func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) { return 0, 0, ENOSYS } func RawSyscall(trap, a1, a2, a3 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 - 6.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/rulegen.go
if err != nil { log.Fatalf("can't write output: %v", err) } defer f.Close() // gofmt result; use a buffered writer, as otherwise go/format spends // far too much time in syscalls. bw := bufio.NewWriter(f) if err := format.Node(bw, fset, file); err != nil { log.Fatalf("can't format output: %v", err) } if err := bw.Flush(); err != nil { log.Fatalf("can't write output: %v", err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 02 22:09:21 UTC 2023 - 48.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go
func RegCloseKey(key Handle) (regerrno error) { r0, _, _ := syscall.Syscall(procRegCloseKey.Addr(), 1, uintptr(key), 0, 0) if r0 != 0 { regerrno = syscall.Errno(r0) } return } func RegEnumKeyEx(key Handle, index uint32, name *uint16, nameLen *uint32, reserved *uint32, class *uint16, classLen *uint32, lastWriteTime *Filetime) (regerrno error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 195.8K bytes - Viewed (0)