summaryrefslogtreecommitdiff
path: root/src/pkg/bytes
AgeCommit message (Collapse)AuthorFilesLines
2009-10-08more lgtm files from gofmtRuss Cox3-93/+103
R=gri OCL=35485 CL=35488
2009-10-06another round of gofmt applicationsRuss Cox2-70/+69
R=gri DELTA=900 (106 added, 31 deleted, 763 changed) OCL=35384 CL=35396
2009-09-22restore the old algorithm. the new one is more memory efficient in large casesRob Pike1-262/+93
but too slow across the board. R=rsc DELTA=315 (50 added, 219 deleted, 46 changed) OCL=34868 CL=34902
2009-09-21move strings.Buffer into bytesRob Pike2-84/+361
delete strings.Buffer add a test for a bug not caught before (mustn't install zero-length blocks) R=rsc DELTA=987 (289 added, 587 deleted, 111 changed) OCL=34850 CL=34850
2009-09-16rename bytes.Buffer.Data() to bytes.Buffer.Bytes()Rob Pike2-8/+14
R=rsc DELTA=152 (6 added, 0 deleted, 146 changed) OCL=34695 CL=34701
2009-09-15more "declared and not used".Russ Cox3-9/+12
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
2009-09-14fix "declared and not used" errors in non-test code.Russ Cox1-2/+2
R=r DELTA=112 (6 added, 57 deleted, 49 changed) OCL=34610 CL=34610
2009-09-13Add and AddByteRob Pike2-0/+83
R=rsc DELTA=83 (83 added, 0 deleted, 0 changed) OCL=34584 CL=34584
2009-09-01casing operations for byte arraysRob Pike2-1/+182
R=rsc DELTA=186 (181 added, 0 deleted, 5 changed) OCL=34203 CL=34203
2009-08-12convert low-level (used by testing) packages toRuss Cox4-61/+10
whole-package compilation. new Makefiles, tests now in separate package bytes flag fmt io math once os reflect strconv sync time utf8 delete import "xxx" in package xxx. inside package xxx, xxx is not declared anymore so s/xxx.//g delete file and package level forward declarations. note the new internal_test.go and sync and strconv to provide public access to internals during testing. the installed version of the package omits that file and thus does not open the internals to all clients. R=r OCL=33065 CL=33097
2009-06-29delete io.ByteBufferRuss Cox1-9/+9
R=r DELTA=25 (0 added, 15 deleted, 10 changed) OCL=30892 CL=30892
2009-06-29io.StringBytes -> strings.BytesRuss Cox4-10/+308
io.ByteBuffer -> bytes.Buffer left io.ByteBuffer stub around for now, for protocol compiler. R=r OCL=30861 CL=30872
2009-06-24Change strings.Split, bytes.Split to take a maximum substring count argument.David Symonds2-36/+53
R=rsc APPROVED=r DELTA=131 (39 added, 10 deleted, 82 changed) OCL=30669 CL=30723
2009-06-24make bytes.Copy both src- and dst- limitedRuss Cox2-12/+18
and return the number of bytes copied. R=r DELTA=18 (6 added, 0 deleted, 12 changed) OCL=30693 CL=30712
2009-06-09mv src/lib to src/pkgRob Pike3-0/+381
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102