Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,971 for statx (0.15 sec)

  1. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/StatementReplacingVisitorSupport.java

        stat.setTryStatement(replace(stat.getTryStatement()));
        replaceAll(stat.getCatchStatements());
        stat.setFinallyStatement(replace(stat.getFinallyStatement()));
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public void visitSwitch(SwitchStatement stat) {
        stat.getExpression().visit(this);
        replaceAll(stat.getCaseStatements());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. pkg/envoy/agent.go

    	activeConnectionsURL := fmt.Sprintf("http://%s/stats?usedonly&filter=downstream_cx_active$", adminHost)
    	stats, err := http.DoHTTPGetWithTimeout(activeConnectionsURL, 2*time.Second)
    	if err != nil {
    		return -1, fmt.Errorf("unable to get listener stats from Envoy : %v", err)
    	}
    	if stats.Len() == 0 {
    		return -1, nil
    	}
    	activeConnections := 0
    	for stats.Len() > 0 {
    		line, _ := stats.ReadString('\n')
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/state/CachingFileHasherTest.groovy

            1 * timeStampInspector.timestampCanBeUsedToDetectFileChange(file.absolutePath, stat.lastModified) >> true
            1 * cache.getIfPresent(file.absolutePath) >> new FileInfo(hash, stat.length, stat.lastModified)
            0 * _
        }
    
        def "does not load cached value when timestamp cannot be used to detect change"() {
            def stat = fileSystem.stat(file)
    
            when:
            def result = hasher.hash(file)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 13:47:15 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. pilot/cmd/pilot-agent/status/ready/probe.go

    	state, ws, err := util.GetReadinessStats(host, port)
    	if err != nil {
    		return fmt.Errorf("failed to get readiness stats: %v", err)
    	}
    
    	if state != nil && ServerInfoState(*state) != Live {
    		return fmt.Errorf("server is not live, current state is: %v", StateString(ServerInfoState(*state)))
    	}
    
    	if !ws {
    		return fmt.Errorf("workers have not yet started")
    	}
    
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. pkg/cache/cache.go

    import (
    	"time"
    )
    
    // Stats returns usage statistics about an individual cache, useful to assess the
    // efficiency of a cache.
    //
    // The values returned in this struct are approximations of the current state of the cache.
    // For the sake of efficiency, certain edge cases in the implementation can lead to
    // inaccuracies.
    type Stats struct {
    	// Writes captures the number of times state in the cache was added or updated.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top