Commits

Show all
Author Commit Message Labels Comments Date
Rob Pike
release step 1 R=gri CC=golang-dev http://codereview.appspot.com/3022041
Tags
weekly.2010-11-10
Branches
default
Ian Lance Taylor
path: Fix Glob when it finds a file in directory position. When searching a list of directories, the files which match the pattern are accumulated in a slice. If the glob has a wildcard for the directory, and the wildcard matches a file rather than a directory, then the files found so far are discarded. E.g., path.Glob("*/x") in a directory which contains both files and subdirectories. This patch avoids discarding matches found so far when a file is fo…
Branches
default
Robert Griesemer
sort: binary search for sorted slices R=r, r2 CC=golang-dev http://codereview.appspot.com/2997041 Committer: Robert Griesemer <gri@golang.org>
Branches
default
rogpeppe
testing: delete redundant name argument to Benchmark(). [it was a carry over from the previous iteration] R=r CC=golang-dev http://codereview.appspot.com/3016041 Committer: Rob Pike <r@golang.org>
Branches
default
Ken Thompson
fix error converting result of complex division. resolves issue 1261. R=rsc CC=golang-dev http://codereview.appspot.com/2985043
Branches
default
Robert Griesemer
go/ast: change embedded token.Position fields to named fields This is in preparation for a different position representation. It also resolves situations where a node would be printed as it's node position simply because the embedded token.Position has a String method. R=r CC=golang-dev http://codereview.appspot.com/2991041
Branches
default
peterGo
doc: fix go_spec spelling errors R=gri CC=golang-dev http://codereview.appspot.com/2970042 Committer: Robert Griesemer <gri@golang.org>
Branches
default
rogpeppe
container/list: make Remove return Value of removed element. When it is known that there is already at least one element in the list, it is awkwardly verbose to use three lines and an extra variable declaration to remove the first or last item (a common case), rather than use a simple expression. a stack: stk.PushFront(x) x = stk.Front().Remove().(T) vs. stk.PushFront(x) e := stk.Front() e.Remove() x = e.Value.(T) [An alternative CL might be to add PopFront and PopBack methods]. R=gri CC=golang-dev http://codereview.appspot.com/3000041 Committer: Robert Griesemer <gri@golang.org>
Branches
default
peterGo
doc: fix go_spec spelling error R=rsc, gri CC=golang-dev http://codereview.appspot.com/2985041 Committer: Robert Griesemer <gri@golang.org>
Branches
default
Evan Shaw
bytes: SSE for bytes.IndexByte on amd64 Performance on 2.8 GHz Intel Core i7: Before: BenchmarkIndexByte4K 1000000 2997 ns/op 1366.70 MB/s BenchmarkIndexByte4M 500 3049772 ns/op 1375.28 MB/s BenchmarkIndexByte64M 50 49582280 ns/op 1353.48 MB/s After: BenchmarkIndexByte4K 10000000 298 ns/op 13744.97 MB/s BenchmarkIndexByte4M 10000 285993 n…
Branches
default
Rob Pike
json: don't indirect before testing for custom unmarshaler Fixes issue 1260. R=gri CC=golang-dev http://codereview.appspot.com/2994041
Branches
default
Robert Griesemer
os.Expand: don't call append for each non-variable char R=r CC=golang-dev http://codereview.appspot.com/2993041
Branches
default
Rob Pike
strconv: quote erroneous string in errors Fixes issue 1253. R=gri CC=golang-dev http://codereview.appspot.com/2990041
Branches
default
Rob Pike
os: add Expand function to evaluate environment variables. Fixes issue 1258. R=gri, msolo, bradfitzpatrick, r2 CC=golang-dev http://codereview.appspot.com/2988041
Branches
default
Luuk van Dijk
6l/8l: generate dwarf variable names with disambiguating suffix. R=rsc CC=golang-dev http://codereview.appspot.com/2733042
Branches
default
Andrey Mirtchovski
doc/codewalk: update for changes in log package R=adg, r CC=golang-dev http://codereview.appspot.com/2984041 Committer: Rob Pike <r@golang.org>
Branches
default
vcc
net: fix windows build R=rsc CC=golang-dev http://codereview.appspot.com/2932041 Committer: Russ Cox <rsc@golang.org>
Branches
default
peterGo
testing: rename type Test to InternalTest type Benchmark has been renamed to InternalBenchmark R=rsc CC=golang-dev http://codereview.appspot.com/2942042 Committer: Russ Cox <rsc@golang.org>
Branches
default
Russ Cox
env.bash: more quoting in case of spaces R=r, r2 CC=golang-dev http://codereview.appspot.com/2938041
Branches
default
Russ Cox
libmach: detail for darwin errors R=r, r2 CC=golang-dev http://codereview.appspot.com/2937041
Branches
default
peterGo
syscall: use 64-bit file size for truncation on Linux Truncate and Ftruncate for 32-bit Linux should use 64-bit offset system calls. R=rsc CC=golang-dev, royger http://codereview.appspot.com/2943041 Committer: Russ Cox <rsc@golang.org>
Branches
default
cwedgwood
io: use SetFinalizer more elegantly in Pipe (this works now that issue 751 is resolved) R=rsc CC=golang-dev http://codereview.appspot.com/2834041 Committer: Russ Cox <rsc@golang.org>
Branches
default
Rob Pike
gob: don't add "." if package path is empty when registering a type. R=rsc CC=golang-dev http://codereview.appspot.com/2939041
Branches
default
Eric Clark
gc: doc nit R=rsc, r CC=golang-dev http://codereview.appspot.com/2918042 Committer: Rob Pike <r@golang.org>
Branches
default
kr
net: provide public access to file descriptors Fixes issue 918. R=rsc, rog, brainman CC=golang-dev http://codereview.appspot.com/2904041 Committer: Russ Cox <rsc@golang.org>
Branches
default
Russ Cox
A+C: Keith Rarick (individual CLA) R=r, r2 CC=golang-dev, kr http://codereview.appspot.com/2894042
Branches
default
Russ Cox
runtime: explain nacl closure failure R=r, r2 CC=golang-dev http://codereview.appspot.com/2889042
Branches
default
Evan Shaw
6l: More SSE instruction fixes PSADBW and PSHUFL had the wrong prefixes. R=rsc CC=golang-dev http://codereview.appspot.com/2836041 Committer: Russ Cox <rsc@golang.org>
Branches
default
Benny Siegert
path: add Glob As discussed in http://groups.google.com/group/golang-dev/browse_thread/thread/926b7d550d98ec9e, add a simple "path expander" function, which returns all the files matching the given pattern. This function is called Glob after glob(3) in libc. Also add a convenience function, hasMeta, that checks whether a string contains one of the characters which are specially handled by Match. R=rsc, r, r2 C…
Branches
default
Rob Pike
CLA: Benny Siegert <bsiegert@gmail.com> R=rsc CC=golang-dev http://codereview.appspot.com/2934041
Branches
default
  1. Prev
  2. Next