1
0
mirror of https://github.com/golang/go synced 2024-11-19 17:44:43 -07:00
go/src
Josh Bleecher Snyder 02ad116bf1 runtime: unify cases in mapiternext
The preceding cleanup made it clear that two cases
(have golden data, unreachable key) are handled identically.
Simplify the control flow to reflect that.

Simplifies the code and generates shorter machine code.

Change-Id: Id612e0da6679813e855506f47222c58ea6497d70
Reviewed-on: https://go-review.googlesource.com/55093
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
2017-08-15 00:19:36 +00:00
..
archive archive/tar: remove writeHeader and writePAXHeaderLegacy 2017-08-14 23:29:25 +00:00
bufio Revert "bufio: make Reader.Peek invalidate Unreads" 2017-07-06 03:06:44 +00:00
builtin
bytes bytes: speed up Fields and FieldsFunc 2017-08-14 21:08:51 +00:00
cmd cmd/go: correctly quote environment variables in -x output 2017-08-15 00:13:56 +00:00
compress
container
context
crypto crypto/tls: split clientHandshake into multiple methods 2017-08-09 22:24:19 +00:00
database/sql database/sql: fail on unsupported options when context is un-cancellable 2017-08-09 20:06:20 +00:00
debug debug/macho: make Type implements fmt.(Go)Stringer interfaces 2017-08-15 00:13:36 +00:00
encoding encoding/base32: improve performance in common case 2017-08-14 18:51:14 +00:00
errors
expvar
flag flag: make default Usage prefer CommandLine's output over just os.Stderr 2017-08-08 01:47:47 +00:00
fmt fmt: add ascii fast path for decoding verbs 2017-08-14 12:25:45 +00:00
go go/types: remove nil check around range 2017-08-10 12:17:11 +00:00
hash all: gofmt 2017-06-21 03:14:30 +00:00
html html: updated entity spec link 2017-08-08 04:29:35 +00:00
image
index/suffixarray
internal runtime, internal/cpu: CPU capabilities detection for ppc64x 2017-08-14 12:16:42 +00:00
io io/ioutil: add example for ReadFile 2017-07-15 23:28:44 +00:00
log log: adds a Logger Output method Example 2017-07-16 03:57:11 +00:00
math math/big: improve performance for AddMulVVW and mulAddVWW for ppc64x 2017-08-11 13:59:52 +00:00
mime
net net/http: various small cleanups 2017-08-14 16:37:27 +00:00
os os: remove duplicate check from windows os.Stat 2017-07-20 07:43:15 +00:00
path
plugin plugin: mention that there are known bugs with plugins 2017-07-28 00:29:08 +00:00
reflect reflect: document how DeepEqual handles cycles 2017-08-04 22:22:03 +00:00
regexp regexp: example for MatchString function 2017-07-15 21:13:35 +00:00
runtime runtime: unify cases in mapiternext 2017-08-15 00:19:36 +00:00
sort sort: add example for Strings 2017-07-15 23:17:23 +00:00
strconv strconv: unify error creation in ParseUint with ParseInt 2017-08-14 21:02:21 +00:00
strings strings: use slice instead of list and array in Fields comment 2017-08-14 21:25:53 +00:00
sync sync: delete a sentence from the Map docs 2017-07-21 22:00:47 +00:00
syscall syscall: add utimensat and use it for UtimesNano on BSD and Solaris 2017-08-14 04:14:41 +00:00
testing testing: explain how SkipNow and FailNow stop execution 2017-08-09 11:47:38 +00:00
text text/template: support indexing into *int* maps 2017-08-12 00:21:16 +00:00
time time: remove unused parameter 2017-08-14 02:22:20 +00:00
unicode
unsafe
vendor/golang_org/x
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc