summaryrefslogtreecommitdiff
path: root/src/bytes
Commit message (Expand)AuthorAgeFilesLines
* bytes, strings: optimize Trim for single byte cutsetsJoe Tsai2021-08-252-5/+32
* bytes: correct tense in commentIan Lance Taylor2021-03-151-1/+1
* all: remove duplicate wordsJohn Bampton2021-03-131-1/+1
* bufio, bytes, strings: handle negative runes in WriteRuneDavid Benjamin2021-02-242-1/+13
* all: go fmt std cmd (but revert vendor)Russ Cox2021-02-201-0/+1
* bytes: add example for (*Buffer).BytesFederico Guerinoni2020-11-111-0/+7
* all: update references to symbols moved from io/ioutil to ioRuss Cox2020-10-201-5/+4
* bytes, internal/bytealg: fix incorrect IndexString usageMichael Munday2020-09-231-18/+32
* bytes: simpler and faster FieldsFunc (apply same changes as for strings)Robert Griesemer2020-05-011-10/+11
* bytes, strings: align requirements for functions passed to FieldFuncsMartin Möhrmann2020-04-291-2/+3
* bytes: narrow the search of IndexByte in IndexAndy Pan2020-03-231-4/+4
* strings, bytes: improve IndexAny and LastIndexAny performanceerifan012020-03-112-12/+139
* bytes, strings: moves indexRabinKarp function to internal/bytealgerifan012020-03-042-65/+27
* bytes: deflake TestGrow by using testing.AllocsPerRunHowJMay2020-02-261-10/+9
* hash/maphash: move bytes/hash to hash/maphashKeith Randall2019-11-023-732/+0
* bytes/hash: initialize all 64 bits of hash seedKeith Randall2019-10-212-1/+17
* bytes: add endian base compare testMeng Zhuo2019-10-071-0/+33
* strings, bytes: clarify usage of EqualFoldsAndrew Medvedev2019-09-211-1/+2
* bytes/hash: disable seed test on 32-bit platformsKeith Randall2019-09-031-0/+4
* bytes/hash: add hashing package for bytes and stringsKeith Randall2019-08-293-0/+712
* bytes: remove obsolete commentMaxim Eryomenko2019-05-281-3/+0
* strings, bytes: add ToValidUTF8Martin Möhrmann2019-05-012-0/+79
* bytes, internal/bytealg: simplify EqualJosh Bleecher Snyder2019-04-243-28/+13
* bytes: optimize ToLower and ToUpper for ASCII-only caseTobias Klauser2019-04-092-4/+94
* bytes: merge explodetests into splittestsTobias Klauser2019-04-031-29/+3
* bytes, strings: add tests for TrimLeftFunc and TrimRightFuncBen Hoyt2019-03-291-12/+63
* bytes: make TrimSpace return nil on all-space inputBen Hoyt2019-03-272-30/+46
* bytes: add hard benchmarks for Index and CountTobias Klauser2019-03-151-0/+23
* bytes, strings: speed up TrimSpace 4-5x for common ASCII casesBen Hoyt2019-03-122-4/+45
* bytes: return early in Repeat if count is 0Tobias Klauser2019-03-091-1/+4
* bytes: use Rabin-Karp algorithm for LastIndexTobias Klauser2019-03-081-4/+43
* bytes: add benchmark for LastIndexTobias Klauser2019-03-081-0/+10
* bytes: add examples for ToTitleSpecial, ToUpperSpecial and ToLowerSpecialKetan Parmar2019-03-011-0/+30
* bytes: clean up a testLeon Klingele2019-02-261-14/+8
* bytes: hoist error creation out of functionMarcel van Lohuizen2019-02-261-1/+3
* bytes: add ReplaceAll exampledupoxy2018-12-131-0/+6
* all: use "reports whether" consistently instead of "returns whether"Tobias Klauser2018-12-021-1/+1
* strings,bytes: use inlineable function trampolines instead of linknameKeith Randall2018-11-082-24/+19
* bytes, strings: fix Reader.UnreadRune returning without error on a zero ReaderTim Cooper2018-10-292-1/+47
* bytes: vary the input alignment to Compare argument in compare_test.goLotusFenn2018-10-111-3/+10
* bytes, strings: add ReplaceAllBrad Fitzpatrick2018-09-262-0/+15
* strings, bytes: optimize function Indexerifan012018-09-131-13/+15
* bytes: remove bootstrap array from BufferIskander Sharipov2018-09-061-7/+8
* bytes: add example for Buffer.LenErin Masatsugu2018-08-301-0/+8
* bytes: note that NewBuffer's initial size can changeAlberto Donizetti2018-08-291-3/+3
* all: fix typos detected by github.com/client9/misspellKazuhiro Sera2018-08-231-1/+1
* strings, bytes: avoid unnecessary function literalsJohan Brandhorst2018-08-221-3/+3
* bytes, strings: fix comparison of long byte slices on s390xbill_ofarrell2018-06-291-2/+13
* bytes: re-slice buffer to its previous length after call to grow()Dave Russell2018-05-292-0/+34
* bytes, strings: improve EqualFold fast version for ASCIIEric Pauley2018-05-011-3/+3