- 04 Apr, 2013 15 commits
-
-
Carl Shapiro authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/8379043
-
Andriy Lytvynov authored
Fixed example program's output to match program's code. Fixes #5204. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/8365043
-
Rob Pike authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/8377043
-
Duncan Holm authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/8248044
-
Andrew Gerrand authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/8357043
-
Dave Cheney authored
R=r, minux.ma, bradfitz CC=golang-dev https://golang.org/cl/8304043
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/8301044
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/8343046
-
Andrew Gerrand authored
Also, don't build the tour when making the source distribution. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/8354043
-
Andrew Gerrand authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/8342046
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/8343045
-
Anthony Martin authored
The compilers used to generate only one 'm' symbol to record the stack frame size for each function. In cmd/nm, the 'm' and 'f' symbols are handled in the same switch case with a special exception for the symbol described above called ".frame". Now that the compilers emit additional 'm' symbols for precise garbage collection of the stack, the current logic is incorrect. cmd/nm will attempt to interpret these new 'm' symbols as 'f' symbols and add them to the file name index table. This fails with an out-of-memory condition when zenter encounters an 'm' symbol with a very large value (usually the .args symbol indicating a variadic NOSPLIT function). R=iant CC=dave, gobot, golang-dev, rsc https://golang.org/cl/7962045
-
Andrew Gerrand authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8350044
-
Jonathan Rudenberg authored
Fixes 5164. R=golang-dev, iant, adg CC=golang-dev https://golang.org/cl/8119049
-
Dmitriy Vyukov authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8342044
-
- 03 Apr, 2013 25 commits
-
-
Alexei Sholik authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/8285044
-
Robert Griesemer authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8351043
-
Dmitriy Vyukov authored
Fixes #5175. Race detector runtime expects values passed to MapShadow() to be page-aligned, because they are used in mmap() call. If they are not aligned mmap() trims either beginning or end of the mapping. R=golang-dev, r CC=golang-dev https://golang.org/cl/8325043
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/8344043
-
Andrew Gerrand authored
This version just tells you what to do, rather than trying to teach you how it all works. Should be much better for newcomers. R=dave, gary.burd, alcosholik, r CC=golang-dev https://golang.org/cl/8247044
-
Andrew Gerrand authored
Fixes #4596. R=golang-dev, r CC=golang-dev https://golang.org/cl/8327045
-
Rob Pike authored
Also: - put GORACE into the go env command - do minor housekeeping on the race detector article Fixes #4995. R=golang-dev, adg CC=golang-dev https://golang.org/cl/8319044
-
Rob Pike authored
Fixes #5053. R=adg, iant CC=golang-dev https://golang.org/cl/8337043
-
Robert Griesemer authored
- comment fixes - s/z/x/ in (*rat).Float64 to match convention for functions returning a non-*Rat - minor test output tweaking R=golang-dev, r CC=golang-dev https://golang.org/cl/8327044
-
James Tucker authored
See https://github.com/raggi/go-and-java for runtime benchmark. The patch reduces the amount of map key search, moving connection oriented variables onto the connection structs. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8092045
-
Brad Fitzpatrick authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/8253044
-
Rob Pike authored
Also fix the sort order of the laundry list. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8325044
-
Brad Fitzpatrick authored
The smtp package originally allowed PLAIN whenever, but then the TLS check was added for paranoia, but it's too paranoid: it prevents using PLAIN auth even from localhost to localhost when the server advertises PLAIN support. This CL also permits the client to send PLAIN if the server advertises it. Fixes #5184 R=golang-dev, r CC=golang-dev https://golang.org/cl/8279043
-
Brad Fitzpatrick authored
Update #4871 R=golang-dev, r CC=golang-dev https://golang.org/cl/8287044
-
Rob Pike authored
Be deliberately vague, since the precise details should not be depended upon. Fixes #5155. R=golang-dev, gri, adg CC=golang-dev https://golang.org/cl/8283044
-
Rob Pike authored
Just commentary, no semantic change. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8329043
-
Brad Fitzpatrick authored
Save an allocation per GET request and don't call io.LimitedReader(r, 0) just to read 0 bytes. There's already an eofReader global variable for when we just want a non-nil io.Reader to immediately EOF. (Sorry, I know Rob told me to stop, but I was bored on the plane and wrote this before I received the recent "please, really stop" email.) benchmark old ns/op new ns/op delta BenchmarkServerHandlerTypeLen 13888 13279 -4.39% BenchmarkServerHandlerNoLen 12912 12229 -5.29% BenchmarkServerHandlerNoType 13348 12632 -5.36% BenchmarkServerHandlerNoHeader 10911 10261 -5.96% benchmark old allocs new allocs delta BenchmarkServerHandlerTypeLen 20 19 -5.00% BenchmarkServerHandlerNoLen 18 17 -5.56% BenchmarkServerHandlerNoType 18 17 -5.56% BenchmarkServerHandlerNoHeader 13 12 -7.69% benchmark old bytes new bytes delta BenchmarkServerHandlerTypeLen 1913 1878 -1.83% BenchmarkServerHandlerNoLen 1878 1843 -1.86% BenchmarkServerHandlerNoType 1878 1844 -1.81% BenchmarkServerHandlerNoHeader 1085 1051 -3.13% Fixes #5188 R=golang-dev, adg, r CC=golang-dev https://golang.org/cl/8297044
-
Rémy Oudompheng authored
Fixes inscrutable GC faults during testing. R=golang-dev, bradfitz, dave, fullung CC=golang-dev https://golang.org/cl/8300044
-
Robert Griesemer authored
My old code was trying to be too smart. Also: Slightly better error message format for gofmt -r pattern errors. Fixes #4406. R=golang-dev, adg CC=golang-dev https://golang.org/cl/8267045
-
Andrew Gerrand authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/8305043
-
Dave Cheney authored
Fixes #5141. R=golang-dev, minux.ma, ality, bradfitz CC=golang-dev https://golang.org/cl/8134043
-
Rémy Oudompheng authored
A nested TFORW type would push algtype1 into an impossible case. Fixes #5125. R=golang-dev, daniel.morsing CC=golang-dev https://golang.org/cl/8213043
-
Robert Griesemer authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/8288044
-
Dave Cheney authored
R=r, adg, minux.ma CC=golang-dev https://golang.org/cl/8250043
-
Andrew Gerrand authored
Also remove the introduction, which says what the rest of the page says anyway. Fixes #5182. R=golang-dev, kamil.kisiel, r CC=golang-dev https://golang.org/cl/8281044
-