- 21 Oct, 2012 6 commits
-
-
Evan Shaw authored
Fixes #3284. R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/6643043
-
Daniel Morsing authored
Fixes #3783. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6737053
-
Daniel Morsing authored
Someone new to the language may not know the connection between ints and arrays, which was the only thing that the previous error told you anything about. Fixes #4256. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6739048
-
Shenghou Ma authored
PauseNs is a circular buffer of recent pause times, and the most recent one is at [((NumGC-1)+256)%256]. Also fix comments cross-linking the Go and C definition of various structs. R=golang-dev, rsc, bradfitz CC=golang-dev https://golang.org/cl/6657047
-
Shenghou Ma authored
R=bradfitz CC=golang-dev https://golang.org/cl/6713043
-
Adam Langley authored
R=golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/6733047
-
- 20 Oct, 2012 4 commits
-
-
Shenghou Ma authored
also add a cleanup phase to cmd/go/test.bash. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6741050
-
Shenghou Ma authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6742053
-
Shenghou Ma authored
benchmark old ns/op new ns/op delta BenchmarkUint32Div7 281 75 -73.06% BenchmarkUint32Div37 281 75 -73.02% BenchmarkUint32Div123 281 75 -73.02% BenchmarkUint32Div763 280 75 -72.89% BenchmarkUint32Div1247 280 75 -72.93% BenchmarkUint32Div9305 281 75 -73.02% BenchmarkUint32Div13307 281 75 -73.06% BenchmarkUint32Div52513 281 75 -72.99% BenchmarkUint32Div60978747 281 63 -77.33% BenchmarkUint32Div106956295 280 63 -77.21% BenchmarkUint32Mod7 280 77 -72.21% BenchmarkUint32Mod37 280 77 -72.18% BenchmarkUint32Mod123 280 77 -72.25% BenchmarkUint32Mod763 280 77 -72.18% BenchmarkUint32Mod1247 280 77 -72.21% BenchmarkUint32Mod9305 280 77 -72.21% BenchmarkUint32Mod13307 280 77 -72.25% BenchmarkUint32Mod52513 280 77 -72.18% BenchmarkUint32Mod60978747 280 63 -77.25% BenchmarkUint32Mod106956295 280 63 -77.21% R=dave, rsc CC=dave, golang-dev, rsc https://golang.org/cl/6717043
-
Nigel Tao authored
R=mchaten, r CC=golang-dev https://golang.org/cl/6739045
-
- 19 Oct, 2012 6 commits
-
-
Robert Griesemer authored
Both gc and gccgo always checked this for constant expressions but the spec only mentions run-time exceptions. This CL also requires that constant divisors must not be zero in non-constant integer expressions: This is consistent with the spirit of the most recent changes and it is consistent with constant expressions. We don't want to specify the effect for non-integer expressions (f/0.0 where f is a float or complex number) because there the result f/g is not further specified if a non-constant g is 0. R=r, rsc, iant, ken, andybalholm, iant CC=golang-dev https://golang.org/cl/6710045
-
Robert Griesemer authored
This is a language change: Until now, the spec required run- time panics for some of these errors. Note that gc and gccgo implemented this inconsistently, and that both compilers already reported compile-time errors in some cases. This change makes make() behave along the same vein as index expressions. This addresses the spec aspect of issue 4085. R=r, rsc, iant, ken CC=golang-dev https://golang.org/cl/6725053
-
Oling Cat authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6736048
-
Nigel Tao authored
many small writes to a network may be less efficient that a few large writes. This fixes net/http's TestClientWrites, broken by 6565056 that introduced Writer.ReadFrom. That test implicitly assumed that calling io.Copy on a *bufio.Writer wouldn't write to the underlying network until the buffer was full. R=dsymonds CC=bradfitz, golang-dev, mchaten, mikioh.mikioh https://golang.org/cl/6743044
-
Michael Chaten authored
This is part 2 of 2 for issue 4028. benchmark old ns/op new ns/op delta BenchmarkWriterCopyOptimal 53293 28326 -46.85% BenchmarkWriterCopyUnoptimal 53757 30537 -43.19% BenchmarkWriterCopyNoReadFrom 53192 36642 -31.11% Fixes #4028. R=nigeltao CC=golang-dev https://golang.org/cl/6565056
-
Nigel Tao authored
R=rsc, minux.ma, ality CC=dave, golang-dev https://golang.org/cl/6620050
-
- 18 Oct, 2012 5 commits
-
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/6699049
-
Ian Lance Taylor authored
The generated encodings are those from http://www.w3.org/TR/2000/WD-xml-c14n-20000119.html#charescaping The change to the decoder ensures that we turn 
 in the input into \r, not \n. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6747043
