Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for dwinfo (0.14 sec)

  1. src/io/fs/readdir.go

    	})
    	return list, err
    }
    
    // dirInfo is a DirEntry based on a FileInfo.
    type dirInfo struct {
    	fileInfo FileInfo
    }
    
    func (di dirInfo) IsDir() bool {
    	return di.fileInfo.IsDir()
    }
    
    func (di dirInfo) Type() FileMode {
    	return di.fileInfo.Mode().Type()
    }
    
    func (di dirInfo) Info() (FileInfo, error) {
    	return di.fileInfo, nil
    }
    
    func (di dirInfo) Name() string {
    	return di.fileInfo.Name()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/os/dir_darwin.go

    type dirInfo struct {
    	dir uintptr // Pointer to DIR structure from dirent.h
    }
    
    func (d *dirInfo) close() {
    	if d.dir == 0 {
    		return
    	}
    	closedir(d.dir)
    	d.dir = 0
    }
    
    func (f *File) readdir(n int, mode readdirMode) (names []string, dirents []DirEntry, infos []FileInfo, err error) {
    	// If this file has no dirinfo, create one.
    	var d *dirInfo
    	for {
    		d = f.dirinfo.Load()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/host_stats_provider.go

    	getPodLogStats(podNamespace, podName string, podUID types.UID, rootFsInfo *cadvisorapiv2.FsInfo) (*statsapi.FsStats, error)
    	// getPodContainerLogStats gets stats associated with container log usage
    	getPodContainerLogStats(podNamespace, podName string, podUID types.UID, containerName string, rootFsInfo *cadvisorapiv2.FsInfo) (*statsapi.FsStats, error)
    	// getPodEtcHostsStats gets stats associated with pod etc-hosts 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)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/DaemonHealthStats.java

        }
    
        @VisibleForTesting
        DaemonHealthStats(DaemonRunningStats runningStats, GarbageCollectionInfo gcInfo, GarbageCollectionMonitor gcMonitor) {
            this.runningStats = runningStats;
            this.scheduler = null;
            this.gcInfo = gcInfo;
            this.gcMonitor = gcMonitor;
        }
    
        @VisibleForTesting
        public GarbageCollectionMonitor getGcMonitor() {
            return gcMonitor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/os/dir_windows.go

    			if d.class == windows.FileIdBothDirectoryInfo {
    				info := (*windows.FILE_ID_BOTH_DIR_INFO)(entry)
    				nextEntryOffset = info.NextEntryOffset
    				nameslice = unsafe.Slice(&info.FileName[0], info.FileNameLength/2)
    			} else {
    				info := (*windows.FILE_FULL_DIR_INFO)(entry)
    				nextEntryOffset = info.NextEntryOffset
    				nameslice = unsafe.Slice(&info.FileName[0], info.FileNameLength/2)
    			}
    			d.bufp += int(nextEntryOffset)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/os/dir_unix.go

    		return &buf
    	},
    }
    
    func (d *dirInfo) close() {
    	if d.buf != nil {
    		dirBufPool.Put(d.buf)
    		d.buf = nil
    	}
    }
    
    func (f *File) readdir(n int, mode readdirMode) (names []string, dirents []DirEntry, infos []FileInfo, err error) {
    	// If this file has no dirInfo, create one.
    	d := f.dirinfo.Load()
    	if d == nil {
    		d = new(dirInfo)
    		f.dirinfo.Store(d)
    	}
    	d.mu.Lock()
    	defer d.mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:11:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. pkg/kubelet/cadvisor/testing/cadvisor_mock.go

    func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder {
    	return m.recorder
    }
    
    // ContainerFsInfo mocks base method.
    func (m *MockInterface) ContainerFsInfo() (v2.FsInfo, error) {
    	m.ctrl.T.Helper()
    	ret := m.ctrl.Call(m, "ContainerFsInfo")
    	ret0, _ := ret[0].(v2.FsInfo)
    	ret1, _ := ret[1].(error)
    	return ret0, ret1
    }
    
    // ContainerFsInfo indicates an expected call of ContainerFsInfo.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. pkg/kubelet/runonce_test.go

    	cadvisor.EXPECT().MachineInfo().Return(&cadvisorapi.MachineInfo{}, nil).AnyTimes()
    	cadvisor.EXPECT().ImagesFsInfo().Return(cadvisorapiv2.FsInfo{
    		Usage:     400,
    		Capacity:  1000,
    		Available: 600,
    	}, nil).AnyTimes()
    	cadvisor.EXPECT().RootFsInfo().Return(cadvisorapiv2.FsInfo{
    		Usage:    9,
    		Capacity: 10,
    	}, nil).AnyTimes()
    	fakeSecretManager := secret.NewFakeManager()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 06:59:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top