Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 4,605 for statx (0.2 sec)

  1. tensorflow/c/env.cc

    }
    
    void TF_FileStat(const char* filename, TF_FileStatistics* stats,
                     TF_Status* status) {
      ::tensorflow::FileStatistics cc_stats;
      TF_SetStatus(status, TF_OK, "");
      ::tensorflow::Status s =
          ::tensorflow::Env::Default()->Stat(filename, &cc_stats);
      ::tensorflow::Set_TF_Status_from_Status(status, s);
      if (s.ok()) {
        stats->length = cc_stats.length;
        stats->mtime_nsec = cc_stats.mtime_nsec;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 7K bytes
    - Viewed (0)
  2. internal/disk/disk.go

    	Used       uint64
    	Files      uint64
    	Ffree      uint64
    	FSType     string
    	Major      uint32
    	Minor      uint32
    	Name       string
    	Rotational *bool
    	NRRequests uint64
    }
    
    // IOStats contains stats of a single drive
    type IOStats struct {
    	ReadIOs        uint64
    	ReadMerges     uint64
    	ReadSectors    uint64
    	ReadTicks      uint64
    	WriteIOs       uint64
    	WriteMerges    uint64
    	WriteSectors   uint64
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. internal/disk/stat_windows.go

    //
    // https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx
    func GetInfo(path string, _ bool) (info Info, err error) {
    	// Stat to know if the path exists.
    	if _, err = os.Stat(path); err != nil {
    		return Info{}, err
    	}
    
    	lpFreeBytesAvailable := int64(0)
    	lpTotalNumberOfBytes := int64(0)
    	lpTotalNumberOfFreeBytes := int64(0)
    
    	// Extract values safely
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/runtime/mcache.go

    	if s == nil {
    		throw("out of memory")
    	}
    
    	// Count the alloc in consistent, external stats.
    	stats := memstats.heapStats.acquire()
    	atomic.Xadd64(&stats.largeAlloc, int64(npages*pageSize))
    	atomic.Xadd64(&stats.largeAllocCount, 1)
    	memstats.heapStats.release()
    
    	// Count the alloc in inconsistent, internal stats.
    	gcController.totalAlloc.Add(int64(npages * pageSize))
    
    	// Update heapLive.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go

    	// in this case to update the timestamp
    	klog.V(2).InfoS("Adding socket path or updating timestamp to desired state cache", "path", socketPath)
    	err := w.desiredStateOfWorld.AddOrUpdatePlugin(socketPath)
    	if err != nil {
    		return fmt.Errorf("error adding socket path %s or updating timestamp to desired state cache: %v", socketPath, err)
    	}
    	return nil
    }
    
    func (w *Watcher) handleDeleteEvent(event fsnotify.Event) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:26:37 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. cmd/metrics-v3-system-drive.go

    	driveRealtimeMetrics := collectLocalMetrics(types, collectMetricsOpts{
    		hosts: map[string]struct{}{
    			globalLocalNodeName: {},
    		},
    	})
    
    	stats := map[string]madmin.DiskIOStats{}
    	for d, m := range driveRealtimeMetrics.ByDisk {
    		stats[d] = m.IOStats
    	}
    	return stats
    }
    
    func (m *MetricValues) setDriveBasicMetrics(drive madmin.Disk, labels []string) {
    	m.Set(driveUsedBytes, float64(drive.UsedSpace), labels...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. src/runtime/arena.go

    	// Update consistent stats to match.
    	//
    	// We're non-preemptible, so it's safe to update consistent stats (our P
    	// won't change out from under us).
    	stats := memstats.heapStats.acquire()
    	atomic.Xaddint64(&stats.committed, -int64(s.npages*pageSize))
    	atomic.Xaddint64(&stats.inHeap, -int64(s.npages*pageSize))
    	atomic.Xadd64(&stats.largeFreeCount, 1)
    	atomic.Xadd64(&stats.largeFree, int64(s.elemsize))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  8. pkg/kubelet/winstats/perfcounter_nodestats.go

    	// https://www.kernel.org/doc/Documentation/filesystems/proc.txt
    	var statex MemoryStatusEx
    	statex.Length = uint32(unsafe.Sizeof(statex))
    	ret, _, _ := procGlobalMemoryStatusEx.Call(uintptr(unsafe.Pointer(&statex)))
    
    	if ret == 0 {
    		return 0, errors.New("unable to read physical memory")
    	}
    
    	return statex.TotalPhys, nil
    }
    
    func getBootID() (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 18:37:21 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    			pl, state.reqsGaugePair, state.execSeatsObs,
    			metrics.NewUnionGauge(state.seatDemandIntegrator, state.seatDemandRatioedGauge))
    		if err != nil {
    			klog.Warningf("Ignoring PriorityLevelConfiguration object %s because its spec (%s) is broken: %s", pl.Name, fcfmt.Fmt(pl.Spec), err)
    			continue
    		}
    		meal.newPLStates[pl.Name] = state
    		state.pl = pl
    		state.qsCompleter = qsCompleter
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  10. cmd/data-usage-cache.go

    			for arn, stat := range flat.ReplicationStats.Targets {
    				bui.ReplicationInfo[arn] = BucketTargetUsageInfo{
    					ReplicationPendingSize:  stat.PendingSize,
    					ReplicatedSize:          stat.ReplicatedSize,
    					ReplicationFailedSize:   stat.FailedSize,
    					ReplicationPendingCount: stat.PendingCount,
    					ReplicationFailedCount:  stat.FailedCount,
    					ReplicatedCount:         stat.ReplicatedCount,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 14:49:50 UTC 2024
    - 42.8K bytes
    - Viewed (0)
Back to top