- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 70 for Syscall6 (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/disk/stat_linux_32bit.go
if !ok { return "UNKNOWN" } return fsTypeString } // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, _ bool) (info Info, err error) { s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err } reservedBlocks := s.Bfree - s.Bavail info = Info{ Total: uint64(s.Frsize) * (s.Blocks - reservedBlocks),Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 2.6K bytes - Click Count (0) -
internal/mountinfo/mountinfo_linux.go
if err != nil { return false } // If the directory has a different device as parent, then it is a mountpoint. ss1, ok1 := s1.Sys().(*syscall.Stat_t) ss2, ok2 := s2.Sys().(*syscall.Stat_t) return ok1 && ok2 && // path/.. on a different device as path (ss1.Dev != ss2.Dev || // path/.. is the same i-node as path - this check is for bind mounts. ss1.Ino == ss2.Ino) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 4.7K bytes - Click Count (0) -
cmd/os-dirent_ino.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. //go:build (linux || darwin) && !appengine // +build linux darwin // +build !appengine package cmd import "syscall" func direntInode(dirent *syscall.Dirent) uint64 { return dirent.Ino
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 953 bytes - Click Count (0) -
src/archive/tar/stat_unix.go
"runtime" "strconv" "sync" "syscall" ) func init() { sysStat = statUnix } // userMap and groupMap caches UID and GID lookups for performance reasons. // The downside is that renaming uname or gname by the OS never takes effect. var userMap, groupMap sync.Map // map[int]string func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error { sys, ok := fi.Sys().(*syscall.Stat_t) if !ok { return nil }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 3.2K bytes - Click Count (0) -
cmd/service.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "os" "os/exec" "runtime" "syscall" xioutil "github.com/minio/minio/internal/ioutil" ) // Type of service signals currently supported. type serviceSignal int const ( serviceRestart serviceSignal = iota // Restarts the server.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 28 07:02:14 GMT 2024 - 3.8K bytes - Click Count (0) -
docs/debugging/reorder-disks/main.go
}) if err != nil { return nil, err } return result, nil } type localDisk struct { index int path string } func getMajorMinor(path string) (string, error) { var stat syscall.Stat_t if err := syscall.Stat(path, &stat); err != nil { return "", fmt.Errorf("unable to stat `%s`: %w", path, err) } devID := uint64(stat.Dev) major := (devID & 0x00000000000fff00) >> 8Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 5.4K bytes - Click Count (0) -
internal/http/listener.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.8K bytes - Click Count (0) -
internal/event/target/webhook.go
package target import ( "bytes" "context" "crypto/tls" "encoding/json" "errors" "fmt" "net" "net/http" "net/url" "os" "path/filepath" "strings" "syscall" "time" "github.com/minio/minio/internal/event" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/once"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 8.8K bytes - Click Count (0) -
cmd/update-notifier.go
// calculate the rectangular box size. maxContentWidth := max(line1Length, line2Length) // termWidth is set to a default one to use when we are // not able to calculate terminal width via OS syscalls termWidth := 25 if width, err := pb.GetTerminalWidth(); err == nil { termWidth = width } // Box cannot be printed if terminal width is small than maxContentWidth if maxContentWidth > termWidth {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 3.6K bytes - Click Count (0) -
cmd/metrics-v3-system-process.go
processSyscallReadTotalMD = NewCounterMD(processSyscallReadTotal, "Total read SysCalls to the kernel. /proc/[pid]/io syscr") processSyscallWriteTotalMD = NewCounterMD(processSyscallWriteTotal, "Total write SysCalls to the kernel. /proc/[pid]/io syscw") processResidentMemoryBytesMD = NewGaugeMD(processResidentMemoryBytes, "Resident memory size in bytes")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jun 20 17:55:03 GMT 2024 - 6.5K bytes - Click Count (0)