- 06 Jul, 2011 11 commits
-
-
Rob Pike authored
Also delete a TODO and clean up a little evaluation code. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4643071
-
David Symonds authored
R=r CC=golang-dev https://golang.org/cl/4671048
-
Rob Pike authored
We extract the concrete value inside. R=golang-dev, adg CC=golang-dev https://golang.org/cl/4677041
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4636086
-
Rob Pike authored
This is unused in the generation of the tables, but was incorrect if we ever needed it. Also update the reference to the document. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4626097
-
David Symonds authored
R=r CC=golang-dev https://golang.org/cl/4672044
-
Rob Pike authored
- fix line numbers - forgot to update state.line during execution - add a comment convention {{/* comment */}} - set.Template returns the named template in the set - set.Execute executes the named template in the set - use a local methodByName so this package can be used with earlier release of reflect. - use initial cap to detect exported names R=golang-dev, adg CC=golang-dev https://golang.org/cl/4668054
-
David Symonds authored
R=r, gri TBR=r CC=golang-dev https://golang.org/cl/4671047
-
Yasuhiro Matsumoto authored
R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/4626080
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4626095
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4675053
-
- 05 Jul, 2011 8 commits
-
-
Luuk van Dijk authored
6g -W crashed on any source with a goto. this fixes that. R=rsc, r CC=golang-dev https://golang.org/cl/4675052
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4670045
-
Andrew Gerrand authored
Fixes #2017. R=golang-dev, r CC=golang-dev https://golang.org/cl/4675047
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4675046
-
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 4 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
-