go/src/bytes
Keith Randall 446a5dcf5a bytes: add a boundary test for Count of 1 byte
This bottoms out in internal/bytealg.Count, which does a fair amount
of avx shenanigans. Make sure we're not reading out of bounds.

Change-Id: Ied0e461f536f75acc24c6797f7fc74e3f3901c10
Reviewed-on: https://go-review.googlesource.com/c/go/+/533116
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
Reviewed-by: Achille Roussel <achille.roussel@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
2023-11-30 20:05:58 +00:00
..
boundary_test.go bytes: add a boundary test for Count of 1 byte 2023-11-30 20:05:58 +00:00
buffer.go bytes,strings: add available godoc link 2023-10-13 17:10:31 +00:00
buffer_test.go std: fix various nilness findings 2023-04-20 01:07:29 +00:00
bytes.go bytes,internal/bytealg: add func bytealg.LastIndexRabinKarp 2023-11-01 19:02:57 +00:00
bytes_test.go internal/bytealg: fix alignment code in equal_riscv64.s 2023-06-29 02:34:59 +00:00
compare_test.go bytes: remove builders check from compare test 2023-07-13 23:11:42 +00:00
example_test.go bytes,strings: add example for ContainsFunc 2023-10-09 22:05:38 +00:00
export_test.go bytes, internal/bytealg: simplify Equal 2019-04-24 00:56:36 +00:00
reader.go bytes,strings: add available godoc link 2023-10-13 17:10:31 +00:00
reader_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00