- Sort Score
- Result 10 results
- Languages All
Results 61 - 68 of 68 for syscalls (0.12 sec)
-
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) -
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) -
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) -
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) -
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) -
src/syscall/types_windows.go
// Copyright 2011 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. package syscall const ( // Windows errors. ERROR_FILE_NOT_FOUND Errno = 2 ERROR_PATH_NOT_FOUND Errno = 3 ERROR_ACCESS_DENIED Errno = 5 ERROR_NO_MORE_FILES Errno = 18 ERROR_HANDLE_EOF Errno = 38 ERROR_NETNAME_DELETED Errno = 64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 27.8K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/types.go
// SkipPhases is a list of phases to skip during command execution. // The list of phases can be obtained with the "kubeadm reset phase --help" command. SkipPhases []string // UnmountFlags is a list of unmount2() syscall flags that kubeadm can use when unmounting // directories during "reset". A flag can be one of: MNT_FORCE, MNT_DETACH, MNT_EXPIRE, UMOUNT_NOFOLLOW. // By default this list is empty. UnmountFlags []string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 03:12:52 UTC 2024 - 32.6K bytes - Viewed (0) -
cmd/storage-rest-server.go
// Windows can lock up with this optimization, so we fall back to regular copy. sr, ok := rc.(*sendFileReader) if ok { // Sendfile sends in 4MiB chunks per sendfile syscall which is more than enough // for most setups. _, err = rf.ReadFrom(sr.Reader) if !xnet.IsNetworkOrHostDown(err, true) { // do not need to log disconnected clients storageLogIf(r.Context(), err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 44.8K bytes - Viewed (0)