- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 833 for stdat (0.05 sec)
-
src/cmd/link/internal/ld/fallocate_test.go
for _, sz := range []int64{1 << 20, 2 << 20, 3 << 20} { err = out.Mmap(uint64(sz)) if err != nil { t.Fatalf("Mmap failed: %v", err) } stat, err := os.Stat(filename) if err != nil { t.Fatalf("Stat failed: %v", err) } if got := stat.Size(); got != sz { t.Errorf("unexpected file size: got %d, want %d", got, sz) } // The number of blocks must be enough for the requested size.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 05 14:17:36 UTC 2023 - 1.7K bytes - Viewed (0) -
cmd/metrics-v3-system-process.go
) func loadProcStatMetrics(ctx context.Context, stat procfs.ProcStat, m MetricValues) { if stat.CPUTime() > 0 { m.Set(processCPUTotalSeconds, float64(stat.CPUTime())) } if stat.ResidentMemory() > 0 { m.Set(processResidentMemoryBytes, float64(stat.ResidentMemory())) } if stat.VirtualMemory() > 0 { m.Set(processVirtualMemoryBytes, float64(stat.VirtualMemory())) } startTime, err := stat.StartTime()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 26 16:07:23 UTC 2024 - 6.4K bytes - Viewed (0) -
src/net/internal/socktest/switch.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 4.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonRegistryStateProbe.groovy
if (OperatingSystem.current().isLinux() || OperatingSystem.current().isMacOsX()) { def stat = NativeServicesTestFixture.instance.get(Stat) assert stat.getUnixMode(registryFile) == 0600 // user read-write assert stat.getUnixMode(registryFile.parentFile) == 0700 // user read-write-execute } } @Override State getCurrentState() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AttributeBasedFileVisitDetails.java
public AttributeBasedFileVisitDetails(File file, RelativePath relativePath, AtomicBoolean stop, Chmod chmod, Stat stat, BasicFileAttributes attributes) { super(file, relativePath, stop, chmod, stat); this.attributes = attributes; } @Override public long getSize() { return attributes.size(); } @Override public long getLastModified() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.4K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_windows_test.go
eps := hcsshim.HNSEndpointStats{} for _, c := range s.containers { for _, stat := range c.hcsStats { if endpointName == stat.InstanceId { eps = hcsshim.HNSEndpointStats{ EndpointID: stat.EndpointId, BytesSent: stat.BytesSent, BytesReceived: stat.BytesReceived, PacketsReceived: stat.PacketsReceived, PacketsSent: stat.PacketsSent, } } } } return &eps, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 17 00:02:10 UTC 2024 - 13.8K bytes - Viewed (0) -
src/internal/testlog/log.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 11 19:08:32 UTC 2017 - 1.9K bytes - Viewed (0) -
src/syscall/syscall_linux_arm64.go
func Stat(path string, stat *Stat_t) (err error) { return fstatat(_AT_FDCWD, path, stat, 0) } func Lchown(path string, uid int, gid int) (err error) { return Fchownat(_AT_FDCWD, path, uid, gid, _AT_SYMLINK_NOFOLLOW) } func Lstat(path string, stat *Stat_t) (err error) { return fstatat(_AT_FDCWD, path, stat, _AT_SYMLINK_NOFOLLOW) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 6.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
//sys Shutdown(fd int, how int) (err error) //sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) func Stat(path string, stat *Stat_t) (err error) { // Use fstatat, because Android's seccomp policy blocks stat. return Fstatat(AT_FDCWD, path, stat, 0) } //sys Statfs(path string, buf *Statfs_t) (err error) //sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5.3K bytes - Viewed (0) -
cmd/is-dir-empty_linux.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 05 15:17:08 UTC 2024 - 1.4K bytes - Viewed (0)