- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 170 for state (0.16 sec)
-
cmd/is-dir-empty_linux.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 05 15:17:08 GMT 2024 - 1.4K bytes - Viewed (0) -
internal/s3select/message.go
} // newStatsMessage - creates new Stats Message. S3 sends this message at the end of the request. // It contains statistics about the query. // // Header specification: // Stats messages contain three headers, as follows: // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-stats.png // // Payload specification:
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Aug 30 15:26:43 GMT 2022 - 15.2K bytes - Viewed (0) -
internal/disk/disk_unix.go
"syscall" ) // SameDisk reports whether di1 and di2 describe the same disk. func SameDisk(disk1, disk2 string) (bool, error) { st1 := syscall.Stat_t{} st2 := syscall.Stat_t{} if err := syscall.Stat(disk1, &st1); err != nil { return false, err } if err := syscall.Stat(disk2, &st2); err != nil { return false, err } return st1.Dev == st2.Dev, nil
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 1.2K bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
} 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) >> 8 major |= (devID & 0xfffff00000000000) >> 32 minor := (devID & 0x00000000000000ff) >> 0
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 5.4K bytes - Viewed (0) -
docs/config/README.md
transition_workers (number) set the number of transition workers (default: '100') stale_uploads_expiry (duration) set to expire stale multipart uploads older than this values (default: '24h') stale_uploads_cleanup_interval (duration) set to change intervals when stale multipart uploads are expired (default: '6h')
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 11 21:48:54 GMT 2023 - 17.7K bytes - Viewed (0) -
internal/logger/targets.go
n := cnt[key] cnt[key]++ key = fmt.Sprintf("sys_%s_%d", key, n) res[key] = t.Stats() } for _, t := range audit { key := strings.ToLower(t.Type().String()) n := cnt[key] cnt[key]++ key = fmt.Sprintf("audit_%s_%d", key, n) res[key] = t.Stats() } return res } // AddSystemTarget adds a new logger target to the // list of enabled loggers
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 02 22:56:14 GMT 2024 - 6.1K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
// If the directory has a different device as parent, then it is a mountpoint. if s1.Sys().(*syscall.Stat_t).Dev != s2.Sys().(*syscall.Stat_t).Dev { // path/.. on a different device as path return true } // path/.. is the same i-node as path - this check is for bind mounts. return s1.Sys().(*syscall.Stat_t).Ino == s2.Sys().(*syscall.Stat_t).Ino } // CheckCrossDevice - check if any list of paths has any sub-mounts at /proc/mounts.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.7K bytes - Viewed (0) -
cmd/os-instrumented.go
func Remove(deletePath string) (err error) { defer updateOSMetrics(osMetricRemove, deletePath)(err) return os.Remove(deletePath) } // Stat captures time taken to call os.Stat func Stat(name string) (info os.FileInfo, err error) { defer updateOSMetrics(osMetricStat, name)(err) return os.Stat(name) } // Create captures time taken to call os.Create func Create(name string) (f *os.File, err error) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 15 01:09:38 GMT 2024 - 6.3K bytes - Viewed (0) -
cmd/kms-handlers.go
return } stat, err := GlobalKMS.Stat(ctx) if err != nil { writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL) return } status := madmin.KMSStatus{ Name: stat.Name, DefaultKeyID: stat.DefaultKey, Endpoints: make(map[string]madmin.ItemState, len(stat.Endpoints)), } for _, endpoint := range stat.Endpoints {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 20.7K bytes - Viewed (0) -
internal/config/api/help.go
}, config.HelpKV{ Key: apiStaleUploadsExpiry, Description: `set to expire stale multipart uploads older than this values` + defaultHelpPostfix(apiStaleUploadsExpiry), Optional: true, Type: "duration", }, config.HelpKV{ Key: apiStaleUploadsCleanupInterval, Description: `set to change intervals when stale multipart uploads are expired` + defaultHelpPostfix(apiStaleUploadsCleanupInterval),
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 15 01:07:19 GMT 2024 - 4.7K bytes - Viewed (0)