-
Rémy Oudompheng authored
The value of cosines are cached in a global array instead of being recomputed each time. The test was terribly slow on arm. R=golang-dev, dave, nigeltao CC=golang-dev https://golang.org/cl/6733046
-
Stephen McQuay authored
Fixes #4224. R=golang-dev, dave, minux.ma, mikioh.mikioh, alex.brainman, rsc, herbert.fischer CC=golang-dev https://golang.org/cl/6675043
-
Mikio Hara authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/6733043
-
- 17 Oct, 2012 10 commits
-
-
Nigel Tao authored
a linked list, not a slice. R=r, minux.ma CC=golang-dev https://golang.org/cl/6618055
-
Oling Cat authored
R=r, minux.ma, adg CC=golang-dev https://golang.org/cl/6710044
-
Rémy Oudompheng authored
Since this patch changes the way complex literals are written in export data, there are a few other glitches. Fixes #4159. R=golang-dev, rsc CC=golang-dev, remy https://golang.org/cl/6674047
-
Shane Hansen authored
Give better user feedback when invalid IV is used to construct a cipher. Fixes #3411 R=golang-dev, agl CC=golang-dev https://golang.org/cl/6652053
-
Adam Langley authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/6714053
-
Robert Griesemer authored
At the moment, gc and gccgo report compile- time errors for certain constant indexes that are out of bounds. The spec however requests a run-time panic for out-of-bounds indexes (http://tip.golang.org/ref/spec#Indexes). Document the status quo. Fixes #4231. R=r, rsc, iant, ken CC=golang-dev https://golang.org/cl/6699048
-
Daniel Morsing authored
Fixes #4104. R=golang-dev, dave, minux.ma CC=golang-dev https://golang.org/cl/6639051
-
Adam Langley authored
A 4-bit window is convenient because 4 divides both 32 and 64, therefore we never have a window spanning words of the exponent. Additionaly, the benefit of a 5-bit window is only 2.6% at 1024-bits and 3.3% at 2048-bits. This code is still not constant time, however. benchmark old ns/op new ns/op delta BenchmarkRSA2048Decrypt 17108590 11180370 -34.65% Benchmark3PrimeRSA2048Decrypt 13003720 7680390 -40.94% R=gri CC=golang-dev https://golang.org/cl/6716048
-
Shenghou Ma authored
only supports ARMv6K and newer ARM cores. R=rsc, dave CC=golang-dev https://golang.org/cl/6601064
-
Rob Pike authored
Define the properties of the arguments better. In particular, explain that the path is (sort of) relative to the argument to Walk. Fixes #4119. R=golang-dev, iant CC=golang-dev https://golang.org/cl/6721048
-
- 16 Oct, 2012 9 commits
-
-
Dave Cheney authored
Fixes #3590. R=bradfitz, mikioh.mikioh, iant, bsiegert CC=golang-dev https://golang.org/cl/6684054
-
Robert Griesemer authored
- always return 1 for y <= 0 - document that the sign of m is ignored - protect against div-0 panics by treating m == 0 the same way as m == nil - added extra tests Fixes #4239. R=agl, remyoudompheng, agl CC=golang-dev https://golang.org/cl/6724046
-
Adam Langley authored
The RFC doesn't actually have an opinion on whether this is a fatal or warning level alert, but common practice suggests that it should be a warning. This involves rebasing most of the tests. Fixes #3413. R=golang-dev, shanemhansen, rsc CC=golang-dev https://golang.org/cl/6654050
-
Robert Griesemer authored
Also: handle assignments to the blank identifier. R=rsc CC=golang-dev https://golang.org/cl/6658050
-
Dmitriy Vyukov authored
Fixes #4243. R=golang-dev, iant CC=golang-dev, sebastien.paolacci https://golang.org/cl/6682050
-
Shenghou Ma authored
R=adg, bsiegert CC=golang-dev https://golang.org/cl/6660047
-
Shenghou Ma authored
R=adg CC=golang-dev https://golang.org/cl/6650053
-
Shenghou Ma authored
so that keyboard navigation events are sent to div#page. Fixes #4233. R=adg CC=golang-dev https://golang.org/cl/6652048
-
Rémy Oudompheng authored
This patch is enough to fix compilation of exp/types tests but only passes a stripped down version of the appripriate torture test. Update #4207. R=dave, nigeltao, rsc, golang-dev CC=golang-dev https://golang.org/cl/6621061
-