crypto/md5: fix for big-endian processors

R=golang-dev, minux.ma, agl
CC=golang-dev
https://codereview.appspot.com/7305059
cmd/8g: add a few missing splitclean

Fixes issue 887.

R=ken2
CC=golang-dev
https://codereview.appspot.com/7303061
bytes: minor optimization to lastIndexFunc

Before and after:
BenchmarkTrimSpace  20000000   81.3 ns/op
BenchmarkTrimSpace  50000000   58.0 ns/op

(most whitespace trimming is ASCII whitespace)

Same optimization appeared a handful of other places
in this file, but not here.

R=golang-dev, dave
CC=golang-dev
https://codereview.appspot.com/7305063
cmd/godoc: fix format strings.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7309061
net: do not use RLock around Accept

It might be non-blocking, but it also might be blocking.
Cannot take the chance, as Accept might block indefinitely
and make it impossible to acquire ForkLock exclusively
(during fork+exec).

Fixes issue 4737.

R=golang-dev, dave, iant, mikioh.mikioh
CC=golang-dev
https://codereview.appspot.com/7309050
codereview: use hgapplydiff instead of hgpatch

Depends on https://codereview.appspot.com/7308067

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7312064
C: add Jeremy Schlatter (Google CLA)

R=golang-dev, dsymonds
CC=golang-dev
https://codereview.appspot.com/7307070
io: Simplify CopyN implementation by delegating to Copy.

R=golang-dev, dave, minux.ma, bradfitz, rsc
CC=golang-dev
https://codereview.appspot.com/7312055

Committer: Brad Fitzpatrick <bradfitz@golang.org>
runtime: fix build for Linux/ARM

R=dave, rsc
CC=golang-dev
https://codereview.appspot.com/7299055
cmd/5g: add missing splitclean.

See issue 887 for the 8g analogue.

R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/7306069
net: delete duplicate listenerSockaddr

R=golang-dev, dave
CC=golang-dev
https://codereview.appspot.com/7299067
net: simplify Dial, Listen, ListenPacket and those helpers

R=golang-dev, dave, bradfitz
CC=golang-dev
https://codereview.appspot.com/7300065
runtime: fix integer overflow
The problem happens when end=0, then end-1 is very big number.
Observed with the new scheduler.

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/7307073
runtime/race: deflake tests
With the new scheduler races in the tests are reported during execution of other tests.
The change joins goroutines started during the tests.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7310066
exp/ssa: (#5 of 5): the SSA interpreter and 'ssadump' tool.

R=gri, iant
CC=golang-dev
https://codereview.appspot.com/7226065
exp/ssa/interp: fix MS Windows breakage.

syscall.{Kill,Write} are not portable to MS Windows, so we
disable them for now.

R=iant, rsc
CC=golang-dev
https://codereview.appspot.com/7312066
net/http/httptest: add examples

R=golang-dev, adg, bradfitz
CC=golang-dev
https://codereview.appspot.com/7314046

Committer: Brad Fitzpatrick <bradfitz@golang.org>
syscall: check for invalid characters in Setenv on Unix

On POSIX, '=' in key is explicitly invalid, and '\x00' in key/value is implicitly invalid.

R=golang-dev, iant, bradfitz
CC=golang-dev
https://codereview.appspot.com/7311061

Committer: Ian Lance Taylor <iant@golang.org>
net/http: add BenchmarkReadRequest

Add benchmark for request parsing. Fixture data is taken from https://github.com/felixge/node-http-perf

% go version
go version devel +28966b7b2f0c Thu Feb 07 20:26:12 2013 -0800 linux/amd64

% go test -run=nil -bench=ReadRequest -benchtime=10s
PASS
BenchmarkReadRequest     2000000   9900 ns/op   61.71 MB/s   3148 B/op   32 allocs/op
ok      net/http        12.180s

R=golang-dev, bradfitz, minux.ma, haimuiba
CC=golang-dev
https://codereview.appspot.com/7313048