Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 595 for dwinfo (0.15 sec)

  1. pkg/kubelet/stats/host_stats_provider_fake.go

    }
    
    func (f *fakeHostStatsProvider) getPodEtcHostsStats(podUID types.UID, rootFsInfo *cadvisorapiv2.FsInfo) (*statsapi.FsStats, error) {
    	return nil, fmt.Errorf("not implemented")
    }
    
    func fakeMetricsProvidersToStats(metricsProviders []volume.MetricsProvider, rootFsInfo *cadvisorapiv2.FsInfo) (*statsapi.FsStats, error) {
    	result := rootFsInfoToFsStats(rootFsInfo)
    	for i, metricsProvider := range metricsProviders {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:57:17 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/os/dir_plan9.go

    	"io/fs"
    	"syscall"
    )
    
    func (file *File) readdir(n int, mode readdirMode) (names []string, dirents []DirEntry, infos []FileInfo, err error) {
    	// If this file has no dirinfo, create one.
    	d := file.dirinfo.Load()
    	if d == nil {
    		d = new(dirInfo)
    		file.dirinfo.Store(d)
    	}
    	d.mu.Lock()
    	defer d.mu.Unlock()
    
    	size := n
    	if size <= 0 {
    		size = 100
    		n = -1
    	}
    	for n != 0 {
    		// Refill the buffer if necessary.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. pkg/kubelet/winstats/winstats_test.go

    		t.Fatalf("expected error message `%s` but got `%v`", expectedErrMsg, err)
    	}
    
    	dir, err := os.MkdirTemp("", "fsinfo")
    	assert.NoError(t, err)
    	defer os.RemoveAll(dir)
    
    	fsInfo, err := c.GetDirFsInfo(dir)
    	assert.NoError(t, err)
    	assert.NotZero(t, fsInfo.Capacity)
    	assert.NotZero(t, fsInfo.Available)
    }
    
    func getClient(t *testing.T) Client {
    	f := fakeWinNodeStatsClient{}
    	c, err := newClient(f)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 12:08:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen.h

    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace cc_op {
    
    // String with single fuzzer file content.
    string WriteSingleFuzzer(const OpInfo& op_info, bool is_fuzzable);
    
    // Do we have all we need to create a fuzzer
    bool OpFuzzingIsOk(const OpInfo& op_info);
    
    }  // namespace cc_op
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 07 19:14:57 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. pkg/volume/volume_linux.go

    func walkDeep(root string, walkFunc filepath.WalkFunc) error {
    	info, err := os.Lstat(root)
    	if err != nil {
    		return walkFunc(root, nil, err)
    	}
    	return walk(root, info, walkFunc)
    }
    
    func walk(path string, info os.FileInfo, walkFunc filepath.WalkFunc) error {
    	if !info.IsDir() {
    		return walkFunc(path, info, nil)
    	}
    	names, err := readDirNames(path)
    	if err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/revision.go

    	Name     string `json:"name"`
    	Revision string `json:"revision"`
    	Tag      string `json:"tag,omitempty"`
    }
    
    // NsInfo represents namespace related information like pods running there.
    // It is used to display data and is exposed for integration tests.
    type NsInfo struct {
    	Name string             `json:"name,omitempty"`
    	Pods []*PodFilteredInfo `json:"pods,omitempty"`
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 28 13:16:05 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/cri_stats_provider_others.go

    func (p *criStatsProvider) addCRIPodContainerStats(criSandboxStat *runtimeapi.PodSandboxStats,
    	ps *statsapi.PodStats, fsIDtoInfo map[runtimeapi.FilesystemIdentifier]*cadvisorapiv2.FsInfo,
    	containerMap map[string]*runtimeapi.Container,
    	podSandbox *runtimeapi.PodSandbox,
    	rootFsInfo *cadvisorapiv2.FsInfo, updateCPUNanoCoreUsage bool) error {
    	return nil
    }
    
    func addCRIPodNetworkStats(ps *statsapi.PodStats, criPodStat *runtimeapi.PodSandboxStats) {
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 11:09:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/sym.go

    			fn(fsym, filesym)
    		}
    	}
    	for _, call := range pc.InlTree.nodes {
    		if call.Func != nil {
    			fn(fsym, call.Func)
    		}
    	}
    
    	auxsyms := []*LSym{fninfo.dwarfRangesSym, fninfo.dwarfLocSym, fninfo.dwarfDebugLinesSym, fninfo.dwarfInfoSym, fninfo.WasmImportSym, fninfo.sehUnwindInfoSym}
    	for _, s := range auxsyms {
    		if s == nil || s.Size == 0 {
    			continue
    		}
    		fn(fsym, s)
    		if flag&traverseRefs != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. pkg/kubelet/cadvisor/util.go

    func EphemeralStorageCapacityFromFsInfo(info cadvisorapi2.FsInfo) v1.ResourceList {
    	c := v1.ResourceList{
    		v1.ResourceEphemeralStorage: *resource.NewQuantity(
    			int64(info.Capacity),
    			resource.BinarySI),
    	}
    	return c
    }
    
    // UsingLegacyCadvisorStats returns true if container stats are provided by cadvisor instead of through the CRI.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 04 05:08:20 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. pkg/proxy/winkernel/proxier.go

    func (info *endpointInfo) String() string {
    	return net.JoinHostPort(info.ip, strconv.Itoa(int(info.port)))
    }
    
    // IsLocal is part of proxy.Endpoint interface.
    func (info *endpointInfo) IsLocal() bool {
    	return info.isLocal
    }
    
    // IsReady returns true if an endpoint is ready and not terminating.
    func (info *endpointInfo) IsReady() bool {
    	return info.ready
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
Back to top