golang/src/strings
qiulaidongfeng ae6af9b3d8 strings: move Clone to stringslite
Follow-up CL help package like unique use Clone.

Change-Id: Ie64adf7e1a331f47c3cfe178c368d72fc72493ff
GitHub-Last-Rev: 499476cc4acdf58ecf0fec9f7281bfb90edc7c82
GitHub-Pull-Request: golang/go#67106
Reviewed-on: https://go-review.googlesource.com/c/go/+/581956
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
2024-05-04 01:23:42 +00:00
..
builder.go internal/abi: define EmptyInterface, TypeOf, and NoEscape 2024-04-17 21:09:59 +00:00
builder_test.go strings: make use of sizeclasses in (*Builder).Grow 2024-02-19 19:51:15 +00:00
clone.go strings: move Clone to stringslite 2024-05-04 01:23:42 +00:00
clone_test.go strings: remove redundant symbols 2023-01-17 17:24:17 +00:00
compare.go strings: intrinsify and optimize Compare 2024-04-04 23:39:07 +00:00
compare_test.go strings: simplify code using unsafe.StringData 2022-09-07 01:33:55 +00:00
example_test.go bytes,strings: add example for ContainsFunc 2023-10-09 22:05:38 +00:00
export_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +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
replace.go bytes,strings: add available godoc link 2023-10-13 17:10:31 +00:00
replace_test.go strings: speed up Map 2017-02-24 22:53:05 +00:00
search.go strings: use the builtin max function 2023-08-07 18:49:51 +00:00
search_test.go all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
strings.go strings: move TrimPrefix and TrimSuffix to stringslite 2024-05-03 16:48:16 +00:00
strings_test.go strings,bytes: improve Repeat panic messages 2024-05-03 12:58:37 +00:00