1
0
mirror of https://github.com/golang/go synced 2024-11-24 00:50:10 -07:00
go/src
Josh Bleecher Snyder 134ef176f0 cmd/link, cmd/internal/obj: use encoding/binary for varint
This code was written before the c2go toolchain conversion.
Replace the handwritten varint encoding routines
and the handwritten unsigned-to-signed conversions
with calls to encoding/binary.

Passes toolstash-check.

Change-Id: I30d7f408cde3772ee98a3825e83075c4e1ec96d8
Reviewed-on: https://go-review.googlesource.com/c/go/+/171769
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-04-12 19:15:34 +00:00
..
archive archive/zip: use Modified in FileHeader.FileInfo 2019-04-08 07:55:52 +00:00
bufio
builtin builtin: spec correction for panic() 2019-04-05 00:52:55 +00:00
bytes bytes: optimize ToLower and ToUpper for ASCII-only case 2019-04-09 05:45:34 +00:00
cmd cmd/link, cmd/internal/obj: use encoding/binary for varint 2019-04-12 19:15:34 +00:00
compress
container
context
crypto all: spell "Deprecated: Use etc" consistently 2019-04-10 01:28:25 +00:00
database/sql database/sql: add NullTime 2019-04-05 18:03:45 +00:00
debug
encoding encoding/json: use SetBytes in UnmarshalReuse benchmark 2019-04-05 20:54:50 +00:00
errors errors: return false if nil error is passed to As 2019-04-10 15:59:35 +00:00
expvar
flag
fmt
go all: spell "Deprecated: Use etc" consistently 2019-04-10 01:28:25 +00:00
hash
html
image image: deprecate ZP and ZR 2019-04-07 03:44:17 +00:00
index/suffixarray
internal
io
log
math all: change the old assembly style AX:CX to CX, AX 2019-04-09 00:22:03 +00:00
mime
net net: retrieve if unix network is available only once for AIX 2019-04-12 15:23:31 +00:00
os os: don't leak file in ExampleOpenFile_append failure path 2019-04-11 21:47:52 +00:00
path
plugin
reflect
regexp
runtime runtime: add //go:cgo_unsafe_args to AIX syscallX functions 2019-04-12 17:01:51 +00:00
sort
strconv
strings strings: add TestIndexByte 2019-04-09 14:14:41 +00:00
sync sync: smooth out Pool behavior over GC with a victim cache 2019-04-05 18:49:08 +00:00
syscall syscall: add aix to syscall_unix_test.go 2019-04-12 16:18:12 +00:00
testdata
testing
text
time
unicode
unsafe
vendor
all.bash
all.bat
all.rc
bootstrap.bash bootstrap.bash: fix build if no exec wrapper exists 2019-04-12 13:00:05 +00:00
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
go.mod
go.sum
iostest.bash
make.bash
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc