- 04 Sep, 2013 2 commits
-
-
Rob Pike authored
Based on an old suggestion by rsc, it compares the second and following arguments to the first. Unfortunately the code cannot be as pretty as rsc's original because it doesn't require identical types. R=golang-dev, dsymonds, adg CC=golang-dev https://golang.org/cl/13509046
-
Mikio Hara authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/13261049
-
- 03 Sep, 2013 2 commits
-
-
Adam Langley authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13335050
-
Brad Fitzpatrick authored
We were reading 1024 bytes but only using 512. Fixes #6311 R=golang-dev, iant CC=golang-dev https://golang.org/cl/13289047
-
- 02 Sep, 2013 1 commit
-
-
Mikio Hara authored
Update #3610 Update #5267 Update #5707 R=golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/13465043
-
- 31 Aug, 2013 9 commits
-
-
Keith Randall authored
Use cnew/cnewarray instead of mallocgc. R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/13396045
-
Joel Sing authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/13328045
-
Joel Sing authored
Add runtime and syscall support for dragonfly/386. R=golang-dev, iant CC=golang-dev https://golang.org/cl/13237051
-
Joel Sing authored
Add generated z* files for dragonfly/386. R=golang-dev, iant CC=golang-dev https://golang.org/cl/13303046
-
Keith Randall authored
Remove all hashtable-specific GC code. Fixes bug 6119. R=cshapiro, dvyukov, khr CC=golang-dev https://golang.org/cl/13078044
-
Joel Sing authored
R=golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/13225043
-
Mikio Hara authored
Also flattens import declaration. R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/13373046
-
Mikio Hara authored
This CL makes resolveInternetAddr return a list of addresses that contain a pair of different address family IP addresses if possible, but doesn't contain any API behavioral changes yet. A simple IP address selection mechanism for Resolve{TCP,UDP,IP}Addr and Dial API still prefers IPv4. This is in preparation for TCP connection setup with fast failover on dual IP stack node as described in RFC 6555. Update #3610 Update #5267 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13374043
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/13316044
-
- 30 Aug, 2013 13 commits
-
-
Brad Fitzpatrick authored
compress/flate is https://golang.org/cl/12953048 compress/zlib is https://golang.org/cl/13171046 Update #6138 R=golang-dev, iant CC=golang-dev https://golang.org/cl/13435043
-
Tad Glines authored
Update #4805 Add the ability to set an open connection limit. Fixed case where the Conn finalCloser was being called with db.mu locked. Added separate benchmarks for each path for Exec and Query. Replaced slice based idle pool with list based idle pool. R=bradfitz CC=golang-dev https://golang.org/cl/10726044
-
Adam Langley authored
This change allows people who want to parse or set odd X.509 extensions to do so without having to add support for them all to the package. I tried to make it so that only a single member: Extensions would be needed. However, that would mean detecting when the caller had altered the contents of it so that parsing and marshaling a certificate wouldn't ignore all changes to the other members. This ended up being messy, thus the current design where there are two members: one for reading and another for writing. As crypto/x509 adds support for more extensions in the future, the raw extensions will still be in Extensions for older code that expects it there. Also, future extensions will be overridden by any raw extensions added to ExtraExtensions by code that was written before support was added. R=golang-dev, r CC=golang-dev, jpsugar https://golang.org/cl/12056043
-
Dmitriy Vyukov authored
Also introduce BGET2/4, BPUT2/4 as they are widely used. Slightly improve BGETC/BPUTC implementation. This gives ~5% CPU time improvement on go install -a -p1 std. Before: real user sys 0m23.561s 0m16.625s 0m5.848s 0m23.766s 0m16.624s 0m5.846s 0m23.742s 0m16.621s 0m5.868s after: 0m22.999s 0m15.841s 0m5.889s 0m22.845s 0m15.808s 0m5.850s 0m22.889s 0m15.832s 0m5.848s R=golang-dev, r CC=golang-dev https://golang.org/cl/12745047
-
Nigel Tao authored
include the new image/color/palette package. R=r CC=golang-dev https://golang.org/cl/13314044
-
Nigel Tao authored
image/color package into their own package. They require some non- trivial init-time code (interface conversions, currently 40KiB of text) that would otherwise burden any Go program that imported image/color. R=r CC=golang-dev https://golang.org/cl/13256046
-
Rob Pike authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13324046
-
Mikio Hara authored
This CL adds a new type addrList that will carry a short list of IP addresses to dial helper functions in the upcoming CLs. This is in preparation for TCP connection setup with fast failover on dual IP stack node as described in RFC 6555. Update #3610 Update #5267 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13241046
-
Brad Fitzpatrick authored
Breaks build, and has a race. ««« original CL description database/sql: add SetMaxOpenConns Update #4805 Add the ability to set an open connection limit. Fixed case where the Conn finalCloser was being called with db.mu locked. Added seperate benchmarks for each path for Exec and Query. Replaced slice based idle pool with list based idle pool. R=bradfitz CC=golang-dev https://golang.org/cl/10726044 »»» R=golang-dev CC=golang-dev https://golang.org/cl/13252046
-
Tad Glines authored
Update #4805 Add the ability to set an open connection limit. Fixed case where the Conn finalCloser was being called with db.mu locked. Added seperate benchmarks for each path for Exec and Query. Replaced slice based idle pool with list based idle pool. R=bradfitz CC=golang-dev https://golang.org/cl/10726044
-
Brad Fitzpatrick authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/13416043
-
Emil Hessman authored
Fixes #6132. R=golang-dev, adg CC=golang-dev https://golang.org/cl/12858049
-
Mikio Hara authored
This CL adds the netaddr interface that will carry a single network endpoint address or a short list of IP addresses to dial helper functions in the upcoming CLs. This is in preparation for TCP connection setup with fast failover on dual IP stack node as described in RFC 6555. Update #3610 Update #5267 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13368044
-
- 29 Aug, 2013 13 commits
-
-
Brad Fitzpatrick authored
Use either LWP::UserAgent or curl to make HTTP requests so it works on Windows (most Perl distros include LWP::UserAgent), and also on OS X (whose Perl at least sometimes doesn't include LWP::UserAgent). Fixes #6273 R=golang-dev, alex.brainman, cldorian CC=golang-dev https://golang.org/cl/13330044
-
Keith Randall authored
This replaces the mcall frame with the badmcall frame instead of leaving the mcall frame on the stack and adding the badmcall frame. Because mcall is no longer on the stack, traceback will now report what called mcall, which is what we would like to see in this situation. R=golang-dev, cshapiro CC=golang-dev https://golang.org/cl/13012044
-
Brad Fitzpatrick authored
Minor. Saw this in a profile at few percent of CPU and was curious what it was. Improves overall regexp benchmarks anywhere from 0 to 3%, but they're a pain to run. You need to run them in isolation for long runs to get stable numbers. benchmark old ns/op new ns/op delta BenchmarkEmptyOpContext 537 473 -11.92% R=golang-dev, crawshaw CC=golang-dev https://golang.org/cl/13407043
-
Adam Langley authored
AES-GCM is the only current TLS ciphersuite that doesn't have cryptographic weaknesses (RC4), nor major construction issues (CBC mode ciphers) and has some deployment (i.e. not-CCM). R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13249044
-
Brad Fitzpatrick authored
I noticed that this one benchmark in particular was very noisy. Looking into it, I saw that the table was wrong and inconsistent with the lines above and below. R=golang-dev, crawshaw CC=golang-dev https://golang.org/cl/13393045
-
Shenghou Ma authored
R=bradfitz, alberto.garcia.hierro, rsc, adg CC=golang-dev https://golang.org/cl/7099045
-
Carl Shapiro authored
When searching for an allocated bit, flushptrbuf would search backward in the bitmap word containing the bit of pointer being looked-up before searching the span. This extra check was not replicated in markonly which, instead, after not finding an allocated bit for a pointer would directly look in the span. Using statistics generated from godoc, before this change span lookups were, on average, more common than word lookups. It was common for markonly to consult spans for one third of its pointer lookups. With this change in place, what were previously span lookups are overwhelmingly become by the word lookups making the total number of span lookups a relatively small fraction of the whole. This change also introduces some statistics gathering about lookups guarded by the CollectStats enum. R=golang-dev, khr CC=golang-dev https://golang.org/cl/13311043
-
Keith Randall authored
#pragma textflag and #pragma dataflag directives. Update dataflag directives to use symbols instead of integer constants. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13310043
-
Rémy Oudompheng authored
Fixes #6138. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12953048
-
Brad Fitzpatrick authored
Fixes #5378 R=golang-dev, r CC=golang-dev https://golang.org/cl/13247044
-
Daniel Morsing authored
Types in function scope can have methods on them if they embed another type, but we didn't make the name unique, meaning that 2 identically named types in different functions would conflict with eachother. Fixes #6269. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13326045
-
Lucio De Re authored
These instructions are emitted when GO386=387 or the target i386 CPU does not have SSE2 capabilities. Fixes #6215. R=golang-dev, remyoudompheng CC=golang-dev https://golang.org/cl/12812045
-
Rémy Oudompheng authored
The compiler computes initialization order by finding a spanning tree between a package's global variables. But it does so by walking both variables and functions and stops detecting cycles between variables when they mix with a cycle of mutually recursive functions. Fixes #4847. R=golang-dev, daniel.morsing, rsc CC=golang-dev https://golang.org/cl/9663047
-