Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for pathVersion (0.17 sec)

  1. src/cmd/go/internal/toolchain/path_none.go

    import "io/fs"
    
    // pathDirs returns the directories in the system search path.
    func pathDirs() []string {
    	return nil
    }
    
    // pathVersion returns the Go version implemented by the file
    // described by de and info in directory dir.
    // The analysis only uses the name itself; it does not run the program.
    func pathVersion(dir string, de fs.DirEntry, info fs.FileInfo) (string, bool) {
    	return "", false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 15:15:19 UTC 2023
    - 620 bytes
    - Viewed (0)
  2. src/cmd/go/internal/toolchain/path_windows.go

    func pathDirs() []string {
    	return filepath.SplitList(os.Getenv("PATH"))
    }
    
    // pathVersion returns the Go version implemented by the file
    // described by de and info in directory dir.
    // The analysis only uses the name itself; it does not run the program.
    func pathVersion(dir string, de fs.DirEntry, info fs.FileInfo) (string, bool) {
    	pathExts.once.Do(initPathExts)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 15:15:19 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/toolchain/path_plan9.go

    func pathDirs() []string {
    	return filepath.SplitList(os.Getenv("path"))
    }
    
    // pathVersion returns the Go version implemented by the file
    // described by de and info in directory dir.
    // The analysis only uses the name itself; it does not run the program.
    func pathVersion(dir string, de fs.DirEntry, info fs.FileInfo) (string, bool) {
    	v := gover.FromToolchain(de.Name())
    	if v == "" || info.Mode()&0111 == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 15:15:19 UTC 2023
    - 764 bytes
    - Viewed (0)
  4. src/cmd/go/internal/toolchain/path_unix.go

    func pathDirs() []string {
    	return filepath.SplitList(os.Getenv("PATH"))
    }
    
    // pathVersion returns the Go version implemented by the file
    // described by de and info in directory dir.
    // The analysis only uses the name itself; it does not run the program.
    func pathVersion(dir string, de fs.DirEntry, info fs.FileInfo) (string, bool) {
    	v := gover.FromToolchain(de.Name())
    	if v == "" {
    		return "", false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 15:15:19 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/toolchain/switch.go

    		}
    		for _, de := range entries {
    			if de.IsDir() || !strings.HasPrefix(de.Name(), "go1.") {
    				continue
    			}
    			info, err := de.Info()
    			if err != nil {
    				continue
    			}
    			v, ok := pathVersion(dir, de, info)
    			if !ok || !strings.HasPrefix(v, "1.") || have[v] {
    				continue
    			}
    			have[v] = true
    			list = append(list, v)
    		}
    	}
    	sort.Slice(list, func(i, j int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. operator/pkg/version/version.go

    }
    
    // NewPatchVersion creates an initialized PatchVersion struct.
    func NewPatchVersion(major, minor, patch uint32) PatchVersion {
    	return PatchVersion{
    		MinorVersion: NewMinorVersion(major, minor),
    		Patch:        patch,
    	}
    }
    
    // NewVersion creates an initialized Version struct.
    func NewVersion(major, minor, patch uint32, suffix string) Version {
    	return Version{
    		PatchVersion: NewPatchVersion(major, minor, patch),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:26 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. buildSrc/src/main/kotlin/AlpnVersions.kt

     * limitations under the License.
     */
    
    // https://www.eclipse.org/jetty/documentation/current/alpn-chapter.html#alpn-versions
    private fun alpnBootVersionForPatchVersion(patchVersion: Int): String? {
      return when (patchVersion) {
        in 0..24 -> "8.1.0.v20141016"
        in 25..30 -> "8.1.2.v20141202"
        in 31..50 -> "8.1.3.v20150130"
        in 51..59 -> "8.1.4.v20150727"
        in 60..64 -> "8.1.5.v20150921"
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/upgrade/compute.go

    			// If the cluster version is lower than the newest patch version, we should inform about the possible upgrade
    			if patchUpgradePossible(clusterVersion, patchVersion) {
    
    				// The kubeadm version has to be upgraded to the latest patch version
    				newKubeadmVer := patchVersionStr
    				if kubeadmVersion.AtLeast(patchVersion) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/structuredmerge.go

    	// Check that the patch object has the same version as the live object
    	if patchVersion := patchObj.GetObjectKind().GroupVersionKind().GroupVersion(); patchVersion != f.groupVersion {
    		return nil, nil,
    			errors.NewBadRequest(
    				fmt.Sprintf("Incorrect version specified in apply patch. "+
    					"Specified patch version: %s, expected: %s",
    					patchVersion, f.groupVersion))
    	}
    
    	patchObjMeta, err := meta.Accessor(patchObj)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:55:50 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top