- 13 Dec, 2011 7 commits
-
-
Rob Pike authored
Everything there (as first draft) except the time package. R=golang-dev, adg, bradfitz CC=golang-dev https://golang.org/cl/5487052
-
Russ Cox authored
To allow these types as map keys, we must fill in equal and hash functions in their algorithm tables. Structs or arrays that are "just memory", like [2]int, can and do continue to use the AMEM algorithm. Structs or arrays that contain special values like strings or interface values use generated functions for both equal and hash. The runtime helper func runtime.equal(t, x, y) bool handles the general equality case for x == y and calls out to the equal implementation in the algorithm table. For short values (<= 4 struct fields or array elements), the sequence of elementwise comparisons is inlined instead of calling runtime.equal. R=ken, mpimenov CC=golang-dev https://golang.org/cl/5451105
-
Russ Cox authored
Also, clarify when interface comparison panics and that comparison to nil is a special syntax rather than a general comparison rule. R=r, gri, r, iant, cw, bradfitz CC=golang-dev https://golang.org/cl/5440117
-
Nigel Tao authored
R=dsymonds CC=golang-dev https://golang.org/cl/5482054
-
Nigel Tao authored
Nodes now have a Namespace field. Pass adoption01.dat, test 12: <a><svg><tr><input></a> | <html> | <head> | <body> | <a> | <svg svg> | <svg tr> | <svg input> The other adoption01.dat tests already passed. R=andybalholm CC=golang-dev https://golang.org/cl/5467075
-
Mikio Hara authored
R=golang-dev, jsing, rsc CC=golang-dev https://golang.org/cl/5479054
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5488052
-
- 12 Dec, 2011 30 commits
-
-
Alex Brainman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5394042
-
Alex Brainman authored
R=rsc CC=golang-dev https://golang.org/cl/5454047
-
David Symonds authored
R=adg, r, rsc CC=golang-dev https://golang.org/cl/5475069
-
Russ Cox authored
Some VMs are slow. Very slow. Fixes #2421. R=golang-dev, r CC=golang-dev https://golang.org/cl/5482049
-
Ivan Krasin authored
Fixes #2508. R=rsc, krasin CC=golang-dev https://golang.org/cl/5449115
-
Christopher Nielsen authored
R=rsc CC=golang-dev https://golang.org/cl/5477052
-
Christoph Hack authored
R=golang-dev, r, tux21b, rsc CC=golang-dev https://golang.org/cl/5479062
-
Russ Cox authored
R=golang-dev, dsymonds, gri CC=golang-dev https://golang.org/cl/5485048
-
Andrew Gerrand authored
Originally published on The Go Programming Language Blog, July 12, 2011. http://blog.golang.org/2011/07/error-handling-and-go.html Update #2547 R=golang-dev, r CC=golang-dev https://golang.org/cl/5475060
-
Brad Fitzpatrick authored
Fixes #2542 R=golang-dev, r CC=golang-dev https://golang.org/cl/5483054
-
Gustavo Niemeyer authored
R=golang-dev, dsymonds, r, rsc CC=golang-dev https://golang.org/cl/5483044
-
Sébastien Paolacci authored
SysUnused being a direct call to madvise MADV_DONTNEED. R=golang-dev, dave CC=golang-dev https://golang.org/cl/5477057
-
Lucio De Re authored
R=golang-dev, ality CC=golang-dev, rsc https://golang.org/cl/5467066
-
Anthony Martin authored
R=lucio.dere, rsc CC=golang-dev https://golang.org/cl/5440073
-
Anthony Martin authored
I had to move readFile into sys_$GOOS.go since syscall.Open takes only two arguments on Plan 9. R=lucio.dere, rsc, alex.brainman CC=golang-dev https://golang.org/cl/5447061
-
Rémy Oudompheng authored
Fixes #2502. R=golang-dev, rsc CC=golang-dev, remy https://golang.org/cl/5472062
-
Robert Hencke authored
Addresses issue 2526 R=rsc, r CC=golang-dev https://golang.org/cl/5448114
-
Charles L. Dorian authored
Nextafter(0, -1) != -0. R=rsc, golang-dev CC=golang-dev https://golang.org/cl/5467060
-
Christopher Nielsen authored
This will not currently create valid NetBSD binaries because NetBSD requires an ELF note section to run, otherwise the kernel will throw ENOEXEC. I was unable to determine an elegant way to add the section, so I am submitting what I have. References: http://www.netbsd.org/docs/kernel/elf-notes.html http://mail-index.netbsd.org/netbsd-bugs/2001/08/03/0012.html R=rsc CC=golang-dev https://golang.org/cl/5472049
-
Christopher Nielsen authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5476048
-
Lucio De Re authored
R=golang-dev CC=golang-dev, rsc https://golang.org/cl/5476049
-
Russ Cox authored
Assume last colon introduces line number. Fixes #2543. R=ken2 CC=golang-dev https://golang.org/cl/5485047
-
Rob Pike authored
R=golang-dev, fullung, dsymonds, r, adg CC=golang-dev https://golang.org/cl/5477056
-
Roger Peppe authored
Fixes implicit dependency on underlying os file modes. R=rsc, r, n13m3y3r, gustavo, adg CC=golang-dev https://golang.org/cl/5440130
-
Ian Lance Taylor authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5486044
-
Taru Karttunen authored
Made te and td arrays into variables te0-3 and td0-3, which improves performance from 7000ns/op to 5800. R=rsc, rogpeppe, agl CC=golang-dev https://golang.org/cl/5449077
-
Andrew Gerrand authored
R=golang-dev, r, alex.brainman, r CC=golang-dev https://golang.org/cl/5479069
-
Rob Pike authored
Fixes #2553. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5472074
-
Andrew Balholm authored
Pass tests6.dat, test 7: <frameset></frameset> foo | <html> | <head> | <frameset> | " " Also pass tests through test 12: <form><form> R=nigeltao CC=golang-dev https://golang.org/cl/5480061
-
Andrew Gerrand authored
Originally published on The Go Programming Language Blog, August 4 2010. http://blog.golang.org/2010/08/defer-panic-and-recover.html Update #2547 R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5479053
-
- 11 Dec, 2011 3 commits
-
-
Rob Pike authored
(should have caught this in review.) R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5478066
-
Joel Sing authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5472067
-
Lucio De Re authored
src/clean.bash: Add clean-ups for previously overlooked directories. doc/codelab/wiki/Makefile: Dropped "index.html" from CLEANFILES so it will not be deleted on cleaning. R=golang-dev, r CC=golang-dev https://golang.org/cl/5476050
-