Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 380 for fstatfs (0.2 sec)

  1. pkg/volume/emptydir/empty_dir_linux.go

    	if err != nil {
    		return v1.StorageMediumDefault, false, nil, fmt.Errorf("IsLikelyNotMountPoint(%q): %v", path, err)
    	}
    
    	buf := unix.Statfs_t{}
    	if err := unix.Statfs(path, &buf); err != nil {
    		return v1.StorageMediumDefault, false, nil, fmt.Errorf("statfs(%q): %v", path, err)
    	}
    
    	klog.V(3).Infof("Statfs_t of %v: %+v", path, buf)
    
    	if buf.Type == linuxTmpfsMagic {
    		return v1.StorageMediumMemory, !notMnt, nil, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  2. hack/e2e-internal/e2e-status.sh

    xichengliudui <******@****.***> 1550548203 -0500
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 19 03:50:03 UTC 2019
    - 904 bytes
    - Viewed (0)
  3. pkg/kubelet/stats/provider_test.go

    		expected := info.Spec.Memory.Limit - *stats.SwapUsageBytes
    		assert.EqualValues(t, expected, *stats.SwapAvailableBytes, label+".AvailableBytes")
    	}
    }
    
    func checkFsStats(t *testing.T, label string, seed int, stats *statsapi.FsStats) {
    	assert.EqualValues(t, seed+offsetFsCapacity, *stats.CapacityBytes, label+".CapacityBytes")
    	assert.EqualValues(t, seed+offsetFsAvailable, *stats.AvailableBytes, label+".AvailableBytes")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  4. src/internal/syscall/unix/at_fstatat2.go

    // license that can be found in the LICENSE file.
    
    //go:build freebsd || (linux && loong64)
    
    package unix
    
    import "syscall"
    
    func Fstatat(dirfd int, path string, stat *syscall.Stat_t, flags int) error {
    	return syscall.Fstatat(dirfd, path, stat, flags)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 15:51:18 UTC 2022
    - 364 bytes
    - Viewed (0)
  5. src/internal/trace/traceviewer/emitter.go

    	e.gstates[from]--
    	e.gstates[to]++
    	if e.prevGstates == e.gstates {
    		return
    	}
    	if e.tsWithinRange(ts) {
    		e.OptionalEvent(&format.Event{
    			Name:  "Goroutines",
    			Phase: "C",
    			Time:  viewerTime(ts),
    			PID:   1,
    			Arg: &format.GoroutineCountersArg{
    				Running:   uint64(e.gstates[GRunning]),
    				Runnable:  uint64(e.gstates[GRunnable]),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  6. src/io/fs/stat_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package fs_test
    
    import (
    	"fmt"
    	. "io/fs"
    	"testing"
    )
    
    type statOnly struct{ StatFS }
    
    func (statOnly) Open(name string) (File, error) { return nil, ErrNotExist }
    
    func TestStat(t *testing.T) {
    	check := func(desc string, info FileInfo, err error) {
    		t.Helper()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 17:53:02 UTC 2020
    - 949 bytes
    - Viewed (0)
  7. pkg/kubelet/stats/provider.go

    	ImageFsStats(ctx context.Context) (*statsapi.FsStats, *statsapi.FsStats, error)
    	ImageFsDevice(ctx context.Context) (string, error)
    }
    
    // RlimitStats returns base information about process count
    func (p *Provider) RlimitStats() (*statsapi.RlimitStats, error) {
    	return pidlimit.Stats()
    }
    
    // GetCgroupStats returns the stats of the cgroup with the cgroupName. Note that
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 13:56:22 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go

    	msghdr.Iovlen = int32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    func Fstat(fd int, stat *Stat_t) error {
    	return fstat(fd, stat)
    }
    
    func Fstatat(dirfd int, path string, stat *Stat_t, flags int) error {
    	return fstatat(dirfd, path, stat, flags)
    }
    
    func Lstat(path string, stat *Stat_t) error {
    	return lstat(path, stat)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/host_stats_provider_fake.go

    }
    
    // NewFakeMetricsDu inserts fake statistics when asked for metrics
    func NewFakeMetricsDu(path string, stats *volume.Metrics) volume.MetricsProvider {
    	return &fakeMetricsDu{fakeStats: stats}
    }
    
    func (f *fakeMetricsDu) GetMetrics() (*volume.Metrics, error) {
    	if f.fakeStats == nil {
    		return nil, fmt.Errorf("no stats provided")
    	}
    	return f.fakeStats, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:57:17 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. plugin/pkg/admission/security/podsecurity/testdata/pod_baseline.yaml

                path: namespace
    status:
      conditions:
      - lastProbeTime: null
        lastTransitionTime: "2021-08-20T14:35:31Z"
        status: "True"
        type: Initialized
      - lastProbeTime: null
        lastTransitionTime: "2021-08-20T14:36:10Z"
        status: "True"
        type: Ready
      - lastProbeTime: null
        lastTransitionTime: "2021-08-20T14:36:10Z"
        status: "True"
        type: ContainersReady
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.1K bytes
    - Viewed (0)
Back to top