- 07 Feb, 2013 4 commits
-
-
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 14 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
-
Russ Cox authored
If the analysis reached a node twice, then the analysis was cut off. However, if the second arrival is at a lower depth (closer to escaping) then it is important to repeat the traversal. The repeating must be cut off at some point to avoid the occasional infinite recursion. This CL cuts it off as soon as possible while still passing all tests. Fixes #4751. R=ken2 CC=golang-dev, lvd https://golang.org/cl/7303043
-
Anthony Martin authored
The order of the Qid fields was reversed. Mea culpa. R=seed CC=golang-dev https://golang.org/cl/7231062
-
- 04 Feb, 2013 16 commits
-
-
Brad Fitzpatrick authored
This provides the mechanism to connect SPDY support to the http package, without pulling SPDY into the standard library. R=rsc, agl, mikioh.mikioh CC=golang-dev https://golang.org/cl/7287045
-
Mikio Hara authored
This CL adds TCPInfo struct to linux/386,arm. It's already added to linux/amd64. Note that not sure the reason but cgo godefs w/ latest gcc translates a flexible array member in structures correctly, handles it as a non-incomplete, non-opaque type, on Go 1. This CL reverts such changes by hand for the Go 1 contract. R=minux.ma, bradfitz, rsc CC=golang-dev https://golang.org/cl/7197046
-
Brad Fitzpatrick authored
Deadlines should be extended at the beginning of a request, not at the beginning of a connection. Fixes #4676 R=golang-dev, fullung, patrick.allen.higgins, adg CC=golang-dev https://golang.org/cl/7220076
-
Shenghou Ma authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/7279047
-
Alan Donovan authored
R=iant, gri, iant, rogpeppe CC=golang-dev https://golang.org/cl/7196053
-
Russ Cox authored
Was not re-walking the new AND node, so that its ullman count was wrong, so that the code generator attempted to store values in registers across the call. Fixes #4752. R=ken2 CC=golang-dev https://golang.org/cl/7288054
-
Alex Brainman authored
R=golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/7273046
-
Russ Cox authored
Fixes #4090. R=golang-dev, iant, bradfitz, dsymonds CC=golang-dev https://golang.org/cl/7229070
-
Russ Cox authored
Was incorrectly discarding the offending text in some cases. Fixes #4493. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7277050
-
Andrew Gerrand authored
Missed this review comment. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7229084
-
Russ Cox authored
In cmd/go's 'go help testflag': * Rewrite list of flags to drop test. prefix on every name. * Sort list of flags. * Add example of using -bench to match all benchmarks. In testing: * Remove mention of undefined 'CPU group' concept. Fixes #4488. Fixes #4508. R=adg CC=golang-dev https://golang.org/cl/7288053
-
Nigel Tao authored
R=gri, rsc CC=golang-dev https://golang.org/cl/7280044
-
Andrew Gerrand authored
Fixes #3696. R=rsc CC=golang-dev https://golang.org/cl/7133051
-
Russ Cox authored
* Document Parse's zone interpretation. * Add ParseInLocation (API change). * Recognize "wrong" time zone names, like daylight savings time in winter. * Disambiguate time zone names using offset (like winter EST vs summer EST in Sydney). The final two are backwards-incompatible changes, but I believe they are both buggy behavior in the Go 1.0 versions; the old results were more wrong than the new ones. Fixes #3604. Fixes #3653. Fixes #4001. R=adg CC=golang-dev https://golang.org/cl/7288052
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7284047
-
Russ Cox authored
Code fix by Alex Bramley. Fixes #4064. R=golang-dev, adg CC=golang-dev https://golang.org/cl/7289049
-