1
0
mirror of https://github.com/golang/go synced 2024-11-22 06:14:39 -07:00
go/api/next
Jes Cok ef4f2a0597 unicode/utf16: add func RuneLen
This CL adds func RuneLen, while here, also uses RuneLen to simplify
code in Encode.

Fixes #44940

Change-Id: Ifd3b537f69880dfd32a69a6733d8d3c2b5d4ecba
Reviewed-on: https://go-review.googlesource.com/c/go/+/569755
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2024-03-07 19:08:48 +00:00
..
42888.txt runtime/debug: SetCrashOutput sets the FD for fatal panics 2024-01-31 16:50:42 +00:00
44940.txt unicode/utf16: add func RuneLen 2024-03-07 19:08:48 +00:00
57151.txt path/filepath: add Localize 2024-02-26 18:08:14 +00:00
60427.txt reflect: add Overflow methods to Type 2024-02-28 14:08:38 +00:00
61696.txt sync: add Map.Clear 2024-02-01 15:34:22 +00:00
62254.txt net: add KeepAliveConfig and implement SetKeepAliveConfig 2024-02-20 06:04:31 +00:00
62484.txt os: implement CopyFS 2024-02-23 00:19:54 +00:00