- 10 Jul, 2013 8 commits
-
-
Nigel Tao authored
R=r, andybons CC=andybons, golang-dev https://golang.org/cl/10977043
-
Robert Griesemer authored
R=khr CC=golang-dev https://golang.org/cl/11131043
-
Robert Griesemer authored
Instead, rely on the type checker. R=adonovan CC=golang-dev https://golang.org/cl/10826044
-
Andrew Gerrand authored
R=golang-dev, dsymonds, bradfitz CC=golang-dev https://golang.org/cl/11095043
-
Alex Brainman authored
Fixes #5783 R=golang-dev, r CC=golang-dev https://golang.org/cl/10956043
-
Robert Griesemer authored
The notion of a named type is crucial for the definition of type identity, assignability, definitions of methods. Explicitly introduce the notion with an extra sentence. Fixes #5682. R=r, rsc, iant CC=golang-dev https://golang.org/cl/11055043
-
Brad Fitzpatrick authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/11080043
-
Andrew Gerrand authored
Fixes #5843. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/11073043
-
- 09 Jul, 2013 5 commits
-
-
Rob Pike authored
Merging a couple of CLs into one, since they collided in my client and I'm lazy. 1) Fix up output in "go test -cover" case. We need to tell the testing package the name of the package being tested and the name of the package being covered. It can then sort out the report. 2) Filter out the _test.go files from coverage processing. We want to measure what the tests cover, not what's covered in the tests, The coverage for encoding/gob goes from 82.2% to 88.4%. There may be a cleaner way to do this - suggestions welcome - but ça suffit. Fixes #5810. R=rsc CC=golang-dev https://golang.org/cl/10868047
-
Robert Griesemer authored
Fixes #5787. R=r CC=golang-dev https://golang.org/cl/11057043
-
Nigel Tao authored
R=r, rsc, andybons CC=andybons, golang-dev https://golang.org/cl/10890045
-
Dave Cheney authored
Fix warning found by clang 3.3. R=rsc, r CC=golang-dev https://golang.org/cl/11022043
-
ChaiShushan authored
R=r CC=golang-dev https://golang.org/cl/10758044
-
- 08 Jul, 2013 1 commit
-
-
Andrew Gerrand authored
Fixes #5503. R=golang-dev, r CC=golang-dev https://golang.org/cl/10989043
-
- 07 Jul, 2013 1 commit
-
-
Shenghou Ma authored
CL 10869046 changed cmd/go to checkout master branch, so for "go get -u" to work, it must "git pull" instead of "git fetch". Added "--ff-only" so that it won't accidentally overwrite user changes. R=dsymonds CC=golang-dev https://golang.org/cl/10907043
-
- 05 Jul, 2013 5 commits
-
-
Daniel Morsing authored
Fixes #5809. R=golang-dev, dave, rsc, nigeltao CC=golang-dev https://golang.org/cl/10785043
-
Oliver Hookins authored
R=golang-dev, dave, adg CC=golang-dev https://golang.org/cl/10862045
-
Dave Cheney authored
Part 3 of several. * Linux has grown a SetsockoptByte. * SetsockoptIPMreqn is handled directly by syscall_linux.go and syscall_freebsd.go. R=golang-dev, mikioh.mikioh, r, bradfitz CC=golang-dev https://golang.org/cl/10775043
-
Andrew Gerrand authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/10868046
-
Nigel Tao authored
The lzw.NewReader doc comment says, "It is the caller's responsibility to call Close on the ReadCloser when finished reading." Thanks to Andrew Bonventre for noticing this. R=r, dsymonds, adg CC=andybons, golang-dev https://golang.org/cl/10821043
-
- 04 Jul, 2013 1 commit
-
-
Andrew Gerrand authored
R=dsymonds CC=golang-dev https://golang.org/cl/10933044
-
- 03 Jul, 2013 6 commits
-
-
Robert Griesemer authored
Instead, leave the error testing to the type checker, eventually. Fixes #5827. R=adonovan CC=golang-dev https://golang.org/cl/10917043
-
Brad Fitzpatrick authored
ReadMIMEHeader is used by net/http, net/mail, and mime/multipart. Don't do so many small allocations. Calculate up front how much we'll probably need. benchmark old ns/op new ns/op delta BenchmarkReadMIMEHeader 8433 7467 -11.45% benchmark old allocs new allocs delta BenchmarkReadMIMEHeader 23 14 -39.13% benchmark old bytes new bytes delta BenchmarkReadMIMEHeader 1705 1343 -21.23% R=golang-dev, r, iant, adg CC=golang-dev https://golang.org/cl/8179043
-
Brad Fitzpatrick authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/10840044
-
David Symonds authored
origin/master is always a remote branch, and it doesn't make sense to switch to a remote branch. master is the default branch that tracks it. R=adg CC=golang-dev, matt.jibson https://golang.org/cl/10869046
-
Rob Pike authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/10761048
-
ChaiShushan authored
Fixes #5760. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/10871043
-
- 02 Jul, 2013 12 commits
-
-
Adam Langley authored
This does not include AES-GCM yet. Also, it assumes that the handshake and certificate signature hash are always SHA-256, which is true of the ciphersuites that we currently support. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/10762044
-
David Symonds authored
R=gri, r CC=golang-dev https://golang.org/cl/10679047
-
Shenghou Ma authored
using m->tls[0] to save ucontext pointer is not re-entry safe, and the old code didn't set it before the early return when signal is received on non-Go threads. so misc/cgo/test used to hang when testing issue 5337. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/10076045
-
Daniel Morsing authored
Escape analysis needs the right curfn value on a dclfunc node, otherwise it will not analyze the function. When generating method value wrappers, we forgot to set the curfn correctly. Fixes #5753. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/10383048
-
Rémy Oudompheng authored
A struct with a single field was considered as equivalent to the field type, which is incorrect is the field is blank. Fields with padding could make the compiler think some types are comparable when they are not. Fixes #5698. R=rsc, golang-dev, daniel.morsing, bradfitz, gri, r CC=golang-dev https://golang.org/cl/10271046
-
Yasuhiro Matsumoto authored
R=golang-dev, dsymonds, dominik.honnef CC=golang-dev https://golang.org/cl/9293043
-
Russ Cox authored
TBR=golang-dev CC=golang-dev https://golang.org/cl/10856043
-
Jeff R. Allen authored
When deleting a timer, a panic due to nil deref would leave a lock held, possibly leading to a deadlock in a defer. Instead return false on a nil timer. Fixes #5745. R=golang-dev, daniel.morsing, dvyukov, rsc, iant CC=golang-dev https://golang.org/cl/10373047
-
ChaiShushan authored
R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/10458045
-
Volker Dobler authored
This CL provides stable in-place sorting by use of bottom up merge sort with in-place merging done by the SymMerge algorithm from P.-S. Kim and A. Kutzner. The additional space needed for stable sorting (in the form of stack space) is logarithmic in the inputs size n. Number of calls to Less and Swap grow like O(n * log n) and O(n * log n * log n): Stable sorting random data uses significantly more calls to Swap than the unstable quicksort implementation (5 times more on n=100, 10 times more on n=1e4 and 23 times more on n=1e8). The number of calls to Less is practically the same for Sort and Stable. Stable sorting 1 million random integers takes 5 times longer than using Sort. BenchmarkSortString1K 50000 328662 ns/op BenchmarkStableString1K 50000 380231 ns/op 1.15 slower BenchmarkSortInt1K 50000 157336 ns/op BenchmarkStableInt1K 50000 191167 ns/op 1.22 slower BenchmarkSortInt64K 1000 14466297 ns/op BenchmarkStableInt64K 500 16190266 ns/op 1.12 slower BenchmarkSort1e2 200000 64923 ns/op BenchmarkStable1e2 50000 167128 ns/op 2.57 slower BenchmarkSort1e4 1000 14540613 ns/op BenchmarkStable1e4 100 58117289 ns/op 4.00 slower BenchmarkSort1e6 5 2429631508 ns/op BenchmarkStable1e6 1 12077036952 ns/op 4.97 slower R=golang-dev, bradfitz, iant, 0xjnml, rsc CC=golang-dev https://golang.org/cl/9612044
-
Russ Cox authored
Design doc at golang.org/s/go12slice. R=golang-dev, r, nightlyone CC=golang-dev https://golang.org/cl/10761045
-
Russ Cox authored
Design doc at golang.org/s/go12slice. This is an experimental feature and may not be included in the release. R=golang-dev, r CC=golang-dev https://golang.org/cl/10743046
-
- 01 Jul, 2013 1 commit
-
-
Andrew Gerrand authored
This fixes an issue where linking directly to an example makes it not runnable and visible only in a tiny window. To see the bug in action, visit this link: http://golang.org/pkg/strings/#example_Map R=golang-dev, r CC=golang-dev https://golang.org/cl/10679050
-