Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,424 for statx (0.06 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    }
    
    static void Stat(const TF_Filesystem* filesystem, const char* path,
                     TF_FileStatistics* stats, TF_Status* status) {
      struct stat sbuf;
      if (stat(path, &sbuf) != 0) {
        TF_SetStatusFromIOError(status, errno, path);
      } else {
        stats->length = sbuf.st_size;
        stats->mtime_nsec = sbuf.st_mtime * (1000 * 1000 * 1000);
        stats->is_directory = S_ISDIR(sbuf.st_mode);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/cri_stats_provider_test.go

    		NewFakeHostStatsProvider(),
    		false,
    	)
    
    	stats, containerStats, err := provider.ImageFsStats(ctx)
    	assert := assert.New(t)
    	assert.NoError(err)
    
    	assert.Equal(imageFsUsage.Timestamp, stats.Time.UnixNano())
    	assert.Equal(imageFsInfo.Available, *stats.AvailableBytes)
    	assert.Equal(imageFsInfo.Capacity, *stats.CapacityBytes)
    	assert.Equal(imageFsInfo.InodesFree, stats.InodesFree)
    	assert.Equal(imageFsInfo.Inodes, stats.Inodes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  3. testing/soak/src/integTest/groovy/org/gradle/launcher/daemon/DaemonPerformanceMonitoringSoakTest.groovy

                class State {
                    static int x
                    static map = [:]
                }
                try {
                    State.x++
    
                    //simulate normal collectible objects
                    5000.times {
                        State.map.put(it, "foo" * ${leakRate})
                    }
    
                    //simulate the leak
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      std::string translated_name = TranslateName(fname);
      TF_FileStatistics stats;
      ops_->stat(filesystem_.get(), translated_name.c_str(), &stats,
                 plugin_status.get());
    
      if (TF_GetCode(plugin_status.get()) == TF_OK) {
        stat->length = stats.length;
        stat->mtime_nsec = stats.mtime_nsec;
        stat->is_directory = stats.is_directory;
      }
    
      return StatusFromTF_Status(plugin_status.get());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  7. src/runtime/mstats.go

    	stats.GCSys = memstats.gcMiscSys.load() + gcWorkBufInUse + gcProgPtrScalarBitsInUse
    	stats.OtherSys = memstats.other_sys.load()
    	stats.NextGC = heapGoal
    	stats.LastGC = memstats.last_gc_unix
    	stats.PauseTotalNs = memstats.pause_total_ns
    	stats.PauseNs = memstats.pause_ns
    	stats.PauseEnd = memstats.pause_end
    	stats.NumGC = memstats.numgc
    	stats.NumForcedGC = memstats.numforcedgc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  8. pkg/kubelet/logs/container_log_manager_test.go

    	c := &containerLogManager{osInterface: container.RealOS{}}
    	require.NoError(t, c.compressLog(testLog))
    	_, err = os.Stat(testLog + compressSuffix)
    	assert.NoError(t, err, "log should be compressed")
    	_, err = os.Stat(testLog + tmpSuffix)
    	assert.Error(t, err, "temporary log should be renamed")
    	_, err = os.Stat(testLog)
    	assert.Error(t, err, "original log should be removed")
    
    	rc, err := UncompressLog(testLog + compressSuffix)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/provider.go

    limitations under the License.
    */
    
    package stats
    
    import (
    	"context"
    	"fmt"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	internalapi "k8s.io/cri-api/pkg/apis"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    	"k8s.io/kubernetes/pkg/kubelet/cadvisor"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/kubernetes/pkg/kubelet/server/stats"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 13:56:22 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. pkg/bootstrap/instance_test.go

    	gsm := got.GetStatsConfig().GetStatsMatcher()
    
    	if stats.prefixes == "" {
    		stats.prefixes = v2Prefixes + requiredEnvoyStatsMatcherInclusionPrefixes + v2Suffix
    	} else {
    		stats.prefixes = v2Prefixes + stats.prefixes + "," + requiredEnvoyStatsMatcherInclusionPrefixes + v2Suffix
    	}
    	if stats.suffixes == "" {
    		stats.suffixes = rbacEnvoyStatsMatcherInclusionSuffix
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top