- 05 Jul, 2011 4 commits
-
-
Fazlul Shahriar authored
R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/4657074
-
Rob Pike authored
R=golang-dev, dsymonds, adg CC=golang-dev https://golang.org/cl/4626092
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/4626091
-
Rob Pike authored
Add the ability to attach functions to template and template sets. Make variadic functions and methods work. Still to come: static checking of function names during parse. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4643068
-
- 04 Jul, 2011 6 commits
-
-
Rob Pike authored
This allows us to drop some crufty scripting and provides a firmer footing for building better tools for preparing documents with source code inside. Also eliminate line numbers from the examples and text. R=golang-dev, adg CC=golang-dev https://golang.org/cl/4650069
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4657071
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4673042
-
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 5 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
-