Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 4,182 for statx (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  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. 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)
  9. 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)
  10. 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)
Back to top