Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for FileVersion (0.23 sec)

  1. src/go/types/check.go

    		// unlike file versions which are Go language versions only, if valid.)
    		v := check.conf.GoVersion
    
    		fileVersion := asGoVersion(file.GoVersion)
    		if fileVersion.isValid() {
    			// use the file version, if applicable
    			// (file versions are either the empty string or of the form go1.dd)
    			if pkgVersionOk {
    				cmp := fileVersion.cmp(check.version)
    				// Go 1.21 introduced the feature of setting the go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/check.go

    		// unlike file versions which are Go language versions only, if valid.)
    		v := check.conf.GoVersion
    
    		fileVersion := asGoVersion(file.GoVersion)
    		if fileVersion.isValid() {
    			// use the file version, if applicable
    			// (file versions are either the empty string or of the form go1.dd)
    			if pkgVersionOk {
    				cmp := fileVersion.cmp(check.version)
    				// Go 1.21 introduced the feature of setting the go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    	if !bytes.HasPrefix(m.mapping.Data, hdr) {
    		return nil, fmt.Errorf("counter: header mismatch")
    	}
    	m.hdrLen = uint32(len(hdr))
    
    	return m, nil
    }
    
    const (
    	FileVersion = "v1"
    	hdrPrefix   = "# telemetry/counter file " + FileVersion + "\n"
    	recordUnit  = 32
    	maxMetaLen  = 512
    	numHash     = 512 // 2kB for hash table
    	maxNameLen  = 4 * 1024
    	limitOff    = 0
    	hashOff     = 4
    	pageSize    = 16 * 1024
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/loopclosure.go

    					vars = append(vars, obj)
    				}
    			}
    		}
    		var body *ast.BlockStmt
    		switch n := n.(type) {
    		case *ast.File:
    			// Only traverse the file if its goversion is strictly before go1.22.
    			goversion := versions.FileVersion(pass.TypesInfo, n)
    			return versions.Before(goversion, versions.Go1_22)
    		case *ast.RangeStmt:
    			body = n.Body
    			addVar(n.Key)
    			addVar(n.Value)
    		case *ast.ForStmt:
    			body = n.Body
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top