Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for peekRune (0.11 sec)

  1. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    	})
    	panic(&in.parseErrors)
    }
    
    // eof reports whether the input has reached end of file.
    func (in *input) eof() bool {
    	return len(in.remaining) == 0
    }
    
    // peekRune returns the next rune in the input without consuming it.
    func (in *input) peekRune() int {
    	if len(in.remaining) == 0 {
    		return 0
    	}
    	r, _ := utf8.DecodeRune(in.remaining)
    	return int(r)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top