- 04 Jul, 2011 3 commits
-
-
Rob Pike authored
Also simplify the handling of keywords. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4639096
-
Rob Pike authored
It's probably just an oversight that it doesn't work, perhaps caused by analogy with Cap. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4634125
-
Andrew Gerrand authored
R=golang-dev, r, dsymonds CC=golang-dev https://golang.org/cl/4645078
-
- 02 Jul, 2011 3 commits
-
-
Andrew Gerrand authored
R=rsc, mattn.jp CC=golang-dev https://golang.org/cl/4627065
-
Andrew Gerrand authored
R=rsc, julian CC=golang-dev https://golang.org/cl/4642049
-
Andrew Gerrand authored
This permits full URLs to be shown on the dashboard, not just the repository roots. This has been tested. R=rsc, mattn.jp CC=golang-dev https://golang.org/cl/4627081
-
- 01 Jul, 2011 8 commits
-
-
Adam Langley authored
This changes Signature so that parsed signatures can be reserialized exactly. With this ability we can add Serialize to Entity and also the ability to sign other public keys. R=bradfitz CC=golang-dev https://golang.org/cl/4627084
-
Paul Borman authored
csv reader/writer based on RFC 4180 R=rsc, mattn.jp, r, dchest CC=golang-dev https://golang.org/cl/4629085
-
Russ Cox authored
R=borman, bradfitz CC=golang-dev https://golang.org/cl/4654079
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4668049
-
Alex Brainman authored
R=golang-dev, m, rsc CC=golang-dev https://golang.org/cl/4639091
-
Wei Guangjing authored
Fixes #1487. R=rsc, alex.brainman, go.peter.90, mikioh.mikioh, mattn.jp CC=golang-dev https://golang.org/cl/4600042
-
Yasuhiro Matsumoto authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4667051
-
Lucio De Re authored
8c/gc.h: . Added <u.h> header. . Added "lD" pragma for "*Adr" to supplement "D". 8c/swt.c: . Removed unreferenced "thestring" arguments in Bprint() calls. cc/acid.c: cc/com.c: cc/com64.c: cc/dcl.c: cc/scon.c: . Added <u.h>, required by "cc.h". cc/bits.c: . Added <u.h>, required by "cc.h". cc/cc.h: . Removed <u.h> and <ctype.h>. . Added "O" pragma to accept "uint" as well as "int". . Added new "U" pragma (char *). cc/cc.y: . Added <u.h> before <stdio.h> (and "cc.h"). cc/dpchk.c: cc/mac.c: . Added <u.h> and <ctype.h>. cc/funct.c: . Added <u.h>, required by "cc.h". cc/godefs.c . Added <u.h>, required by "cc.h". . Dropped unused "t" argument in Bprint(). cc/lex.c: . Added <u.h> and <ctype.h>. . Removed unnecessary incrementation. . Changed exit() invocations with exits(). cc/omachcap.c: . Added <u.h>, required by "cc.h". . USED(n) for unused argument to machcap(). cc/sub.c: . Added <u.h> and <ctype.h>. R=rsc CC=golang-dev https://golang.org/cl/4629070
-
- 30 Jun, 2011 14 commits
-
-
Brad Fitzpatrick authored
R=rsc CC=golang-dev https://golang.org/cl/4643062
-
Yasuhiro Matsumoto authored
R=golang-dev, bradfitz, alex.brainman CC=golang-dev https://golang.org/cl/4635042
-
Dmitriy Vyukov authored
This implementation allows a goroutine to do successive acquisitions of a mutex even if there are blocked goroutines. Moreover, it allows a newcomer goroutine to acquire a mutex ahead of blocked goroutines (that is, it does not enforce FIFO). On implementation level it's achieved by separating waiter count and locked flag. Benchmark results on HP Z600 (2 x Xeon E5620, 8 HT cores, 2.40GHz) are as follows (with 4631059 "replace Semacquire/Semrelease implementation" patch applied): benchmark old ns/op new ns/op delta sync_test.BenchmarkMutexUncontended 24.10 25.40 +5.39% sync_test.BenchmarkMutexUncontended-2 12.00 13.00 +8.33% sync_test.BenchmarkMutexUncontended-4 6.06 6.83 +12.71% sync_test.BenchmarkMutexUncontended-8 3.63 3.60 -0.83% sync_test.BenchmarkMutexUncontended-16 2.38 2.49 +4.62% sync_test.BenchmarkMutex 25.00 26.40 +5.60% sync_test.BenchmarkMutex-2 231.00 49.00 -78.79% sync_test.BenchmarkMutex-4 259.00 114.00 -55.98% sync_test.BenchmarkMutex-8 641.00 110.00 -82.84% sync_test.BenchmarkMutex-16 1380.00 96.30 -93.02% sync_test.BenchmarkMutexSlack 24.80 26.20 +5.65% sync_test.BenchmarkMutexSlack-2 210.00 106.00 -49.52% sync_test.BenchmarkMutexSlack-4 453.00 119.00 -73.73% sync_test.BenchmarkMutexSlack-8 1024.00 105.00 -89.75% sync_test.BenchmarkMutexSlack-16 1291.00 91.90 -92.88% sync_test.BenchmarkMutexWork 796.00 796.00 +0.00% sync_test.BenchmarkMutexWork-2 399.00 401.00 +0.50% sync_test.BenchmarkMutexWork-4 216.00 212.00 -1.85% sync_test.BenchmarkMutexWork-8 1547.00 196.00 -87.33% sync_test.BenchmarkMutexWork-16 2754.00 287.00 -89.58% sync_test.BenchmarkMutexWorkSlack 792.00 800.00 +1.01% sync_test.BenchmarkMutexWorkSlack-2 430.00 420.00 -2.33% sync_test.BenchmarkMutexWorkSlack-4 467.00 230.00 -50.75% sync_test.BenchmarkMutexWorkSlack-8 1860.00 273.00 -85.32% sync_test.BenchmarkMutexWorkSlack-16 3029.00 294.00 -90.29% R=rsc CC=golang-dev https://golang.org/cl/4631075
-
Russ Cox authored
Except for the inevitable bug fixes, the Regexp code is done. R=sam.thorogood, r CC=golang-dev https://golang.org/cl/4635082
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4629084
-
Yasuhiro Matsumoto authored
R=nigeltao CC=golang-dev https://golang.org/cl/4636067
-
Julian Phillips authored
This change extends goinstall to support "magic" package names of the form: <host>/<repo>.<vcs>/<path> Where <host> is the hostname, <repo> the path to the repository, <vcs> the type of vcs (git, hg, bzr or svn), and <path> is the path inside the repository that contains the source code for the package. For example: "example.com/pub/foo.hg/src" means download the Mercurial repository at either pub/foo.hg or pub/foo from example.com and then build and install the source files from src inside the repository checkout. Repositories on the built-in hostings sites (github, bitbucket, launchpad and googlecode) must still use the old form (i.e. github.com/xxx/yyy.git/src will be rejected). R=adg, rsc CC=golang-dev https://golang.org/cl/4626064
-
Yasuhiro Matsumoto authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4650062
-
Yasuhiro Matsumoto authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4625078
-
Andrew Gerrand authored
Fixes #2026. R=bradfitz, rsc CC=golang-dev https://golang.org/cl/4645074
-
Brad Fitzpatrick authored
No API or functional change. R=jacek.masiulaniec, mikioh.mikioh, rsc CC=golang-dev https://golang.org/cl/4630081
-
Rob Pike authored
Fixes #2024 R=adg, dsymonds CC=golang-dev https://golang.org/cl/4635083
-
David Symonds authored
Open is more likely to be present than Syscall. R=rsc CC=golang-dev https://golang.org/cl/4645073
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4635081
-
- 29 Jun, 2011 12 commits
-
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/4634113
-
Andrew Gerrand authored
R=rsc, r, bsiegert CC=golang-dev https://golang.org/cl/4643058
-
Alex Brainman authored
Fixes #2025. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4636075
-
Andrew Balholm authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4634112
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4630080
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4626085
-
Russ Cox authored
Each package using struct field tags assumes that it is the only package storing data in the tag. This CL adds support in package reflect for sharing tags between multiple packages. In this scheme, the tags must be of the form key:"value" key2:"value2" (raw strings help when writing that tag in Go source). reflect.StructField's Tag field now has type StructTag (a string type), which has method Get(key string) string that returns the associated value. Clients of json and xml will need to be updated. Code that says type T struct { X int "name" } should become type T struct { X int `json:"name"` // or `xml:"name"` } Use govet to identify struct tags that need to be changed to use the new syntax. R=r, r, dsymonds, bradfitz, kevlar, fvbommel, n13m3y3r CC=golang-dev https://golang.org/cl/4645069
-
Wei Guangjing authored
R=rsc, alex.brainman, hectorchu, r CC=golang-dev https://golang.org/cl/3759042
-
Robert Hencke authored
Fixes #1971. R=adg, rsc CC=golang-dev https://golang.org/cl/4630056
-
Rob Pike authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4667047
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/4628073
-
Russ Cox authored
Also reuse of *Regexp nodes. I believe this is the end of the parser. The only non-execution code that remains is the code to expand x{3,5} into simpler operations. R=sam.thorogood, r CC=golang-dev https://golang.org/cl/4629078
-