Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,932 for statx (0.04 sec)

  1. src/runtime/mgcsweep.go

    	if sl.sweepGen != mheap_.sweepgen {
    		throw("sweeper left outstanding across sweep generations")
    	}
    	for {
    		state := a.state.Load()
    		if (state&^sweepDrainedMask)-1 >= sweepDrainedMask {
    			throw("mismatched begin/end of activeSweep")
    		}
    		if a.state.CompareAndSwap(state, state-1) {
    			if state != sweepDrainedMask {
    				return
    			}
    			if debug.gcpacertrace > 0 {
    				live := gcController.heapLive.Load()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    	eps := hcsshim.HNSEndpointStats{}
    	for _, c := range s.containers {
    		for _, stat := range c.hcsStats {
    			if endpointName == stat.InstanceId {
    				eps = hcsshim.HNSEndpointStats{
    					EndpointID:      stat.EndpointId,
    					BytesSent:       stat.BytesSent,
    					BytesReceived:   stat.BytesReceived,
    					PacketsReceived: stat.PacketsReceived,
    					PacketsSent:     stat.PacketsSent,
    				}
    			}
    		}
    	}
    
    	return &eps, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/go/internal/script/cmds.go

    func Command(usage CmdUsage, run func(*State, ...string) (WaitFunc, error)) Cmd {
    	return &funcCmd{
    		usage: usage,
    		run:   run,
    	}
    }
    
    // A funcCmd implements Cmd using a function value.
    type funcCmd struct {
    	usage CmdUsage
    	run   func(*State, ...string) (WaitFunc, error)
    }
    
    func (c *funcCmd) Run(s *State, args ...string) (WaitFunc, error) {
    	return c.run(s, args...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. internal/grid/connection.go

    		}
    	}
    }
    
    // State returns the current connection status.
    func (c *Connection) State() State {
    	return State(atomic.LoadUint32((*uint32)(&c.state)))
    }
    
    // Stats returns the current connection stats.
    func (c *Connection) Stats() madmin.RPCMetrics {
    	conn := 0
    	if c.State() == StateConnected {
    		conn++
    	}
    	m := madmin.RPCMetrics{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  10. pkg/volume/volume_linux_test.go

    			info, err := os.Lstat(tmpDir)
    			if err != nil {
    				t.Fatalf("error reading permission of tmpdir: %v", err)
    			}
    
    			stat, ok := info.Sys().(*syscall.Stat_t)
    			if !ok || stat == nil {
    				t.Fatalf("error reading permission stats for tmpdir: %s", tmpDir)
    			}
    
    			gid := stat.Gid
    
    			var expectedGid int64
    
    			if test.gidOwnerMatch {
    				expectedGid = int64(gid)
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top