- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 2,161 for statx (0.04 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/state/CachingFileHasherTest.groovy
1 * timeStampInspector.timestampCanBeUsedToDetectFileChange(file.absolutePath, stat.lastModified) >> true 1 * cache.getIfPresent(file.absolutePath) >> new FileInfo(hash, stat.length, stat.lastModified) 0 * _ } def "does not load cached value when timestamp cannot be used to detect change"() { def stat = fileSystem.stat(file) when: def result = hasher.hash(file)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 10 13:47:15 UTC 2023 - 6.3K bytes - Viewed (0) -
pkg/cache/cache.go
import ( "time" ) // Stats returns usage statistics about an individual cache, useful to assess the // efficiency of a cache. // // The values returned in this struct are approximations of the current state of the cache. // For the sake of efficiency, certain edge cases in the implementation can lead to // inaccuracies. type Stats struct { // Writes captures the number of times state in the cache was added or updated.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3.9K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/ready/probe.go
state, ws, err := util.GetReadinessStats(host, port) if err != nil { return fmt.Errorf("failed to get readiness stats: %v", err) } if state != nil && ServerInfoState(*state) != Live { return fmt.Errorf("server is not live, current state is: %v", StateString(ServerInfoState(*state))) } if !ws { return fmt.Errorf("workers have not yet started") } return nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 00:35:05 UTC 2024 - 4.5K bytes - Viewed (0) -
src/os/stat_unix.go
// statNolog stats a file with no test logging. func statNolog(name string) (FileInfo, error) { var fs fileStat err := ignoringEINTR(func() error { return syscall.Stat(name, &fs.sys) }) if err != nil { return nil, &PathError{Op: "stat", Path: name, Err: err} } fillFileStatFromSys(&fs, name) return &fs, nil } // lstatNolog lstats a file with no test logging. func lstatNolog(name string) (FileInfo, error) { var fs fileStat
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:38:03 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/native/src/jmh/java/org/gradle/internal/nativeintegration/filesystem/FileMetadataAccessorBenchmark.java
bh.consume(getAccessor(accessorClassName).stat(missing)); } @Benchmark public void stat_directory(Blackhole bh) { bh.consume(getAccessor(accessorClassName).stat(directory)); } @Benchmark public void stat_existing(Blackhole bh) { bh.consume(getAccessor(accessorClassName).stat(realFile)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 5.2K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/launcher/daemon/DaemonPerformanceMonitoringSoakTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.7K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/ready/probe_test.go
) var ( liveServerStats = "cluster_manager.cds.update_success: 1\nlistener_manager.lds.update_success: 1\nserver.state: 0\nlistener_manager.workers_started: 1" onlyServerStats = "server.state: 0" initServerStats = "cluster_manager.cds.update_success: 1\nlistener_manager.lds.update_success: 1\nserver.state: 2" noServerStats = "" ) func TestEnvoyStatsCompleteAndSuccessful(t *testing.T) { g := NewWithT(t)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 5.9K bytes - Viewed (0) -
cmd/admin-server-info.go
gcStats := debug.GCStats{ // If stats.PauseQuantiles is non-empty, ReadGCStats fills // it with quantiles summarizing the distribution of pause time. // For example, if len(stats.PauseQuantiles) is 5, it will be // filled with the minimum, 25%, 50%, 75%, and maximum pause times. PauseQuantiles: make([]time.Duration, 5), } debug.ReadGCStats(&gcStats) // Truncate GC stats to max 5 entries. if len(gcStats.PauseEnd) > 5 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (0) -
internal/config/lambda/event/targetlist.go
return nil, ErrARNNotFound{} } // Stats returns stats for targets. func (list *TargetList) Stats() TargetStats { t := TargetStats{} if list == nil { return t } list.RLock() defer list.RUnlock() t.TargetStats = make(map[string]TargetStat, len(list.targets)) for id, target := range list.targets { t.TargetStats[strings.ReplaceAll(id.String(), ":", "_")] = target.Stat() } return t }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 4.3K bytes - Viewed (0) -
cluster/gce/gci/mounter/mounter.go
const ( // Location of the mount file to use chrootCmd = "chroot" mountCmd = "mount" rootfs = "rootfs" nfsRPCBindErrMsg = "mount.nfs: rpc.statd is not running but is required for remote locking.\nmount.nfs: Either use '-o nolock' to keep locks local, or start statd.\nmount.nfs: an incorrect mount option was specified\n" rpcBindCmd = "/sbin/rpcbind" defaultRootfs = "/home/kubernetes/containerized_mounter/rootfs" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 20 22:26:16 UTC 2019 - 2.8K bytes - Viewed (0)