- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for syscall6 (0.15 sec)
-
src/internal/syscall/unix/nofollow_bsd.go
// license that can be found in the LICENSE file. //go:build dragonfly || freebsd package unix import "syscall" // References: // - https://man.freebsd.org/cgi/man.cgi?open(2) // - https://man.dragonflybsd.org/?command=open§ion=2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:26 UTC 2024 - 384 bytes - Viewed (0) -
src/internal/syscall/unix/nofollow_posix.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix && !dragonfly && !freebsd && !netbsd package unix import "syscall" // POSIX.1-2008 says it's ELOOP. Most platforms follow: // // - aix: O_NOFOLLOW not documented (https://www.ibm.com/docs/ssw_aix_73/o_bostechref/open.html), assuming ELOOP // - android: see linux
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:26 UTC 2024 - 933 bytes - Viewed (0) -
src/os/pidfd_linux_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package os_test import ( "errors" "internal/testenv" "os" "syscall" "testing" ) func TestFindProcessViaPidfd(t *testing.T) { testenv.MustHaveGoBuild(t) t.Parallel() if err := os.CheckPidfdOnce(); err != nil { // Non-pidfd code paths tested in exec_unix_test.go.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 1.6K bytes - Viewed (0) -
src/os/exec.go
// type, such as [syscall.WaitStatus] on Unix, to access its contents. func (p *ProcessState) Sys() any { return p.sys() } // SysUsage returns system-dependent resource usage information about // the exited process. Convert it to the appropriate underlying // type, such as [*syscall.Rusage] on Unix, to access its contents. // (On Unix, *syscall.Rusage matches struct rusage as defined in the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 12.8K bytes - Viewed (0) -
src/os/exec_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package os_test import ( "internal/testenv" "os" "os/signal" "runtime" "syscall" "testing" "time" ) func TestProcessLiteral(t *testing.T) { if runtime.GOOS == "windows" { t.Skip("Process literals do not work on Windows. FindProcess/etc must initialize the process handle") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 1.8K 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/syscall/rlimit.go
// Copyright 2022 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" ) // origRlimitNofile, if non-nil, is the original soft RLIMIT_NOFILE. var origRlimitNofile atomic.Pointer[Rlimit] // Some systems set an artificially low soft limit on open file count, for compatibility
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:57 UTC 2024 - 1.6K bytes - Viewed (0) -
src/os/signal/doc.go
CTRL_LOGOFF_EVENT or CTRL_SHUTDOWN_EVENT to the process, Notify will return syscall.SIGTERM. Unlike Control-C and Control-Break, Notify does not change process behavior when either CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT or CTRL_SHUTDOWN_EVENT is received - the process will still get terminated unless it exits. But receiving syscall.SIGTERM will give the process an opportunity to clean up before termination. # Plan 9
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:11:00 UTC 2024 - 11K bytes - Viewed (0) -
internal/kms/config.go
package kms import ( "bytes" "context" "crypto/tls" "crypto/x509" "encoding/pem" "errors" "fmt" "os" "strings" "sync/atomic" "syscall" "time" "github.com/minio/kms-go/kes" "github.com/minio/kms-go/kms" "github.com/minio/pkg/v3/certs" "github.com/minio/pkg/v3/ellipses" "github.com/minio/pkg/v3/env" )
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 12 14:31:26 UTC 2024 - 13.9K bytes - Viewed (0) -
docs/metrics/prometheus/list.md
| `minio_node_scanner_versions_scanned` | Total number of object versions scanned since server start. | | `minio_node_syscall_read_total` | Total read SysCalls to the kernel. /proc/[pid]/io syscr. | | `minio_node_syscall_write_total` | Total write SysCalls to the kernel. /proc/[pid]/io syscw. | | `minio_usage_last_activity_nano_seconds` | Time elapsed (in nano seconds) since last scan activity. | # Bucket Metrics
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:54 UTC 2024 - 43.3K bytes - Viewed (0)