aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/container/vector/stringvector_test.go
AgeCommit message (Collapse)Author
2011-10-11container/vector: deleteRob Pike
Slices are better: http://code.google.com/p/go-wiki/wiki/SliceTricks R=golang-dev, bradfitz, dsymonds CC=golang-dev https://golang.org/cl/5248060
2011-07-14go/printer: changed max. number of newlines from 3 to 2Robert Griesemer
manual changes in src/pkg/go/printer, src/cmd/gofix/signal_test.go (cd src/cmd/gofix/testdata; gofmt -w *.in *.out) (cd src/pkg/go/printer; gotest -update) gofmt -w misc src runs all tests R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4715041
2010-12-07throughout: fix broken calls to Printf etc.Rob Pike
I have written a tool to verify Printf calls, and although it's not ready to be reviewed yet it's already uncovered a spate of problems in the repository. I'm sending this CL to break the changes into pieces; as the tool improves it will find more, I'm sure. R=rsc CC=golang-dev https://golang.org/cl/3427043
2010-07-12container/vector: rename Data() -> Copy()Robert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/1814043
2010-07-12container/vector: remove Iter() from interfaceRobert Griesemer
(Iter() is almost never the right mechanism to call. Per discussion with rsc.) R=rsc CC=golang-dev https://golang.org/cl/1771043
2010-05-31vector: undo changes to autogenerated filesFazlul Shahriar
Also, move Do() to vector.go, so that Do() for IntVector and StringVector is autogenerated. The only files edited are Makefile, defs.go, and vector.go. The rest are autogenerated with "make generate". R=r CC=golang-dev, hoisie https://golang.org/cl/1435041
2010-05-31IntVector.Do now takes an f(int), and StringVector.Do now takes an f(string).Michael Hoisie
R=r CC=golang-dev https://golang.org/cl/1433041
2009-12-22Cleanup: remove Exp ending in identifiersRobert Griesemer
as it is not needed anymore (only one impl. of vector package). Makefile, vector_test.go, and nogen_test.go were modified manually (find/replace), the other files (intvector_test.go, strinvector_test.go are generated). Runs all tests. R=r https://golang.org/cl/182041
2009-12-22Replace container/vector with exp/vector (faster).Robert Griesemer
Manual changes to the following files: src/pkg/Makefile src/pkg/exp/vector/Makefile (now: src/pkg/container/vector/Makefile) R=rsc, r CC=golang-dev https://golang.org/cl/181041