- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 181 for syscall2 (0.09 sec)
-
src/syscall/mksyscall.pl
} } # Determine which form to use; pad args with zeros. my $asm = "Syscall"; if ($nonblock) { if ($errvar eq "" && $ENV{'GOOS'} eq "linux") { $asm = "rawSyscallNoError"; } else { $asm = "RawSyscall"; } } if ($libc) { # Call unexported syscall functions (which take # libc functions instead of syscall numbers). $asm = lcfirst($asm); } if(@args <= 3) { while(@args < 3) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:15:02 UTC 2024 - 10.3K bytes - Viewed (0) -
src/runtime/mfinal.go
// A very simplified example showing where KeepAlive is required: // // type File struct { d int } // d, err := syscall.Open("/file/path", syscall.O_RDONLY, 0) // // ... do something if err != nil ... // p := &File{d} // runtime.SetFinalizer(p, func(p *File) { syscall.Close(p.d) }) // var buf [10]byte // n, err := syscall.Read(p.d, buf[:]) // // Ensure p is not finalized until Read returns. // runtime.KeepAlive(p)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 01:56:56 UTC 2024 - 19K bytes - Viewed (0) -
src/runtime/traceevent.go
traceEvGoUnblock // goroutine is unblocked [timestamp, goroutine ID, goroutine seq, stack ID] traceEvGoSyscallBegin // syscall enter [timestamp, P seq, stack ID] traceEvGoSyscallEnd // syscall exit [timestamp] traceEvGoSyscallEndBlocked // syscall exit and it blocked at some point [timestamp] traceEvGoStatus // goroutine status at the start of a generation [timestamp, goroutine ID, M ID, status]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.2K bytes - Viewed (0) -
src/net/sendfile_unix_alt.go
// license that can be found in the LICENSE file. //go:build (darwin && !ios) || dragonfly || freebsd || solaris package net import ( "internal/poll" "io" "io/fs" "syscall" ) const supportsSendfile = true // sendFile copies the contents of r to c using the sendfile // system call to minimize copies. // // if handled == true, sendFile returns the number (potentially zero) of bytes
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 2.3K bytes - Viewed (0) -
src/syscall/linkname_libc.go
// Copyright 2024 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. //go:build aix || darwin || (openbsd && !mips64) || solaris package syscall import _ "unsafe" // used by internal/poll
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 303 bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc.test
Carlos Amedee <******@****.***> 1715265901 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 556 bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-syscall-steal-proc-reacquire-new-proc-bare-m.test
Carlos Amedee <******@****.***> 1715265901 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 529 bytes - Viewed (0) -
src/cmd/go/internal/script/cmds_nonunix.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !unix package script func isETXTBSY(err error) bool { // syscall.ETXTBSY is only meaningful on Unix platforms. return false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 00:12:01 UTC 2024 - 301 bytes - Viewed (0) -
src/syscall/export_rlimit_test.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. //go:build unix package syscall import "sync/atomic" func OrigRlimitNofile() *Rlimit { return origRlimitNofile.Load() } func GetInternalOrigRlimitNofile() *atomic.Pointer[Rlimit] { return &origRlimitNofile
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:18:19 UTC 2024 - 374 bytes - Viewed (0) -
src/runtime/time_fake.go
// license that can be found in the LICENSE file. //go:build faketime && !windows // Faketime isn't currently supported on Windows. This would require // modifying syscall.Write to call syscall.faketimeWrite, // translating the Stdout and Stderr handles into FDs 1 and 2. // (See CL 192739 PS 3.) package runtime import "unsafe"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:15:13 UTC 2024 - 2.5K bytes - Viewed (0)