aboutsummaryrefslogtreecommitdiff
path: root/test/ken/array.go
AgeCommit message (Collapse)Author
2012-02-24test: document ken/*.goRob Pike
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5694065
2012-02-16test: use testlib (fourth 100)Russ Cox
X ,s;^// \$G (\$D/)?\$F\.go *$;// compile;g X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A *$;// build;g X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A && \./\$A\.out *$;// run;g X ,s;^// errchk \$G( -e)? (\$D/)?\$F\.go *$;// errorcheck;g R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5673079
2012-02-03test: test slice beyond lenIan Lance Taylor
When slicing a slice, the bounds may be > len as long as they are <= cap. Interestingly, gccgo got that wrong and still passed the testsuite and all the library tests. R=golang-dev, rsc, iant CC=golang-dev https://golang.org/cl/5622053
2010-08-31test: don't assign address of array to slice.Ian Lance Taylor
R=rsc CC=golang-dev https://golang.org/cl/2084042
2010-03-30single argument panicRuss Cox
note that sortmain.go has been run through hg gofmt; only the formatting of the day initializers changed. i'm happy to revert that formatting if you'd prefer. stop on error in doc/progs/run R=r CC=golang-dev https://golang.org/cl/850041
2009-12-10make test/ken safe for optional semisRobert Griesemer
R=rsc, ken2, ken3 https://golang.org/cl/174042
2009-04-15code changes for array conversion.Russ Cox
as a reminder, the old conversion was that you could write var arr [10]byte; var slice []byte; slice = arr; but now you have to write slice = &arr; the change eliminates an implicit &, so that the only implicit &s left are in the . operator and in string(arr). also, removed utf8.EncodeRuneToString in favor of string(rune). R=r DELTA=83 (1 added, 23 deleted, 59 changed) OCL=27531 CL=27534
2009-01-16convert tests; nothing interesting.Russ Cox
R=r OCL=23012 CL=23014
2009-01-06new new & makeRuss Cox
R=r OCL=22166 CL=22166
2008-12-20fix some tests. only 3 remain broken (complit, hilbert, initcomma).Rob Pike
leaving golden.out alone for now. R=ken DELTA=13 (0 added, 0 deleted, 13 changed) OCL=21682 CL=21682
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18arraysKen Thompson
R=r OCL=21564 CL=21564
2008-11-24compiler catches out of bounds; work aroundRob Pike
R=ken OCL=19943 CL=19943
2008-09-03update testsRob Pike
add commands to two new ken tests R=gri OCL=14751 CL=14751
2008-08-29fix type of (1<<x)Ken Thompson
R=r OCL=14656 CL=14656