Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 4,605 for statx (0.08 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. 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)
  7. 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)
  8. 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)
  9. pkg/volume/local/local_linux_test.go

    )
    
    func TestFSGroupMount(t *testing.T) {
    	tmpDir, plug := getPlugin(t)
    	defer os.RemoveAll(tmpDir)
    	info, err := os.Stat(tmpDir)
    	if err != nil {
    		t.Errorf("Error getting stats for %s (%v)", tmpDir, err)
    	}
    	s := info.Sys().(*syscall.Stat_t)
    	if s == nil {
    		t.Fatalf("Error getting stats for %s (%v)", tmpDir, err)
    	}
    	fsGroup1 := int64(s.Gid)
    	fsGroup2 := fsGroup1 + 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. 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)
Back to top