1
0
mirror of https://github.com/golang/go synced 2024-11-23 22:40:04 -07:00
go/src
ALTree 7a982e3c49 [dev.ssa] cmd/compile/ssa: Replace less-or-equal with equal in len comparison with zero
Since the spec guarantees than 0 <= len always:

https://golang.org/ref/spec#Length_and_capacity

replace len(...) <= 0 check with len(...) == 0 check

Change-Id: I5517a9cb6b190f0b1ee314a67487477435f3b409
Reviewed-on: https://go-review.googlesource.com/12034
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-11 19:38:57 +00:00
..
archive archive/tar: move round-trip reading into common os file 2015-06-30 02:20:20 +00:00
bufio
builtin builtin: remove errant space in hyphenated adjective phrase 2015-06-28 21:41:38 +00:00
bytes
cmd [dev.ssa] cmd/compile/ssa: Replace less-or-equal with equal in len comparison with zero 2015-07-11 19:38:57 +00:00
compress compress/lzw: return the partial decoding for a truncated input. 2015-06-30 03:47:06 +00:00
container
crypto crypto/rsa: check for primes ≤ 1 in Validate 2015-06-29 19:32:48 +00:00
database/sql database/sql: make Register safe for concurrent use 2015-06-30 23:15:03 +00:00
debug debug/elf: change R_ARM_REL32 to R_ARM_ABS32 in applyRelocationsARM 2015-06-26 16:17:54 +00:00
encoding encoding/xml: fix xmlns= behavior 2015-06-30 07:42:37 +00:00
errors
expvar
flag
fmt fmt: restore padding for %x on byte slices and strings 2015-06-29 07:17:23 +00:00
go go/types: change {Type,Object,Selection}String to accept a Qualifier function 2015-06-30 21:44:42 +00:00
hash
html html/template: prevent panic while escaping pipelines 2015-06-27 22:44:33 +00:00
image image/gif: accept LZW encodings that do not have an explicit end marker. 2015-06-30 03:47:51 +00:00
index/suffixarray
internal internal/singleflight: deflake test 2015-06-30 22:55:59 +00:00
io io: tweak Reader comment 2015-06-29 21:17:47 +00:00
log
math math: explain OEIS link 2015-06-26 01:25:58 +00:00
mime
net net/http: harden Server against request smuggling 2015-06-30 22:56:30 +00:00
os syscall: return error instead of panicking in windows StartProcess 2015-06-29 03:54:33 +00:00
path path/filepath: document and test behavior of SkipDir on files 2015-06-29 21:16:35 +00:00
reflect reflect: test repeats with large scalar tails 2015-06-26 17:26:09 +00:00
regexp
runtime cmd/compile: fix race detector handling of OBLOCK nodes 2015-06-30 19:25:18 +00:00
sort
strconv unicode: upgrade to 8.0.0 2015-06-26 18:01:29 +00:00
strings
sync sync: disable flaky WaitGroup misuse test in short mode 2015-06-29 18:44:52 +00:00
syscall syscall: return error instead of panicking in windows StartProcess 2015-06-29 03:54:33 +00:00
testing testing/quick: improve function signature error. 2015-06-26 18:03:32 +00:00
text text/template: make zero Template work again 2015-06-24 22:27:33 +00:00
time
unicode unicode: upgrade to 8.0.0 2015-06-26 18:01:29 +00:00
unsafe
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash
make.bat
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc