go/src/bufio
Ryoichi KATO 50ec831749 bufio: Use maxConsecutiveEmptyReads instead of 100
Use maxConsecutiveEmptyReads const instead of hardcoded
100 in scan.go too.

Change-Id: I993f353a3748f0d6bdefab38bf5cb224eea8a969
Reviewed-on: https://go-review.googlesource.com/46915
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-11-14 05:21:00 +00:00
..
bufio.go bufio: add Reader.Size and Writer.Size accessors 2017-11-02 17:17:44 +00:00
bufio_test.go bufio: add Reader.Size and Writer.Size accessors 2017-11-02 17:17:44 +00:00
example_test.go bufio: fix scanning with a final empty token. 2015-09-25 21:46:13 +00:00
export_test.go bufio: add Reader.Size and Writer.Size accessors 2017-11-02 17:17:44 +00:00
scan.go bufio: Use maxConsecutiveEmptyReads instead of 100 2017-11-14 05:21:00 +00:00
scan_test.go all: remove redundant returns 2017-04-19 20:03:51 +00:00