Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,357 for info2 (0.06 sec)

  1. src/testing/fstest/testfs.go

    func formatInfoEntry(info fs.FileInfo) string {
    	return fmt.Sprintf("%s IsDir=%v Type=%v", info.Name(), info.IsDir(), info.Mode().Type())
    }
    
    // formatInfo formats an fs.FileInfo into a string for error messages and comparison.
    func formatInfo(info fs.FileInfo) string {
    	return fmt.Sprintf("%s IsDir=%v Mode=%v Size=%d ModTime=%v", info.Name(), info.IsDir(), info.Mode(), info.Size(), info.ModTime())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/cfg/cfg.go

    }
    
    // isSameDir reports whether dir1 and dir2 are the same directory.
    func isSameDir(dir1, dir2 string) bool {
    	if dir1 == dir2 {
    		return true
    	}
    	info1, err1 := os.Stat(dir1)
    	info2, err2 := os.Stat(dir2)
    	return err1 == nil && err2 == nil && os.SameFile(info1, info2)
    }
    
    // isGOROOT reports whether path looks like a GOROOT.
    //
    // It does this by looking for the path/pkg/tool directory,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/init.go

    	list, _ := os.ReadDir(dir)
    	for _, info := range list {
    		if info.Type().IsRegular() && strings.HasSuffix(info.Name(), ".go") {
    			if com := findImportComment(filepath.Join(dir, info.Name())); com != "" {
    				return com, nil
    			}
    		}
    	}
    	for _, info1 := range list {
    		if info1.IsDir() {
    			files, _ := os.ReadDir(filepath.Join(dir, info1.Name()))
    			for _, info2 := range files {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

          // map.
          InfoT info(region, *this);
          info_map_.insert({&region, std::move(info)});
        }
    
        return GetAnalysisForRegion(region);
      }
    
      // Returns the backtrack analysis for the given region if it exists.
      // If the region has not yet been analyzed, returns std::nullopt.
      std::optional<const InfoT*> GetAnalysisIfExists(Region& region) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                infos.put(key, info);
            } else if (info.isOutdated(timestamp)) {
                info.version = version;
                info.repository = repository;
                info.timestamp = timestamp;
            }
        }
    
        private void merge(Map<String, VersionInfo> infos, String srcKey, String dstKey) {
            VersionInfo srcInfo = infos.get(srcKey);
            VersionInfo dstInfo = infos.get(dstKey);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

                infos.put(key, info);
            } else if (info.isOutdated(timestamp)) {
                info.version = version;
                info.repository = repository;
                info.timestamp = timestamp;
            }
        }
    
        private void merge(Map<String, VersionInfo> infos, String srcKey, String dstKey) {
            VersionInfo srcInfo = infos.get(srcKey);
            VersionInfo dstInfo = infos.get(dstKey);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  7. pkg/proxy/winkernel/proxier.go

    	if port.TargetPort.Type == intstr.Int {
    		targetPort = port.TargetPort.IntValue()
    	}
    
    	info.preserveDIP = preserveDIP
    	info.targetPort = targetPort
    	info.hns = proxier.hns
    	info.localTrafficDSR = localTrafficDSR
    	info.internalTrafficLocal = internalTrafficLocal
    	info.winProxyOptimization = winProxyOptimization
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  8. cmd/erasure.go

    				return nil
    			}
    			info, err := disks[index].DiskInfo(context.TODO(), DiskInfoOptions{Metrics: metrics})
    			di.DrivePath = info.MountPath
    			di.TotalSpace = info.Total
    			di.UsedSpace = info.Used
    			di.AvailableSpace = info.Free
    			di.UUID = info.ID
    			di.Major = info.Major
    			di.Minor = info.Minor
    			di.RootDisk = info.RootDisk
    			di.Healing = info.Healing
    			di.Scanning = info.Scanning
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    	}
    	for _, name := range nostatsOverrides {
    		info, found := infos[name]
    		if !found {
    			t.Errorf("No container defined with name %v", name)
    		}
    		info.Spec.Memory = cadvisorapiv2.MemorySpec{}
    		info.Spec.Cpu = cadvisorapiv2.CpuSpec{}
    		info.Spec.HasMemory = false
    		info.Spec.HasCpu = false
    		info.Spec.HasNetwork = false
    		infos[name] = info
    	}
    
    	options := cadvisorapiv2.RequestOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  10. 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)
Back to top