- 08 Feb, 2013 16 commits
-
-
Péter Surányi authored
On POSIX, '=' in key is explicitly invalid, and '\x00' in key/value is implicitly invalid. R=golang-dev, iant, bradfitz CC=golang-dev https://golang.org/cl/7311061
-
Kamil Kisiel authored
R=golang-dev, adg, bradfitz CC=golang-dev https://golang.org/cl/7314046
-
Alan Donovan authored
syscall.{Kill,Write} are not portable to MS Windows, so we disable them for now. R=iant, rsc CC=golang-dev https://golang.org/cl/7312066
-
Alan Donovan authored
R=gri, iant CC=golang-dev https://golang.org/cl/7226065
-
Dmitriy Vyukov authored
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://golang.org/cl/7310066
-
Dmitriy Vyukov authored
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://golang.org/cl/7307073
-
Mikio Hara authored
R=golang-dev, dave, bradfitz CC=golang-dev https://golang.org/cl/7300065
-
Mikio Hara authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/7299067
-
Rémy Oudompheng authored
See issue 887 for the 8g analogue. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7306069
-
Shenghou Ma authored
R=dave, rsc CC=golang-dev https://golang.org/cl/7299055
-
Jeremy Schlatter authored
R=golang-dev, dave, minux.ma, bradfitz, rsc CC=golang-dev https://golang.org/cl/7312055
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7307070
-
Russ Cox authored
Depends on https://golang.org/cl/7308067 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7312064
-
Russ Cox authored
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 #4737. R=golang-dev, dave, iant, mikioh.mikioh CC=golang-dev https://golang.org/cl/7309050
-
David Symonds authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7309061
-
Brad Fitzpatrick authored
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://golang.org/cl/7305063
-
- 07 Feb, 2013 6 commits
-
-
Russ Cox authored
Fixes #887. R=ken2 CC=golang-dev https://golang.org/cl/7303061
-
Ian Lance Taylor authored
R=golang-dev, minux.ma, agl CC=golang-dev https://golang.org/cl/7305059
-
Ian Lance Taylor authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7308060
-
Péter Surányi authored
R=golang-dev, dave, bradfitz CC=golang-dev https://golang.org/cl/7305053
-
Shenghou Ma authored
On 800MHz Cortex-A8: benchmark old ns/op new ns/op delta BenchmarkRC4_128 9395 2838 -69.79% BenchmarkRC4_1K 74497 22120 -70.31% BenchmarkRC4_8K 587243 171435 -70.81% benchmark old MB/s new MB/s speedup BenchmarkRC4_128 13.62 45.09 3.31x BenchmarkRC4_1K 13.75 46.29 3.37x BenchmarkRC4_8K 13.79 47.22 3.42x Result for "OpenSSL 1.0.1c 10 May 2012" from Debian/armhf sid: type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes rc4 39553.81k 46522.39k 49336.11k 50085.63k 50258.06k R=golang-dev, agl, dave CC=golang-dev https://golang.org/cl/7310051
-
Ian Lance Taylor authored
This is necessary for systems that use select as the pollster, such as Solaris (supported by gccgo). It corresponds to the bool returned by AddFD. In general it's not clearly defined what happens when a descriptor used in a select is closed, and different systems behave differently. Waking up the select will cause the right thing to happen: the closed descriptor will be dropped from the next iteration. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7303056
-
- 06 Feb, 2013 6 commits
-
-
Gaal Yahas authored
deferred block. This makes hangs in the waiting code less likely if a goroutine exits abnormally. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7306052
-
Ian Lance Taylor authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7311053
-
Albert Strasheim authored
R=rsc, iant, mikioh.mikioh CC=golang-dev https://golang.org/cl/7300047
-
Volker Dobler authored
This CL is the first of a handful of CLs which will provide the implementation of cookiejar. It contains several helper functions and the skeleton of Cookies and SetCookies. Proper host name handling requires the ToASCII transformation from package idna which currently lives in the go.net subrepo. This CL thus contains just a TODO for this issue. R=nigeltao, rsc, bradfitz CC=golang-dev https://golang.org/cl/7287046
-
Shenghou Ma authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7304053
-
Dmitriy Vyukov authored
Removes limit on maximum number of goroutines ever existed. code.google.com/p/goexecutor tests now pass successfully. Also slightly improves performance. Before: $ time ./flate.test -test.short real 0m9.314s After: $ time ./flate.test -test.short real 0m8.958s Fixes #4286. The runtime is built from llvm rev 174312. R=rsc CC=golang-dev https://golang.org/cl/7218044
-
- 05 Feb, 2013 12 commits
-
-
Jeff R. Allen authored
Implements deferred connections + single-attempt automatic retry. Based on CL 5078042 from kuroneko. Fixes #2264. R=mikioh.mikioh, rsc, bradfitz CC=golang-dev https://golang.org/cl/6782140
-
Shenghou Ma authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7289047
-
Shenghou Ma authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7311044
-
Ian Lance Taylor authored
Closing the inotify file descriptor can take over a second when running on Ubuntu Precise in an NFS directory, leading to the test error in issue 3132. Closing the event channel first lets a client that does not care about the error channel move on. Fixes #3132. R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/7300045
-
Shenghou Ma authored
Plan 9 compilers insist this but as we don't have Plan 9 builders, we'd better let gcc check the prototypes. Inspired by CL 7289050. R=golang-dev, seed, dave, rsc, lucio.dere CC=akumar, golang-dev https://golang.org/cl/7288056
-
Caleb Spare authored
This updates a bad reference to a method name in the example priority queue test. The error was introduced in the example refactoring in rev. 2ea8f07b2ffe. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7279045
-
Russ Cox authored
A new comment directive //go:noescape instructs the compiler that the following external (no body) func declaration should be treated as if none of its arguments escape to the heap. Fixes #4099. R=golang-dev, dave, minux.ma, daniel.morsing, remyoudompheng, adg, agl, iant CC=golang-dev https://golang.org/cl/7289048
-
Dave Cheney authored
The dashboard is currently failing to store results of new builds for some keys, notable the go.codereview sub repository. This is causing the builders to mark the entire triggering commit as failed. With the help of David Symonds we think it is because the results value has breached the 1mb datastore limit on AppEngine. R=dsymonds, adg CC=golang-dev https://golang.org/cl/6858094
-
Dmitriy Vyukov authored
Fixes #4721. R=alex.brainman, minux.ma CC=golang-dev https://golang.org/cl/7275048
-
David Symonds authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7305043
-
Brad Fitzpatrick authored
If a Handle's Write to a ResponseWriter fails (e.g. via a net.Conn WriteDeadline via WriteTimeout on the Server), the Server was blocking forever waiting for reads on that net.Conn, even after a Write failed. Instead, once we see a Write fail, close the connection, since it's then dead to us anyway. Fixes #4741 R=golang-dev, adg CC=golang-dev https://golang.org/cl/7301043
-
Russ Cox authored
Fixes #4759. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7304043
-