Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isIdentASCII (0.19 sec)

  1. src/cmd/vendor/golang.org/x/build/relnote/links.go

    		if c := s[n]; c < utf8.RuneSelf {
    			if isIdentASCII(c) && (n > 0 || c < '0' || c > '9') {
    				n++
    				continue
    			}
    			break
    		}
    		r, nr := utf8.DecodeRuneInString(s[n:])
    		if unicode.IsLetter(r) {
    			n += nr
    			continue
    		}
    		break
    	}
    	return s[:n], n > 0
    }
    
    // isIdentASCII reports whether c is an ASCII identifier byte.
    func isIdentASCII(c byte) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top