Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for menor (0.03 sec)

  1. src/archive/tar/stat_unix.go

    		case "freebsd":
    			// Copied from golang.org/x/sys/unix/dev_freebsd.go.
    			major := uint32((dev >> 8) & 0xff)
    			minor := uint32(dev & 0xffff00ff)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "netbsd":
    			// Copied from golang.org/x/sys/unix/dev_netbsd.go.
    			major := uint32((dev & 0x000fff00) >> 8)
    			minor := uint32((dev & 0x000000ff) >> 0)
    			minor |= uint32((dev & 0xfff00000) >> 12)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/goversion.go

    // A lang is a language version broken into major and minor numbers.
    type lang struct {
    	major, minor int
    }
    
    // langWant is the desired language version set by the -lang flag.
    // If the -lang flag is not set, this is the zero value, meaning that
    // any language version is supported.
    var langWant lang
    
    // AllowsGoVersion reports whether local package is allowed
    // to use Go version major.minor.
    func AllowsGoVersion(major, minor int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 21:36:02 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/telemetrystats/version_unix.go

    }
    
    func majorMinor(v string) (string, string, bool) {
    	firstDot := strings.Index(v, ".")
    	if firstDot < 0 {
    		return "", "", false
    	}
    	major := v[:firstDot]
    	v = v[firstDot+len("."):]
    	endMinor := strings.IndexAny(v, ".-_")
    	if endMinor < 0 {
    		endMinor = len(v)
    	}
    	minor := v[:endMinor]
    	return major, minor, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 15:44:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/query.go

    //     current is a newer version, current will be returned (see below).
    //
    //   - the literal string "patch", denoting the latest available tagged version
    //     with the same major and minor number as current (see below).
    //
    //   - v1, denoting the latest available tagged version v1.x.x.
    //
    //   - v1.2, denoting the latest available tagged version v1.2.x.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/gover/gover.go

    // Go version.
    //
    // Examples:
    //
    //	Prev("1.2") = "1.1"
    //	Prev("1.3rc4") = "1.2"
    func Prev(x string) string {
    	v := gover.Parse(x)
    	if gover.CmpInt(v.Minor, "1") <= 0 {
    		return v.Major
    	}
    	return v.Major + "." + gover.DecInt(v.Minor)
    }
    
    // IsValid reports whether the version x is valid.
    func IsValid(x string) bool {
    	return gover.IsValid(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/instantiate.go

    		if !check.validateTArgLen(pos, orig.String(), tparams.Len(), len(targs)) {
    			return Typ[Invalid]
    		}
    		if tparams.Len() == 0 {
    			return orig // nothing to do (minor optimization)
    		}
    
    		return check.newAliasInstance(pos, orig, targs, ctxt)
    
    	case *Signature:
    		assert(expanding == nil) // function instances cannot be reached from Named types
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/import.go

    // lexically could have provided the package but did not.
    //
    // If skipModFile is true, the go.mod file for the package is not loaded. This
    // allows 'go mod tidy' to preserve a minor checksum-preservation bug
    // (https://go.dev/issue/56222) for modules with 'go' versions between 1.17 and
    // 1.20, preventing unnecessary go.sum churn and network access in those
    // modules.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  8. src/cmd/go/internal/help/helpdoc.go

    	  "go1.1" from Go version 1.1 onward, "go1.12" from Go 1.12, and so on.
    	- any additional tags given by the -tags flag (see 'go help build').
    
    There are no separate build tags for beta or minor releases.
    
    If a file's name, after stripping the extension and a possible _test suffix,
    matches any of the following patterns:
    	*_GOOS
    	*_GOARCH
    	*_GOOS_GOARCH
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/init.go

    			}
    
    			// We need the checksum for the go.mod file for pkg.mod
    			// so that we know what Go version to use to compile pkg.
    			// However, we didn't do so before Go 1.21, and the bug is relatively
    			// minor, so we maintain the previous (buggy) behavior in 'go mod tidy' to
    			// avoid introducing unnecessary churn.
    			if keepPkgGoModSums {
    				r := resolveReplacement(pkg.mod)
    				keep[modkey(r)] = true
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  10. src/cmd/go/alldocs.go

    // packages specified on the command line.
    //
    // The -u flag instructs get to update modules providing dependencies
    // of packages named on the command line to use newer minor or patch
    // releases when available.
    //
    // The -u=patch flag (not -u patch) also instructs get to update dependencies,
    // but changes the default to select patch releases.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top