Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ShortPath (0.19 sec)

  1. 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)
  2. 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)
Back to top