Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for ShortPath (0.17 sec)

  1. src/syscall/zsyscall_windows.go

    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func GetShortPathName(longpath *uint16, shortpath *uint16, buflen uint32) (n uint32, err error) {
    	r0, _, e1 := Syscall(procGetShortPathNameW.Addr(), 3, uintptr(unsafe.Pointer(longpath)), uintptr(unsafe.Pointer(shortpath)), uintptr(buflen))
    	n = uint32(r0)
    	if n == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/shell.go

    		// prefixes, the only way to find them is to look.
    		// This doesn't always produce a relative path --
    		// /foo is shorter than ../../.., for example.
    		if reldir := base.ShortPath(dir); reldir != dir {
    			out = replacePrefix(out, dir, reldir)
    			if filepath.Separator == '\\' {
    				// Don't know why, sometimes this comes out with slashes, not backslashes.
    				wdir := strings.ReplaceAll(dir, "\\", "/")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/toolchain/select.go

    				if toolVers == "" || (!strings.HasPrefix(toolchain, "go") && !strings.Contains(toolchain, "-go")) {
    					counterErrorsInvalidToolchainInFile.Inc()
    					base.Fatalf("invalid toolchain %q in %s", toolchain, base.ShortPath(file))
    				}
    				if gover.Compare(toolVers, minVers) > 0 {
    					gotoolchain = toolchain
    					minVers = toolVers
    					gover.Startup.AutoToolchain = toolchain
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/load.go

    		dirstr := fmt.Sprintf("directory %s", base.ShortPath(absDir))
    		if dirstr == "directory ." {
    			dirstr = "current directory"
    		}
    		if inWorkspaceMode() {
    			if mr := findModuleRoot(absDir); mr != "" {
    				return "", fmt.Errorf("%s is contained in a module that is not one of the workspace modules listed in go.work. You can add the module to the workspace using:\n\tgo work use %s", dirstr, base.ShortPath(mr))
    			}
    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/syscall/syscall_windows.go

    //sys	GetLongPathName(path *uint16, buf *uint16, buflen uint32) (n uint32, err error) = kernel32.GetLongPathNameW
    //sys	GetShortPathName(longpath *uint16, shortpath *uint16, buflen uint32) (n uint32, err error) = kernel32.GetShortPathNameW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/load/pkg.go

    	var pos string
    	var isScanErr bool
    	if scanErr, ok := err.(scanner.ErrorList); ok && len(scanErr) > 0 {
    		isScanErr = true // For stack push/pop below.
    
    		scanPos := scanErr[0].Pos
    		scanPos.Filename = base.ShortPath(scanPos.Filename)
    		pos = scanPos.String()
    		err = errors.New(scanErr[0].Msg)
    	}
    
    	// Report the error on the importing package if the problem is with the import declaration
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func GetShortPathName(longpath *uint16, shortpath *uint16, buflen uint32) (n uint32, err error) {
    	r0, _, e1 := syscall.Syscall(procGetShortPathNameW.Addr(), 3, uintptr(unsafe.Pointer(longpath)), uintptr(unsafe.Pointer(shortpath)), uintptr(buflen))
    	n = uint32(r0)
    	if n == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	GetLongPathName(path *uint16, buf *uint16, buflen uint32) (n uint32, err error) = kernel32.GetLongPathNameW
    //sys	GetShortPathName(longpath *uint16, shortpath *uint16, buflen uint32) (n uint32, err error) = kernel32.GetShortPathNameW
    //sys	GetFinalPathNameByHandle(file Handle, filePath *uint16, filePathSize uint32, flags uint32) (n uint32, err error) = kernel32.GetFinalPathNameByHandleW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top