Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 4,605 for statx (0.12 sec)

  1. 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)
  2. pkg/kubelet/stats/provider.go

    limitations under the License.
    */
    
    package stats
    
    import (
    	"context"
    	"fmt"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	internalapi "k8s.io/cri-api/pkg/apis"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    	"k8s.io/kubernetes/pkg/kubelet/cadvisor"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/kubernetes/pkg/kubelet/server/stats"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 13:56:22 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/runtime/mheap.go

    		gcController.heapReleased.add(-int64(scav))
    	}
    	// Update stats.
    	gcController.heapFree.add(-int64(nbytes - scav))
    	if typ == spanAllocHeap {
    		gcController.heapInUse.add(int64(nbytes))
    	}
    	// Update consistent stats.
    	stats := memstats.heapStats.acquire()
    	atomic.Xaddint64(&stats.committed, int64(scav))
    	atomic.Xaddint64(&stats.released, -int64(scav))
    	switch typ {
    	case spanAllocHeap:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  7. 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)
  8. cmd/metrics-v3-system-process.go

    )
    
    func loadProcStatMetrics(ctx context.Context, stat procfs.ProcStat, m MetricValues) {
    	if stat.CPUTime() > 0 {
    		m.Set(processCPUTotalSeconds, float64(stat.CPUTime()))
    	}
    
    	if stat.ResidentMemory() > 0 {
    		m.Set(processResidentMemoryBytes, float64(stat.ResidentMemory()))
    	}
    
    	if stat.VirtualMemory() > 0 {
    		m.Set(processVirtualMemoryBytes, float64(stat.VirtualMemory()))
    	}
    
    	startTime, err := stat.StartTime()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 16:07:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/host_stats_provider.go

    // HostStatsProvider defines an interface for providing host stats associated with pod.
    type HostStatsProvider interface {
    	// getPodLogStats gets stats associated with pod log usage
    	getPodLogStats(podNamespace, podName string, podUID types.UID, rootFsInfo *cadvisorapiv2.FsInfo) (*statsapi.FsStats, error)
    	// getPodContainerLogStats gets stats associated with container log usage
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/runtime/mfixalloc.go

    	f.nchunk = 0
    	f.nalloc = uint32(_FixAllocChunk / size * size) // Round _FixAllocChunk down to an exact multiple of size to eliminate tail waste
    	f.inuse = 0
    	f.stat = stat
    	f.zero = true
    }
    
    func (f *fixalloc) alloc() unsafe.Pointer {
    	if f.size == 0 {
    		print("runtime: use of FixAlloc_Alloc before FixAlloc_Init\n")
    		throw("runtime: internal error")
    	}
    
    	if f.list != nil {
    		v := unsafe.Pointer(f.list)
    		f.list = f.list.next
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 24 20:28:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top