Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for syscall6 (0.13 sec)

  1. src/net/conf.go

    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"errors"
    	"internal/bytealg"
    	"internal/godebug"
    	"internal/stringslite"
    	"io/fs"
    	"os"
    	"runtime"
    	"sync"
    	"syscall"
    )
    
    // The net package's name resolution is rather complicated.
    // There are two main approaches, go and cgo.
    // The cgo resolver uses C functions like getaddrinfo.
    // The go resolver reads system files directly and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/test.go

    	if runtime.GOOS == "windows" {
    		t.Skip("skipping on windows")
    	}
    
    	_, e := C.g()
    	if e != syscall.E2BIG {
    		t.Errorf("got %q, expect %q", e, syscall.E2BIG)
    	}
    	_, e = C.g2(C.EINVAL, C._expA, C._expB, C._expC, C._expD)
    	if e != syscall.EINVAL {
    		t.Errorf("got %q, expect %q", e, syscall.EINVAL)
    	}
    }
    
    // issue 3945
    
    func testPrintf(t *testing.T) {
    	C.say()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  3. docs/metrics/v3.md

    | `minio_system_process_syscall_read_total`          | `counter` | Total read SysCalls to the kernel. /proc/[pid]/io syscr                                                        | `server` |
    | `minio_system_process_syscall_write_total`         | `counter` | Total write SysCalls to the kernel. /proc/[pid]/io syscw                                                       | `server` |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 40.9K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/os_plan9.go

    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    	mp.notesig = (*int8)(mallocgc(_ERRMAX, nil, true))
    	// Initialize stack for handling strings from the
    	// errstr system call, as used in package syscall.
    	mp.errstr = (*byte)(mallocgc(_ERRMAX, nil, true))
    }
    
    func sigsave(p *sigset) {
    }
    
    func msigrestore(sigmask sigset) {
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. internal/ioutil/ioutil.go

    // used with DIRECT I/O based file descriptor and it is expected that
    // input writer *os.File not a generic io.Writer. Make sure to have
    // the file opened for writes with syscall.O_DIRECT flag.
    func CopyAligned(w io.Writer, r io.Reader, alignedBuf []byte, totalSize int64, file *os.File) (int64, error) {
    	if totalSize == 0 {
    		return 0, nil
    	}
    
    	var written int64
    	for {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/fsys/fsys.go

    // Important: filepath.Join(cwd, path) doesn't always produce
    // the correct absolute path if path is relative, because on
    // Windows producing the correct absolute path requires making
    // a syscall. So this should only be used when looking up paths
    // in the overlay, or canonicalizing the paths in the overlay.
    func canonicalize(path string) string {
    	if path == "" {
    		return ""
    	}
    	if filepath.IsAbs(path) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. src/runtime/debug/garbage.go

    // the same process. Examples of excluded memory sources include: OS
    // kernel memory held on behalf of the process, memory allocated by
    // C code, and memory mapped by syscall.Mmap (because it is not
    // managed by the Go runtime).
    //
    // More specifically, the following expression accurately reflects
    // the value the runtime attempts to maintain as the limit:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/go/types/issues_test.go

    	// code generated by cmd/cgo for the above source.
    	const cgoTypes = `
    // Code generated by cmd/cgo; DO NOT EDIT.
    
    package p
    
    import "unsafe"
    
    import "syscall"
    
    import _cgopackage "runtime/cgo"
    
    type _ _cgopackage.Incomplete
    var _ syscall.Errno
    func _Cgo_ptr(ptr unsafe.Pointer) unsafe.Pointer { return ptr }
    
    //go:linkname _Cgo_always_false runtime.cgoAlwaysFalse
    var _Cgo_always_false bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/os/exec/exec.go

    // See https://go.dev/blog/path-security for more information.
    package exec
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"internal/godebug"
    	"internal/syscall/execenv"
    	"io"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strconv"
    	"strings"
    	"syscall"
    	"time"
    )
    
    // Error is returned by [LookPath] when it fails to classify a file as an
    // executable.
    type Error struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top