go/src
Stepan Shabalin 30c0a0d33f runtime: remove redundant slicing
In the twoNonZero function in hash_test, the buffer is sliced as [:] three times. This change deletes them.

Change-Id: I0701d0c810b4f3e267f80133a0dcdb4ed81fe356
Reviewed-on: https://go-review.googlesource.com/c/156138
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-01-03 18:23:07 +00:00
..
archive syscall: revert to pre-FreeBSD 10 / POSIX-2008 timespec field names in Stat_t on FreeBSD 2018-12-30 19:36:52 +00:00
bufio bufio: make Reader.Peek invalidate Unreads 2018-11-13 15:08:13 +00:00
builtin
bytes bytes: add ReplaceAll example 2018-12-13 19:40:13 +00:00
cmd cmd/go: respect gcflags, ldflags in 'go test' 2019-01-03 17:20:41 +00:00
compress compress/flate: fix the old url for the flate algorithm 2018-12-20 18:15:50 +00:00
container container/heap: adjust wording in comments 2018-11-13 13:42:59 +00:00
context
crypto crypto/x509: limit number of signature checks for each verification 2018-12-14 01:04:07 +00:00
database/sql all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
debug all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
encoding encoding/gob: mention that Encoder and Decoder are safe for concurrent use 2018-12-28 22:14:11 +00:00
errors
expvar
flag
fmt fmt: include failing method name in panic message 2018-12-13 22:41:52 +00:00
go go/doc: handle Examples with no body 2018-12-16 19:03:43 +00:00
hash hash/fnv: use bits.Mul64 for 128-bit hash 2018-12-10 22:50:48 +00:00
html text/html: escape MIME type "application/ld+json" as JavaScript 2018-12-13 22:45:02 +00:00
image
index/suffixarray
internal internal/x/net/http2/hpack: update from upstream 2018-12-14 18:15:56 +00:00
io
log
math math/big: fix incorrect comment variable reference 2018-12-26 05:21:41 +00:00
mime mime/multipart: quote boundary in Content-Type if necessary 2018-12-13 23:58:06 +00:00
net net: skip TestUDPZeroBytePayload on Darwin 2019-01-03 05:07:58 +00:00
os syscall: revert to pre-FreeBSD 10 / POSIX-2008 timespec field names in Stat_t on FreeBSD 2018-12-30 19:36:52 +00:00
path path/filepath: walkSymlinks: return correct error for file with trailing slash 2018-12-24 18:38:18 +00:00
plugin plugin: fix build constraint to disable test on linux/arm64 2018-11-28 18:14:20 +00:00
reflect runtime: panic on uncomparable map key, even if map is empty 2018-12-29 01:00:54 +00:00
regexp regexp: use backquotes for all regular expression examples 2018-11-20 12:05:15 +00:00
runtime runtime: remove redundant slicing 2019-01-03 18:23:07 +00:00
sort
strconv strconv: make docs for Itoa and Atoi slightly higher level 2018-12-31 22:48:43 +00:00
strings strings: add ReplaceAll example 2018-12-13 00:35:06 +00:00
sync
syscall syscall: revert to pre-FreeBSD 10 / POSIX-2008 timespec field names in Stat_t on FreeBSD 2018-12-30 19:36:52 +00:00
testdata
testing all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
text
time time: return ENOENT if a zoneinfo zip file is not found 2018-12-24 19:25:18 +00:00
unicode unicode: improve generated comments for categories 2018-11-28 03:12:48 +00:00
unsafe cmd/compile: assume unsafe pointer arithmetic generates non-nil results 2018-11-14 21:01:36 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash build: clear GO111MODULE during make.bash etc 2018-11-16 18:54:22 +00:00
make.bat build: clear GO111MODULE during make.bash etc 2018-11-16 18:54:22 +00:00
make.rc build: clear GO111MODULE during make.bash etc 2018-11-16 18:54:22 +00:00
naclmake.bash
nacltest.bash
race.bash cmd,runtime: enable race detector on arm64 2018-11-13 16:57:22 +00:00
race.bat
run.bash build: clear GO111MODULE during make.bash etc 2018-11-16 18:54:22 +00:00
run.bat build: clear GO111MODULE during make.bash etc 2018-11-16 18:54:22 +00:00
run.rc build: clear GO111MODULE during make.bash etc 2018-11-16 18:54:22 +00:00