Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DecodeRuneInString (0.08 sec)

  1. src/archive/zip/writer.go

    // must be considered UTF-8 encoding (i.e., not compatible with CP-437, ASCII,
    // or any other common encoding).
    func detectUTF8(s string) (valid, require bool) {
    	for i := 0; i < len(s); {
    		r, size := utf8.DecodeRuneInString(s[i:])
    		i += size
    		// Officially, ZIP uses CP-437, but many readers use the system's
    		// local character encoding. Most encoding are compatible with a large
    		// subset of CP-437, which itself is ASCII-like.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    	case scanner.Int:
    		return p.atoi(tok.String())
    	case scanner.Char:
    		str, err := strconv.Unquote(tok.String())
    		if err != nil {
    			p.errorf("%s", err)
    		}
    		r, w := utf8.DecodeRuneInString(str)
    		if w == 1 && r == utf8.RuneError {
    			p.errorf("illegal UTF-8 encoding for character constant")
    		}
    		return uint64(r)
    	case '+':
    		return +p.factor()
    	case '-':
    		return -p.factor()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg unicode/utf8, func DecodeLastRune([]uint8) (int32, int)
    pkg unicode/utf8, func DecodeLastRuneInString(string) (int32, int)
    pkg unicode/utf8, func DecodeRune([]uint8) (int32, int)
    pkg unicode/utf8, func DecodeRuneInString(string) (int32, int)
    pkg unicode/utf8, func EncodeRune([]uint8, int32) int
    pkg unicode/utf8, func FullRune([]uint8) bool
    pkg unicode/utf8, func FullRuneInString(string) bool
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top