Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for syscall0 (0.56 sec)

  1. 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&section=2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 384 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/xl-storage-disk-id-check.go

    		d.tracker.logSuccess()
    	}
    	return n, err
    }
    
    // diskHealthReader provides a wrapper that will update disk health on
    // ctx, on every successful read.
    // This should only be used directly at the os/syscall level,
    // otherwise buffered operations may return false health checks.
    func diskHealthReader(ctx context.Context, r io.Reader) io.Reader {
    	// Check if context has a disk health check.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    				}
    			}
    		}
    	}
    
    	// Set skipParent to skip mkdirAll() calls for deeply nested objects
    	// - if its an overwrite
    	// - if its a versioned object
    	//
    	// This can potentiall reduce syscalls by strings.Split(path, "/")
    	// times relative to the object name.
    	skipParent := dstVolumeDir
    	if len(dstBuf) > 0 {
    		skipParent = pathutil.Dir(dstFilePath)
    	}
    
    	var reqVID string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    		Name:      readTotal,
    		Help:      "Total read SysCalls to the kernel. /proc/[pid]/io syscr",
    		Type:      counterMetric,
    	}
    }
    
    func getMinIOProcessSysCallWMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: sysCallSubsystem,
    		Name:      writeTotal,
    		Help:      "Total write SysCalls to the kernel. /proc/[pid]/io syscw",
    		Type:      counterMetric,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top