Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for versions (1.21 sec)

  1. src/cmd/go/internal/modload/init.go

    )
    
    type MainModuleSet struct {
    	// versions are the module.Version values of each of the main modules.
    	// For each of them, the Path fields are ordinary module paths and the Version
    	// fields are empty strings.
    	// versions is clipped (len=cap).
    	versions []module.Version
    
    	// modRoot maps each module in versions to its absolute filesystem path.
    	modRoot map[module.Version]string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/buildlist.go

    // and may rely on it not to be modified.
    func (mg *ModuleGraph) RequiredBy(m module.Version) (reqs []module.Version, ok bool) {
    	return mg.g.RequiredBy(m)
    }
    
    // Selected returns the selected version of the module with the given path.
    //
    // If no version is selected, Selected returns version "none".
    func (mg *ModuleGraph) Selected(path string) (version string) {
    	return mg.g.Selected(path)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/workcmd/edit.go

    			return path, version, fmt.Errorf("invalid %s path: %v", adj, err)
    		}
    	}
    	if path != arg && !allowedVersionArg(version) {
    		return path, version, fmt.Errorf("invalid %s version: %q", adj, version)
    	}
    	return path, version, nil
    }
    
    // flagEditworkReplace implements the -replace flag.
    func flagEditworkReplace(arg string) {
    	before, after, found := strings.Cut(arg, "=")
    	if !found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/load.go

    				// versions older than what is listed in the go.mod file.
    				compatVersion = goVersion
    			}
    		}
    		if gover.Compare(compatVersion, goVersion) > 0 {
    			// Each version of the Go toolchain knows how to interpret go.mod and
    			// go.sum files produced by all previous versions, so a compatibility
    			// version higher than the go.mod version adds nothing.
    			compatVersion = goVersion
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modget/get.go

    				}
    				if len(packages) == 0 {
    					// curM at its original version contains a path matching q.pattern,
    					// but at rev.Version it does not, so (somewhat paradoxically) if
    					// we changed the version of curM it would no longer match the query.
    					var version any = m
    					if rev.Version != q.version {
    						version = fmt.Sprintf("%s@%s (%s)", m.Path, q.version, m.Version)
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  6. src/cmd/go/alldocs.go

    //
    // The -dropreplace=old[@v] flag drops a replacement of the given
    // module path and version pair. If the @v is omitted, a replacement without
    // a version on the left side is dropped.
    //
    // The -retract=version and -dropretract=version flags add and drop a
    // retraction on the given version. The version may be a single version
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/version.go

    )
    
    // allowVersion reports whether the current package at the given position
    // is allowed to use version v. If the position is unknown, the specified
    // module version (Config.GoVersion) is used. If that version is invalid,
    // allowVersion returns true.
    func (check *Checker) allowVersion(at poser, v goVersion) bool {
    	fileVersion := check.conf.GoVersion
    	if pos := at.Pos(); pos.IsKnown() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func convT(typ *byte, elem *any) unsafe.Pointer
    
    // Same as convT, for types with no pointers in them.
    func convTnoptr(typ *byte, elem *any) unsafe.Pointer
    
    // Specialized versions of convT for specific types.
    // These functions take concrete types in the runtime. But they may
    // be used for a wider range of types, which have the same memory
    // layout as the parameter type. The compiler converts the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/fetch.go

    // data is the go.mod content.
    func checkGoMod(path, version string, data []byte) error {
    	h, err := goModSum(data)
    	if err != nil {
    		return &module.ModuleError{Path: path, Version: version, Err: fmt.Errorf("verifying go.mod: %v", err)}
    	}
    
    	return checkModSum(module.Version{Path: path, Version: version + "/go.mod"}, h)
    }
    
    // checkModSum checks that the recorded checksum for mod is h.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. src/cmd/cgo/doc.go

    means that if a header file foo/bar.h exists both in the source
    directory and also in the system include directory (or some other place
    specified by a -I flag), then "#include <foo/bar.h>" will always find the
    local version in preference to any other version.
    
    The cgo tool is enabled by default for native builds on systems where
    it is expected to work. It is disabled by default when cross-compiling
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top