go/src/bytes
Afanasev Stanislav 07e36af7d6 bytes: panic in ReadFrom with more information with negative Read counts
This is only to aid in human debugging, and for that reason we maintain a panic, and not return an error.

Fixes #22097

Change-Id: If72e4d1e47ec9125ca7bc97d5fe4cedb7f76ae72
Reviewed-on: https://go-review.googlesource.com/67970
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-10-06 06:49:40 +00:00
..
buffer.go bytes: panic in ReadFrom with more information with negative Read counts 2017-10-06 06:49:40 +00:00
buffer_test.go bytes: panic in ReadFrom with more information with negative Read counts 2017-10-06 06:49:40 +00:00
bytes.go bytes: correct Map documentation 2017-10-04 14:27:22 +00:00
bytes_amd64.go bytes: explicitly state if a function expects UTF-8-encoded data 2017-10-02 00:31:47 +00:00
bytes_decl.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
bytes_generic.go bytes: explicitly state if a function expects UTF-8-encoded data 2017-10-02 00:31:47 +00:00
bytes_s390x.go bytes: explicitly state if a function expects UTF-8-encoded data 2017-10-02 00:31:47 +00:00
bytes_test.go bytes: speed up Fields and FieldsFunc 2017-08-14 21:08:51 +00:00
compare_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
equal_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
example_test.go bytes: add example for Len function of Reader 2017-09-17 00:02:19 +00:00
export_test.go bytes: add optimized countByte for amd64 2017-03-21 20:25:17 +00:00
reader.go bytes: add documentation to reader methods 2017-09-21 18:57:04 +00:00
reader_test.go bytes: improve test readability 2017-09-20 13:41:03 +00:00