Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FullRune (0.2 sec)

  1. src/bufio/scan.go

    	}
    
    	// We know it's an error: we have width==1 and implicitly r==utf8.RuneError.
    	// Is the error because there wasn't a full rune to be decoded?
    	// FullRune distinguishes correctly between erroneous and incomplete encodings.
    	if !atEOF && !utf8.FullRune(data) {
    		// Incomplete; get more bytes.
    		return 0, nil, nil
    	}
    
    	// We have a real UTF-8 encoding error. Return a properly encoded error rune
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/bufio/bufio.go

    // and returns unicode.ReplacementChar (U+FFFD) with a size of 1.
    func (b *Reader) ReadRune() (r rune, size int, err error) {
    	for b.r+utf8.UTFMax > b.w && !utf8.FullRune(b.buf[b.r:b.w]) && b.err == nil && b.w-b.r < len(b.buf) {
    		b.fill() // b.w-b.r < len(buf) => buffer is not full
    	}
    	b.lastRuneSize = -1
    	if b.r == b.w {
    		return 0, 0, b.readErr()
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. api/go1.txt

    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
    pkg unicode/utf8, func RuneCount([]uint8) int
    pkg unicode/utf8, func RuneCountInString(string) int
    pkg unicode/utf8, func RuneLen(int32) int
    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