Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 606 for inf2 (0.06 sec)

  1. src/go/build/read.go

    // It records what it learned in *info.
    // If info.fset is non-nil, readGoInfo parses the file and sets info.parsed, info.parseErr,
    // info.imports and info.embeds.
    //
    // It only returns an error if there are problems reading the file,
    // not for syntax errors in the file itself.
    func readGoInfo(f io.Reader, info *fileInfo) error {
    	r := newImportReader(info.name, f)
    
    	r.readKeyword("package")
    	r.readIdent()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    	poolStats := r.PoolStats[poolIdx]
    	if poolStats.Info.Status == rebalCompleted {
    		return true
    	}
    
    	pfi := float64(poolStats.InitFreeSpace+poolStats.Bytes) / float64(poolStats.InitCapacity)
    	// Mark pool rebalance as done if within 5% from PercentFreeGoal.
    	if diff := math.Abs(pfi - r.PercentFreeGoal); diff <= 0.05 {
    		r.PoolStats[poolIdx].Info.Status = rebalCompleted
    		r.PoolStats[poolIdx].Info.EndTime = time.Now()
    		return true
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  3. src/go/types/api.go

    }
    
    func (info *Info) recordTypes() bool {
    	return info.Types != nil
    }
    
    // TypeOf returns the type of expression e, or nil if not found.
    // Precondition: the Types, Uses and Defs maps are populated.
    func (info *Info) TypeOf(e ast.Expr) Type {
    	if t, ok := info.Types[e]; ok {
    		return t.Type
    	}
    	if id, _ := e.(*ast.Ident); id != nil {
    		if obj := info.ObjectOf(id); obj != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/api.go

    }
    
    func (info *Info) recordTypes() bool {
    	return info.Types != nil || info.StoreTypesInSyntax
    }
    
    // TypeOf returns the type of expression e, or nil if not found.
    // Precondition 1: the Types map is populated or StoreTypesInSyntax is set.
    // Precondition 2: Uses and Defs maps are populated.
    func (info *Info) TypeOf(e syntax.Expr) Type {
    	if info.Types != nil {
    		if t, ok := info.Types[e]; ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. src/cmd/gofmt/gofmt.go

    	//
    	// If the size is unknown (or bogus, or overflows an int), fall back to
    	// a size-independent ReadAll.
    	size := -1
    	if info != nil && info.Mode().IsRegular() && int64(int(info.Size())) == info.Size() {
    		size = int(info.Size())
    	}
    	if size+1 <= 0 {
    		// The file is not known to be regular, so we don't have a reliable size for it.
    		var err error
    		src, err := io.ReadAll(in)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/slf4j/BuildOperationAwareLogger.java

        }
    
        @Override
        public void info(String message) {
            if (isInfoEnabled()) {
                log(LogLevel.INFO, null, message);
            }
        }
    
        @Override
        public void info(String format, Object arg) {
            if (isInfoEnabled()) {
                log(LogLevel.INFO, null, format, arg);
            }
        }
    
        @Override
        public void info(String format, Object arg1, Object arg2) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/go/types/issues_test.go

    import (
    	_ "go/importer"
    	"go/types"
    )
    
    func main() {
    	var info types.Info
    	for _, obj := range info.Uses {
    		_ = obj.Pkg()
    	}
    }
    `
    	f := func(test, src string) {
    		info := &Info{Uses: make(map[*ast.Ident]Object)}
    		mustTypecheck(src, nil, info)
    
    		var pkg *Package
    		count := 0
    		for id, obj := range info.Uses {
    			if id.Name == "Pkg" {
    				pkg = obj.Pkg()
    				count++
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/slf4j/DefaultContextAwareTaskLogger.java

        }
    
        @Override
        public void info(String message) {
            if (isInfoEnabled()) {
                log(LogLevel.INFO, null, message);
            }
        }
    
        @Override
        public void info(String format, Object arg) {
            if (isInfoEnabled()) {
                log(LogLevel.INFO, null, format, arg);
            }
        }
    
        @Override
        public void info(String format, Object arg1, Object arg2) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/pv_controller_base.go

    	logger.V(4).Info("Resyncing PV controller")
    
    	pvcs, err := ctrl.claimLister.List(labels.NewSelector())
    	if err != nil {
    		logger.Info("Cannot list claims", "err", err)
    		return
    	}
    	for _, pvc := range pvcs {
    		ctrl.enqueueWork(ctx, ctrl.claimQueue, pvc)
    	}
    
    	pvs, err := ctrl.volumeLister.List(labels.NewSelector())
    	if err != nil {
    		logger.Info("Cannot list persistent volumes", "err", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  10. cmd/ftp-server-driver.go

    		if err != nil {
    			return err
    		}
    
    		for _, bucket := range buckets {
    			info := minioFileInfo{
    				p:     pathClean(bucket.Name),
    				info:  minio.ObjectInfo{Key: retainSlash(bucket.Name), LastModified: bucket.CreationDate},
    				isDir: true,
    			}
    			if err := callback(&info); err != nil {
    				return err
    			}
    		}
    
    		return nil
    	}
    
    	prefix = retainSlash(prefix)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top