- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 248 for inode (0.04 sec)
-
cni/pkg/nodeagent/pod_cache_test.go
) func openNsTestOverride(s string) (NetnsCloser, error) { return newFakeNs(inc()), nil } func openNsTestOverrideWithInodes(inodes ...uint64) func(s string) (NetnsCloser, error) { i := 0 return func(s string) (NetnsCloser, error) { inode := inodes[i] i++ return newFakeNsInode(inc(), inode), nil } } func TestUpsertPodCache(t *testing.T) { counter.Store(0)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 4.2K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns_other.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 781 bytes - Viewed (0) -
internal/disk/fdatasync_linux.go
// unless that metadata is needed in order to allow a subsequent data retrieval // to be correctly handled. For example, changes to st_atime or st_mtime // (respectively, time of last access and time of last modification; see inode(7)) // do not require flushing because they are not necessary for a subsequent data // read to be handled correctly. On the other hand, a change to the file size
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Sep 29 23:40:28 UTC 2021 - 1.8K bytes - Viewed (0) -
pkg/volume/util/fsquota/quota.go
// Get the quota-based storage consumption for the path GetConsumption(path string) (*resource.Quantity, error) // Get the quota-based inode consumption for the path GetInodes(path string) (*resource.Quantity, error) // Remove the quota from a path // Implementations may assume that any data covered by the // quota has already been removed.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 28 06:09:31 UTC 2023 - 1.9K bytes - Viewed (0) -
src/runtime/pprof/proto.go
} next() // dev inode := next() // inode if line == nil { continue } file := string(line) // Trim deleted file marker. deletedStr := " (deleted)" deletedLen := len(deletedStr) if len(file) >= deletedLen && file[len(file)-deletedLen:] == deletedStr { file = file[:len(file)-deletedLen] } if len(inode) == 1 && inode[0] == '0' && file == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 13 20:40:52 UTC 2023 - 25.7K bytes - Viewed (0) -
pkg/volume/util/fs/fs_windows.go
procGetDiskFreeSpaceEx = modkernel32.NewProc("GetDiskFreeSpaceExW") ) type UsageInfo struct { Bytes int64 Inodes int64 } // Info returns (available bytes, byte capacity, byte usage, total inodes, inodes free, inode usage, error) // for the filesystem that path resides upon. func Info(path string) (int64, int64, int64, int64, int64, int64, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 21 16:25:48 UTC 2022 - 2.8K bytes - Viewed (0) -
pkg/volume/util/fs/fs.go
} inodes, _ := fsquota.GetInodes(path) if inodes != nil { usage.Inodes = inodes.Value() } if inodes != nil && consumption != nil { return usage, nil } topLevelStat := &unix.Stat_t{} err := unix.Stat(path, topLevelStat) if err != nil { return usage, err } // dedupedInode stores inodes that could be duplicates (nlink > 1)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 20 02:56:02 UTC 2022 - 3.8K bytes - Viewed (0) -
src/os/dir_darwin.go
if errno == syscall.EINTR { continue } return names, dirents, infos, &PathError{Op: "readdir", Path: f.name, Err: errno} } if entptr == nil { // EOF break } // Darwin may return a zero inode when a directory entry has been // deleted but not yet removed from the directory. The man page for // getdirentries(2) states that programs are responsible for skipping // those entries: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 20:52:06 UTC 2024 - 3.5K bytes - Viewed (0) -
src/os/types.go
func (fs *fileStat) IsDir() bool { return fs.Mode().IsDir() } // SameFile reports whether fi1 and fi2 describe the same file. // For example, on Unix this means that the device and inode fields // of the two underlying structures are identical; on other systems // the decision may be based on the path names. // SameFile only applies to results returned by this package's [Stat]. // It returns false in other cases.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 20:52:06 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/internal/filelock/filelock_test.go
f2 := mustOpen(t, f.Name()) defer f2.Close() doUnlockTF := false switch runtime.GOOS { case "aix", "solaris": // When using POSIX locks (as on Solaris), we can't safely read-lock the // same inode through two different descriptors at the same time: when the // first descriptor is closed, the second descriptor would still be open but // silently unlocked. So a second RLock must block instead of proceeding.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 22:37:50 UTC 2023 - 4K bytes - Viewed (0)