- 13 Jun, 2011 3 commits
-
-
Stephen Ma authored
Fixes #1952. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4611041
-
Rob Pike authored
An unusual design using slice and a goroutine makes for a compact scanner with very little allocation. R=rsc, r CC=golang-dev, kevlar https://golang.org/cl/4610041
-
Alex Brainman authored
R=rsc CC=golang-dev https://golang.org/cl/4603043
-
- 12 Jun, 2011 1 commit
-
-
Robert Griesemer authored
Fixes #1936. Fixes #1940. R=rsc, r, iant, ken, iant CC=golang-dev https://golang.org/cl/4585049
-
- 11 Jun, 2011 5 commits
-
-
Alex Brainman authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4605044
-
Yasuhiro Matsumoto authored
implement using TransmitFile(). R=bsiegert, bradfitz, alex.brainman, rsc, go.peter.90 CC=golang-dev https://golang.org/cl/4536076
-
Robert Griesemer authored
R=r, bradfitz, rsc CC=golang-dev https://golang.org/cl/4572049
-
Robert Griesemer authored
R=r, r CC=golang-dev https://golang.org/cl/4592052
-
Rob Pike authored
%+q uses strconv.Quote[Rune]ToASCII, guaranteeing ASCII-only output. %#U a quoted character if the rune is printable: 'x'=U+0078; otherwise it's as before: U+000A. R=golang-dev, gri, rsc CC=golang-dev https://golang.org/cl/4589047
-
- 10 Jun, 2011 14 commits
-
-
Rob Pike authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4602054
-
Robert Griesemer authored
Fixes #1941. R=rsc CC=golang-dev https://golang.org/cl/4576053
-
Adam Langley authored
R=agl CC=golang-dev https://golang.org/cl/4572057
-
Adam Langley authored
R=bradfitz, r CC=golang-dev https://golang.org/cl/4581051
-
David Symonds authored
It comes up often enough that it's time to provide the utility of a standard package. R=r, mirtchovski, adg, rsc, n13m3y3r, ality, go.peter.90, lstoakes, iant, jan.mercl, bsiegert, robert.hencke, rogpeppe, befelemepeseveze, kevlar CC=golang-dev https://golang.org/cl/4557047
-
Yuval Pavel Zholkover authored
R=rsc, r CC=golang-dev https://golang.org/cl/4589042
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4605041
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/4591064
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4601052
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/4589045
-
Andrew Gerrand authored
R=r, rsc CC=golang-dev https://golang.org/cl/4571059
-
Dave Cheney authored
R=iant, rsc CC=golang-dev https://golang.org/cl/4601051
-
Brad Fitzpatrick authored
With the ReadFrom change in the sendfile CL, it became possible to illegally send a response to a HEAD request if you did it via io.Copy. Fixes #1939 R=rsc CC=golang-dev https://golang.org/cl/4584049
-
Dave Cheney authored
gcc-4.6 considers mktemp to be racey R=golang-dev, rsc, iant CC=golang-dev https://golang.org/cl/4602050
-
- 09 Jun, 2011 13 commits
-
-
David Symonds authored
R=rsc, r, bradfitz CC=golang-dev https://golang.org/cl/4590047
-
Russ Cox authored
Need to load math.a so that sqrtGoC is available. Also was missing prototype. R=ken2 CC=golang-dev https://golang.org/cl/4517148
-
Russ Cox authored
R=lvd CC=golang-dev https://golang.org/cl/4591063
-
Luuk van Dijk authored
R=rsc CC=golang-dev https://golang.org/cl/4604041
-
Russ Cox authored
Thumb code and ARM pre-V4 code is unused, unmaintained, and almost certainly wrong by now. Every time I try to change 5l I have to sort out what's dead code and what's not. 30% of lines of code in this directory deleted. R=ken2 CC=golang-dev https://golang.org/cl/4601049
-
Luuk van Dijk authored
After allocparams and walk, remove unused auto variables and re-layout the remaining in reverse alignment order. R=rsc CC=golang-dev https://golang.org/cl/4568068
-
Fan Hongjian authored
5a: add SQRTF and SQRTD 5l: add ASQRTF and ASQRTD Use ARMv7 VFP VSQRT instruction to speed up math.Sqrt R=rsc, dave, m CC=golang-dev https://golang.org/cl/4551082
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4591059
-
Quan Yong Zhai authored
check memory overlap R=rsc, r, ken, edsrzf CC=golang-dev https://golang.org/cl/4602047
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4572052
-
Rob Pike authored
Formality rejected. R=jeff CC=golang-dev https://golang.org/cl/4591057
-
Alex Brainman authored
Fixes #1912. R=rsc CC=golang-dev https://golang.org/cl/4591047
-
David Symonds authored
Supports ISO-8859-1 and UTF-8. R=rsc, bradfitz CC=golang-dev https://golang.org/cl/4568064
-
- 08 Jun, 2011 4 commits
-
-
Nigel Tao authored
This happens to speed up the decoder benchmarks by 50% on my computer (GOARCH=amd64 GOOS=linux), but I don't have a good intuition as to why. For example, just adding an unused [4096]byte field to the decoder struct doesn't significantly change the numbers. Before: lzw.BenchmarkDecoder1e4 5000 488057 ns/op 20.49 MB/s lzw.BenchmarkDecoder1e5 500 4613638 ns/op 21.67 MB/s lzw.BenchmarkDecoder1e6 50 45672260 ns/op 21.90 MB/s lzw.BenchmarkEncoder1e4 5000 353563 ns/op 28.28 MB/s lzw.BenchmarkEncoder1e5 500 3431618 ns/op 29.14 MB/s lzw.BenchmarkEncoder1e6 50 34009640 ns/op 29.40 MB/s After: lzw.BenchmarkDecoder1e4 5000 339725 ns/op 29.44 MB/s lzw.BenchmarkDecoder1e5 500 3166894 ns/op 31.58 MB/s lzw.BenchmarkDecoder1e6 50 31317260 ns/op 31.93 MB/s lzw.BenchmarkEncoder1e4 5000 354909 ns/op 28.18 MB/s lzw.BenchmarkEncoder1e5 500 3432710 ns/op 29.13 MB/s lzw.BenchmarkEncoder1e6 50 34010500 ns/op 29.40 MB/s R=rsc, r CC=golang-dev https://golang.org/cl/4535123
-
Brad Fitzpatrick authored
Via Russ Ross' bug report on golang-nuts, it was not possible to send an HTTP request with a zero length body with either a Content-Length (it was stripped) or chunking (it wasn't set). This means Go couldn't upload 0-length objects to Amazon S3. (which aren't as silly as they might sound, as S3 objects can have key/values associated with them, set in the headers) Amazon further doesn't supported chunked uploads. (not Go's problem, but we should be able to let users set an explicit Content-Length, even if it's zero.) To fix the ambiguity of an explicit zero Content-Length and the Request struct's default zero value, users need to explicit set TransferEncoding to []string{"identity"} to force the Request.Write to include a Content-Length: 0. identity is in RFC 2616 but is ignored pretty much everywhere. We don't even then serialize it on the wire, since it's kinda useless, except as an internal sentinel value. The "identity" value is then documented, but most users can ignore that because NewRequest now sets that. And adds more tests. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4603041
-
Brad Fitzpatrick authored
This replaces most the map[string][]string usage with a new Values type name, with the usual methods. It also changes client.PostForm to take a Values, rather than a map[string]string, closing a TODO in the code. R=rsc CC=golang-dev https://golang.org/cl/4532123
-
Robert Griesemer authored
(TODO: should replace this with a Go program, eventually) R=bradfitz CC=golang-dev https://golang.org/cl/4584047
-