Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,363 for statx (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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