golang/src/internal
Jes Cok eabf59bc47 all: make use of stringslite.{HasPrefix, HasSuffix}
Just a code cleanup.

Change-Id: Ie887ab2c71de11b4844c4e6fd4e5aca3265ac3aa
Reviewed-on: https://go-review.googlesource.com/c/go/+/583216
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
2024-05-06 14:00:54 +00:00
..
abi runtime,reflect: move zeroVal to internal/abi 2024-05-03 12:00:41 +00:00
asan internal/asan: match runtime.asan{read,write} len parameter type 2024-03-19 16:19:26 +00:00
bisect internal/bisect: use f.Function instead of f.Func.Name in stack trace 2024-05-03 17:28:43 +00:00
buildcfg internal/abi, internal/buildcfg: always enable register ABI on loong64 2024-04-15 17:38:52 +00:00
bytealg strings: intrinsify and optimize Compare 2024-04-04 23:39:07 +00:00
cfg cmd/dist,internal: add GOARM64 environment variable 2024-03-06 01:33:19 +00:00
chacha8rand all: run go fmt 2024-02-28 20:35:05 +00:00
concurrent all: fix some typos in comments 2024-04-23 16:37:32 +00:00
coverage runtime: migrate internal/atomic to internal/runtime 2024-03-25 19:53:03 +00:00
cpu all: fix typos 2024-01-30 20:09:45 +00:00
dag runtime: generate the lock ranking from a DAG description 2022-08-04 15:31:44 +00:00
diff internal/diff: add missing 'as' in comment 2023-11-08 14:13:04 +00:00
filepathlite path/filepath, internal/filepathlite: move parts of filepath to filepathlite 2024-04-26 23:07:50 +00:00
fmtsort internal/fmtsort: makeChans pin pointer 2023-10-30 21:00:16 +00:00
fuzz all: make use of builtin clear 2024-03-27 18:23:49 +00:00
goarch internal/goarch, internal/goos: update generators for syslist.go 2022-06-15 21:31:23 +00:00
godebug internal/godebugs: test for use of IncNonDefault 2024-03-09 14:19:39 +00:00
godebugs go/types: track gotypesalias non-default behavior 2024-04-18 14:10:47 +00:00
goexperiment internal/goexperiment: remove unused range experiment 2024-04-19 16:08:40 +00:00
goos all: add wasip1 definitions 2023-03-30 18:50:57 +00:00
goroot internal/goroot: in IsStandardPackage check for go source files 2024-02-08 18:16:28 +00:00
gover go/version: add new package 2023-11-06 23:20:32 +00:00
goversion internal/goversion: update Version to 1.23 2024-01-19 19:23:40 +00:00
itoa internal/itoa, os: move os.uitox to itoa.Uitox 2023-08-11 02:53:50 +00:00
lazyregexp
lazytemplate all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
msan internal/msan: add new package 2024-02-20 20:50:21 +00:00
nettrace internal/nettrace: fix comment typo 2023-10-19 11:57:14 +00:00
obscuretestdata crypto/x509: allow BoringCrypto to use 4096-bit keys 2022-11-09 14:47:58 +00:00
oserror
pkgbits all: re-run stringer 2023-04-11 20:24:07 +00:00
platform cmd/dist,internal/platform: temporarily disable race detector on openbsd/amd64 2024-05-04 07:50:22 +00:00
poll all: make use of stringslite.{HasPrefix, HasSuffix} 2024-05-06 14:00:54 +00:00
profile internal/pprof: remove unused code 2024-02-08 17:57:40 +00:00
race all: drop old +build lines 2023-10-19 23:33:27 +00:00
reflectlite internal/reflectlite: remove unused mapType 2024-04-19 21:11:15 +00:00
runtime internal/runtime/atomic: fix TestAnd64 and TestOr64 2024-04-27 20:49:32 +00:00
saferio all: rewrite internal/saferio.SliceCap using generics and add func SliceCapWithSize 2023-08-31 00:34:05 +00:00
singleflight internal/singleflight: move Done call in TestForgetUnshared 2023-03-29 22:21:50 +00:00
stringslite strings: move Clone to stringslite 2024-05-04 01:23:42 +00:00
syscall testing: use QueryPerformanceCounter on Windows 2024-04-26 22:55:25 +00:00
sysinfo internal/sysinfo: use sync.OnceValue for CPUName 2024-05-03 16:47:15 +00:00
testenv hash/maphash: parallel run test 2024-05-03 16:41:38 +00:00
testlog
testpty internal/testpty: fix error handling 2023-01-25 18:38:54 +00:00
trace runtime, cmd/trace: remove code paths that include v1 tracer 2024-04-15 16:44:47 +00:00
txtar all: replace package ioutil with os and io in src 2022-09-20 02:13:02 +00:00
types go/types, types2: use correct predicate when asserting comma-ok types 2024-04-18 17:42:47 +00:00
unsafeheader all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
weak internal/weak: remove unnecessary conversion, fix typo 2024-04-26 22:13:25 +00:00
xcoff internal/xcoff: fix typo in comment 2024-03-04 17:32:51 +00:00
zstd internal/zstd: optimize window reset using make for buffer allocation 2024-04-02 13:49:23 +00:00