Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,571 for info2 (0.07 sec)

  1. pkg/log/default.go

    	return defaultScope.WarnEnabled()
    }
    
    // Info outputs a message at info level.
    func Info(fields any) {
    	defaultScope.Info(fields)
    }
    
    // Infof uses fmt.Sprintf to construct and log a message at info level.
    func Infof(format string, args ...any) {
    	defaultScope.Infof(format, args...)
    }
    
    // InfoEnabled returns whether output of messages using this scope is currently enabled for info-level output.
    func InfoEnabled() bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. cmd/data-usage-utils.go

    	dui.TierStats.populateStats(ts)
    
    	infos := make([]madmin.TierInfo, 0, len(ts))
    	for tier, stats := range ts {
    		infos = append(infos, madmin.TierInfo{
    			Name:  tier,
    			Type:  globalTierConfigMgr.TierType(tier),
    			Stats: stats,
    		})
    	}
    
    	sort.Slice(infos, func(i, j int) bool {
    		if infos[i].Type == "internal" {
    			return true
    		}
    		if infos[j].Type == "internal" {
    			return false
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cadvisor_stats_provider.go

    // 1. info.spec both cpu memory and network are false conditions
    // 2. info.Stats both network and cpu or memory are nil
    // 3. both zero CPU instantaneous usage zero memory RSS usage and zero network usage,
    // and false otherwise.
    func isContainerTerminated(info *cadvisorapiv2.ContainerInfo) bool {
    	if !info.Spec.HasCpu && !info.Spec.HasMemory && !info.Spec.HasNetwork {
    		return true
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/discovery/file/file.go

    					// In that case, trust the cluster admin and do not refresh the cluster-info data
    					klog.Warningf("[discovery] Could not access the %s ConfigMap for refreshing the cluster-info information, but the TLS cert is valid so proceeding...\n", bootstrapapi.ConfigMapClusterInfo)
    					return true, nil
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:55 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/memory/discovery.go

    }
    
    func (sd *ServiceDiscovery) AddWorkloadInfo(infos ...*model.WorkloadInfo) {
    	sd.mutex.Lock()
    	defer sd.mutex.Unlock()
    	for _, info := range infos {
    		sd.addresses[info.ResourceName()] = workloadToAddressInfo(info.Workload)
    	}
    }
    
    func (sd *ServiceDiscovery) RemoveWorkloadInfo(info *model.WorkloadInfo) {
    	sd.mutex.Lock()
    	defer sd.mutex.Unlock()
    	delete(sd.addresses, info.ResourceName())
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 23:10:01 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. pkg/envoy/agent.go

    					break graceful_loop
    				}
    				log.Infof("There are still %d active connections", ac)
    				// reset retry count
    				retryCount = 0
    			}
    		}
    	} else {
    		log.Infof("Graceful termination period is %v, starting...", a.terminationDrainDuration)
    		select {
    		case status := <-a.statusCh:
    			log.Infof("Envoy exited with status %v", status.err)
    			log.Infof("Graceful termination logic ended prematurely, envoy process terminated early")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. 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)
  8. pkg/proxy/servicechangetracker.go

    func (sm *ServicePortMap) merge(other ServicePortMap) {
    	for svcPortName, info := range other {
    		_, exists := (*sm)[svcPortName]
    		if !exists {
    			klog.V(4).InfoS("Adding new service port", "portName", svcPortName, "servicePort", info)
    		} else {
    			klog.V(4).InfoS("Updating existing service port", "portName", svcPortName, "servicePort", info)
    		}
    		(*sm)[svcPortName] = info
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. src/os/dir_darwin.go

    			}
    			dirents = append(dirents, de)
    		} else {
    			info, err := lstat(f.name + "/" + string(name))
    			if IsNotExist(err) {
    				// File disappeared between readdir + stat.
    				// Treat as if it didn't exist.
    				continue
    			}
    			if err != nil {
    				return nil, nil, infos, err
    			}
    			infos = append(infos, info)
    		}
    		runtime.KeepAlive(f)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/go/token/position_test.go

    		t.Run(test.name, func(t *testing.T) {
    			fs := NewFileSet()
    			f := fs.AddFile(filename, -1, filesize)
    			for _, info := range test.infos {
    				f.AddLineColumnInfo(info.Offset, info.Filename, info.Line, info.Column)
    			}
    			if !reflect.DeepEqual(f.infos, test.want) {
    				t.Errorf("\ngot %+v, \nwant %+v", f.infos, test.want)
    			}
    		})
    	}
    }
    
    func TestIssue57490(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top