1
0
mirror of https://github.com/golang/go synced 2024-11-18 19:34:41 -07:00
go/src/bytes
Keith Randall ee58eccc56 internal/bytealg: move short string Index implementations into bytealg
Also move the arm64 CountByte implementation while we're here.

Fixes #19792

Change-Id: I1e0fdf1e03e3135af84150a2703b58dad1b0d57e
Reviewed-on: https://go-review.googlesource.com/98518
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-03-04 19:49:44 +00:00
..
boundary_test.go bytes: reduce work in IndexNearPageBoundary test 2017-11-04 11:09:49 +00:00
buffer_test.go bytes: panic in ReadFrom with more information with negative Read counts 2017-10-06 06:49:40 +00:00
buffer.go bytes: mention strings.Builder in Buffer.String docs 2017-11-30 01:46:50 +00:00
bytes_decl.go internal/bytealg: move compare functions to bytealg 2018-03-04 17:49:39 +00:00
bytes_test.go internal/bytealg: move Count to bytealg 2018-03-04 17:49:25 +00:00
bytes.go internal/bytealg: move short string Index implementations into bytealg 2018-03-04 19:49:44 +00:00
compare_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
example_test.go bytes, strings: restore O(1) behavior of IndexAny(s, "") and LastIndexAny(s, "") 2017-11-15 21:26:05 +00:00
export_test.go internal/bytealg: move Count to bytealg 2018-03-04 17:49:25 +00:00
reader_test.go bytes: improve test readability 2017-09-20 13:41:03 +00:00
reader.go bytes: add documentation to reader methods 2017-09-21 18:57:04 +00:00