- 17 Nov, 2008 2 commits
-
-
Russ Cox authored
to make qsort more robust: * use "ninther" to choose pivot. * use three-way partition to avoid quadratic behavior on all-one-value arrays. also add tests suggested in that paper. the immediate cause of the slowness we observed was in fact none of these: the recursive call was sorting data[0:m] instead of data[a:m]. also rename package to "sort" to match convention. R=r,gri DELTA=358 (255 added, 21 deleted, 82 changed) OCL=19341 CL=19373
-
Robert Griesemer authored
- syntax change - missing: corresponding language DELTA=5 (2 added, 0 deleted, 3 changed) OCL=19221 CL=19352
-
- 16 Nov, 2008 1 commit
-
-
Ken Thompson authored
func perm(n int) *map[int]int R=r OCL=19340 CL=19340
-
- 15 Nov, 2008 5 commits
-
-
Russ Cox authored
R=ken OCL=19299 CL=19299
-
Ian Lance Taylor authored
multiple method names with a single type. R=r,gri DELTA=10 (0 added, 10 deleted, 0 changed) OCL=19292 CL=19298
-
Rob Pike authored
TBR=rsc OCL=19297 CL=19297
-
Russ Cox authored
R=r DELTA=129 (81 added, 0 deleted, 48 changed) OCL=19283 CL=19291
-
Ken Thompson authored
R=r OCL=19288 CL=19288
-
- 14 Nov, 2008 8 commits
-
-
Robert Griesemer authored
R=r DELTA=8 (6 added, 0 deleted, 2 changed) OCL=19273 CL=19275
-
Rob Pike authored
reorder pieces so io is earlier R=rsc DELTA=66 (27 added, 24 deleted, 15 changed) OCL=19248 CL=19255
-
Robert Griesemer authored
var v Vector.Vector; v.Init(); ... - clear vector elements in Reset - removed some comments that seem redundant R=r DELTA=16 (9 added, 5 deleted, 2 changed) OCL=19247 CL=19247
-
Russ Cox authored
R=r DELTA=8 (1 added, 0 deleted, 7 changed) OCL=19245 CL=19245
-
Russ Cox authored
$ 6cov -g 235.go 6.out 235.go:62,62 main·main 0x27c9-0x2829 MOVL $main·.stringo(SB),AX 235.go:30,30 main·main 0x2856-0x285e ADDQ $6c0,SP $ and assorted fixes. R=r DELTA=743 (732 added, 8 deleted, 3 changed) OCL=19226 CL=19243
-
Rob Pike authored
R=rsc DELTA=38 (14 added, 10 deleted, 14 changed) OCL=19242 CL=19242
-
Robert Griesemer authored
- related cleanups R=r OCL=19227 CL=19227
-
Robert Griesemer authored
- implemented elastic tabstops algorithm, now correct and documented - first cut at printing comments (use -comments flag, disabled for now) - struct field types are now aligned (using elastic tab stops) - needs more fine-tuning * fixed a bug in test script * added quick smoke test to makefile and invoke it in run.bash instead of the full test R=r OCL=19220 CL=19220
-
- 13 Nov, 2008 8 commits
-
-
Rob Pike authored
also add code to print (pointers to) arrays, through %v. R=rsc DELTA=108 (70 added, 33 deleted, 5 changed) OCL=19184 CL=19192
-
Russ Cox authored
R=r OCL=19172 CL=19172
-
Russ Cox authored
if an object in an archive tries to refer to a file in its original source directory, ignore it. * 6ar: fix bug if archive is empty. * gobuild: build archive in current directory. * math: use new gobuild Makefile. * test/math.go: rename to mathest.go, add // run line, make it run. R=r DELTA=494 (277 added, 203 deleted, 14 changed) OCL=19090 CL=19171
-
Ken Thompson authored
R=r OCL=19166 CL=19166
-
Ken Thompson authored
R=r OCL=19146 CL=19146
-
Ian Lance Taylor authored
R=gri DELTA=36 (18 added, 18 deleted, 0 changed) OCL=19059 CL=19133
-
Rob Pike authored
R=rsc DELTA=27 (16 added, 11 deleted, 0 changed) OCL=19130 CL=19132
-
Rob Pike authored
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=19131 CL=19131
-
- 12 Nov, 2008 8 commits
-
-
Robert Griesemer authored
R=r OCL=19107 CL=19109
-
Rob Pike authored
R=rsc OCL=19101 CL=19101
-
Rob Pike authored
R=rsc DELTA=32 (32 added, 0 deleted, 0 changed) OCL=19084 CL=19091
-
Robert Griesemer authored
- implemented some missing functionality (and, or, xor of positive ints) R=r OCL=19087 CL=19087
-
Ian Lance Taylor authored
is recognized by the gccgo testsuite but is ignored by the errchk script used with 6g. method1.go:7:1: error: redefinition of 'M': parameter types changed method1.go:6:1: note: previous definition of 'M' was here method1.go:10:1: error: redefinition of 'f': parameter types changed method1.go:9:1: note: previous definition of 'f' was here method1.go:13:1: error: redefinition of 'g': parameter names changed method1.go:12:1: note: previous definition of 'g' was here R=rsc DELTA=5 (0 added, 0 deleted, 5 changed) OCL=18962 CL=19058
-
Ian Lance Taylor authored
separate per-function namespace. R=gri DELTA=24 (8 added, 16 deleted, 0 changed) OCL=19006 CL=19057
-
Ken Thompson authored
R=r OCL=19056 CL=19056
-
Rob Pike authored
either the buffer is full, zero bytes were read, or an error is returned. R=rsc DELTA=44 (42 added, 0 deleted, 2 changed) OCL=19027 CL=19047
-
- 11 Nov, 2008 5 commits
-
-
Russ Cox authored
last resort, because it assumes every call is a real use of the conversion. R=ken OCL=19026 CL=19026
-
Russ Cox authored
* check for uncomputed struct offsets * distinguish function structs from ordinary structs * make sure function structs are not examined in isolation R=ken OCL=19005 CL=19005
-
Ian Lance Taylor authored
that is generated on Goobuntu. R=r,rsc DELTA=2 (1 added, 0 deleted, 1 changed) OCL=18973 CL=18976
-
Rob Pike authored
add newline after stack traces. R=rsc DELTA=3 (2 added, 1 deleted, 0 changed) OCL=18945 CL=18953
-
Robert Griesemer authored
- new code enabled, but no comments printed yet (so the effect of the elastic tabs is not seen yet) TBR=r DELTA=200 (93 added, 69 deleted, 38 changed) OCL=18951 CL=18951
-
- 10 Nov, 2008 3 commits
-
-
Russ Cox authored
* use union, not cast, to convert between uint64 and float64, to avoid possible problems with gcc in future. R=r DELTA=75 (39 added, 15 deleted, 21 changed) OCL=18926 CL=18926
-
Rob Pike authored
R=gri DELTA=28 (12 added, 14 deleted, 2 changed) OCL=18923 CL=18923
-
Russ Cox authored
R=r DELTA=48 (23 added, 14 deleted, 11 changed) OCL=18707 CL=18922
-