Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 510 for dwinfo (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/compile/internal/ssa/regalloc.go

    			}
    		}
    
    		// Allocate space to record the desired registers for each value.
    		if l := len(oldSched); cap(dinfo) < l {
    			dinfo = make([]dentry, l)
    		} else {
    			dinfo = dinfo[:l]
    			for i := range dinfo {
    				dinfo[i] = dentry{}
    			}
    		}
    
    		// Load static desired register info at the end of the block.
    		desired.copy(&s.desired[b.ID])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/os/file_plan9.go

    // can overwrite this data, which could cause the finalizer
    // to close the wrong file descriptor.
    type file struct {
    	fdmu       poll.FDMutex
    	fd         int
    	name       string
    	dirinfo    atomic.Pointer[dirInfo] // nil unless directory being read
    	appendMode bool                    // whether file is opened for appending
    }
    
    // Fd returns the integer Plan 9 file descriptor referencing the open file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/helper.go

    // from the container and filesystem info.
    func cadvisorInfoToContainerStats(name string, info *cadvisorapiv2.ContainerInfo, rootFs, imageFs *cadvisorapiv2.FsInfo) *statsapi.ContainerStats {
    	result := &statsapi.ContainerStats{
    		StartTime: metav1.NewTime(info.Spec.CreationTime),
    		Name:      name,
    	}
    	cstat, found := latestContainerStats(info)
    	if !found {
    		return result
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 23:40:02 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/cri_stats_provider_linux.go

    	"time"
    
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    )
    
    func (p *criStatsProvider) addCRIPodContainerStats(criSandboxStat *runtimeapi.PodSandboxStats,
    	ps *statsapi.PodStats, fsIDtoInfo map[runtimeapi.FilesystemIdentifier]*cadvisorapiv2.FsInfo,
    	containerMap map[string]*runtimeapi.Container,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 11:09:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. istioctl/pkg/multixds/gather.go

    }
    
    // CpInfo returns the Istio control plane info from JSON-encoded XDS ControlPlane Identifier
    func CpInfo(xdsResponse *discovery.DiscoveryResponse) pilotxds.IstioControlPlaneInstance {
    	if xdsResponse.ControlPlane == nil {
    		return pilotxds.IstioControlPlaneInstance{
    			Component: "MISSING",
    			ID:        "MISSING",
    			Info: istioversion.BuildInfo{
    				Version: "MISSING CP ID",
    			},
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top