- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 4,605 for statx (0.05 sec)
-
pkg/envoy/agent.go
activeConnectionsURL := fmt.Sprintf("http://%s/stats?usedonly&filter=downstream_cx_active$", adminHost) stats, err := http.DoHTTPGetWithTimeout(activeConnectionsURL, 2*time.Second) if err != nil { return -1, fmt.Errorf("unable to get listener stats from Envoy : %v", err) } if stats.Len() == 0 { return -1, nil } activeConnections := 0 for stats.Len() > 0 { line, _ := stats.ReadString('\n')
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 24 16:04:22 UTC 2024 - 9K bytes - Viewed (0) -
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
if (TF_GetCode(status) == TF_OK) { stats->is_directory = true; stats->length = 0; stats->mtime_nsec = 0; } return; } if (IsDirectory(filesystem, path, status)) { stats->is_directory = true; stats->length = 0; stats->mtime_nsec = 0; return TF_SetStatus(status, TF_OK, ""); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 23 06:55:53 UTC 2023 - 46.9K bytes - Viewed (0) -
src/runtime/mgcsweep.go
if sl.sweepGen != mheap_.sweepgen { throw("sweeper left outstanding across sweep generations") } for { state := a.state.Load() if (state&^sweepDrainedMask)-1 >= sweepDrainedMask { throw("mismatched begin/end of activeSweep") } if a.state.CompareAndSwap(state, state-1) { if state != sweepDrainedMask { return } if debug.gcpacertrace > 0 { live := gcController.heapLive.Load()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:52:18 UTC 2024 - 32.9K 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/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) -
cmd/site-replication.go
return err } var state srState if !unlinkSelf { state = srState{ Name: c.state.Name, Peers: updatedPeers, ServiceAccountAccessKey: c.state.ServiceAccountAccessKey, } } if err := c.saveToDisk(ctx, state); err != nil { return errSRBackendIssue(fmt.Errorf("unable to save cluster-replication state to drive on %s: %v", ourName, err)) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 184.3K bytes - Viewed (0)