summaryrefslogtreecommitdiff
path: root/src/pkg/bytes
AgeCommit message (Expand)AuthorFilesLines
2010-04-14bytes: shuffle implementation, making WriteByte 50% fasterRuss Cox1-37/+27
2010-03-30single argument panicRuss Cox1-1/+2
2010-03-26bytes, strings: IndexOfAnyRobert Griesemer2-16/+69
2010-03-05bufio: WriteRuneRob Pike1-1/+1
2010-03-05Add ReadRune and WriteRune to bytes.BufferRob Pike2-6/+77
2010-02-25strings: delete Runes, BytesRuss Cox1-15/+14
2010-02-17apply gofmt to src and miscRobert Griesemer1-1/+1
2010-01-25in C and asm, replace pkg·name with ·nameRuss Cox3-4/+4
2010-01-02Remove redundant size check in resize. Let callers worry about that and resiz...Yongjian Xu1-5/+2
2009-12-19new comments for bytes.NewBuffer and NewBufferString.Rob Pike1-8/+12
2009-12-15bytes, strings: add new function FieldsAndrey Mirtchovski2-0/+68
2009-12-15 1) Change default gofmt default settings forRobert Griesemer4-348/+348
2009-12-14When the buffer is empty, reset b.off to the beginning of the bufferRob Pike1-2/+20
2009-12-11bytes, strings: allow -1 in Map to mean "drop this character".Kei Son2-9/+25
2009-12-07Remove copyBytes completely in favor of copy.Christopher Wedgwood1-11/+2
2009-12-06Make printing faster by avoiding mallocs and some other advances.Rob Pike1-37/+37
2009-12-04bytes: asm for bytes.IndexByteRuss Cox7-1/+96
2009-12-04avoid an allocation inside bytes.Buffer by providing a static array.Rob Pike1-8/+4
2009-12-03Add ReadFrom and WriteTo methods to bytes.Buffer, to enable i/o without buffe...Rob Pike2-0/+77
2009-12-02Runes: turn string into []intPeter Froehlich2-0/+59
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia1-2/+2
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox3-9/+9
2009-11-18add bytes.IndexByte; common case we can make fast later.Rob Pike2-17/+69
2009-11-18remove bytes.CopyRob Pike3-50/+7
2009-11-16 An asked-for-in #go-nuts extension to quickly create a repeatedDavid G. Andersen2-0/+40
2009-11-15fix bug in bytes.Map and add test cases for Map in both strings and bytes pac...Rob Pike2-3/+29
2009-11-10minor adjustments to package comments for better synopsis.Robert Griesemer1-1/+1
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer4-41/+41
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer4-78/+78
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer3-33/+11
2009-11-04gofmt-ify bytesRobert Griesemer2-3/+4
2009-11-04bytes.SplitAfter and strings.SplitAfterRuss Cox2-5/+50
2009-10-31return "<nil>" when calling String() on a nil bytes.Buffer.Rob Pike2-1/+13
2009-10-27files that are okay from the last gofmt roundRuss Cox2-13/+9
2009-10-21fix typo/oversight: s/Title/ToTitle/. the comment was already correctRob Pike1-1/+1
2009-10-12fix comment on strings.LastIndex.Russ Cox1-0/+15
2009-10-08more lgtm files from gofmtRuss Cox3-93/+103
2009-10-06another round of gofmt applicationsRuss Cox2-70/+69
2009-09-22restore the old algorithm. the new one is more memory efficient in large casesRob Pike1-262/+93
2009-09-21move strings.Buffer into bytesRob Pike2-84/+361
2009-09-16rename bytes.Buffer.Data() to bytes.Buffer.Bytes()Rob Pike2-8/+14
2009-09-15more "declared and not used".Russ Cox3-9/+12
2009-09-14fix "declared and not used" errors in non-test code.Russ Cox1-2/+2
2009-09-13Add and AddByteRob Pike2-0/+83
2009-09-01casing operations for byte arraysRob Pike2-1/+182
2009-08-12convert low-level (used by testing) packages toRuss Cox4-61/+10
2009-06-29delete io.ByteBufferRuss Cox1-9/+9
2009-06-29io.StringBytes -> strings.BytesRuss Cox4-10/+308
2009-06-24Change strings.Split, bytes.Split to take a maximum substring count argument.David Symonds2-36/+53
2009-06-24make bytes.Copy both src- and dst- limitedRuss Cox2-12/+18