go/src/internal
bill_ofarrell a5f8128e39 bytes, strings: fix comparison of long byte slices on s390x
The existing implementation of bytes.Compare on s390x doesn't work properly for slices longer
than 256 elements. This change fixes that. Added tests for long strings and slices of bytes.

Fixes #26114

Change-Id: If6d8b68ee6dbcf99a24f867a1d3438b1f208954f
Reviewed-on: https://go-review.googlesource.com/121495
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-06-29 20:48:07 +00:00
..
bytealg bytes, strings: fix comparison of long byte slices on s390x 2018-06-29 20:48:07 +00:00
cpu crypto, internal/cpu: fix s390x AES feature detection and update SHA implementations 2018-06-11 11:41:31 +00:00
nettrace
poll syscall, internal/poll: fix build on js/wasm 2018-06-22 17:58:16 +00:00
race
singleflight net: don't let cancelation of a DNS lookup affect another lookup 2018-03-16 13:39:38 +00:00
syscall internal/syscall/unix: add build constraint to nonblocking_js.go 2018-06-28 03:12:01 +00:00
testenv all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
testlog cmd/go: invalidate cached test results if env vars or files change 2017-12-11 19:08:32 +00:00
trace Revert "internal/trace: change Less to make sorting events deterministice" 2018-05-24 18:03:21 +00:00