Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for errorprone (0.16 sec)

  1. src/bufio/scan.go

    func ScanBytes(data []byte, atEOF bool) (advance int, token []byte, err error) {
    	if atEOF && len(data) == 0 {
    		return 0, nil, nil
    	}
    	return 1, data[0:1], nil
    }
    
    var errorRune = []byte(string(utf8.RuneError))
    
    // ScanRunes is a split function for a [Scanner] that returns each
    // UTF-8-encoded rune as a token. The sequence of runes returned is
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
Back to top