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
runtime: precise garbage collection of hashmaps

R=golang-dev, rsc
CC=dave, dvyukov, golang-dev, minux.ma, remyoudompheng
https://codereview.appspot.com/7252047

Committer: Russ Cox <rsc@golang.org>
cmd/go: indicate that flags unrecognized by 'go test' must follow package specification

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

Committer: Russ Cox <rsc@golang.org>
net: fix unixgram

The socket for AF_UNIX domain with SOCK_DGARM type isn't
allowed to work with syscall listen.

R=rsc
CC=golang-dev
https://codereview.appspot.com/7310068
log/syslog: remove socket files after tests

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