aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/encoding/binary/varint_test.go
AgeCommit message (Collapse)Author
2014-09-08build: move package sources from src/pkg to srcRuss Cox
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.
2014-01-27all: use {bytes,strings}.NewReader instead of bytes.BuffersBrad Fitzpatrick
Use the smaller read-only bytes.NewReader/strings.NewReader instead of a bytes.Buffer when possible. LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/54660045
2012-01-20encoding/varint: deleted WriteXvarintRobert Griesemer
Fixes #2748. R=rsc, r, r CC=golang-dev https://golang.org/cl/5557072
2011-12-20encoding/binary: add more benchmarksRoger Peppe
Also add a byte count to the varint benchmarks - this isn't accurate, of course, but it allows a rough comparison to the other benchmarks. R=golang-dev, r CC=golang-dev https://golang.org/cl/5496070
2011-11-01src/pkg/[a-m]*: gofix -r error -force=errorRuss Cox
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5322051
2011-10-05encoding/binary: added benchmarksRobert Griesemer
binary.BenchmarkPutUvarint32 20000000 85.6 ns/op binary.BenchmarkPutUvarint64 10000000 299 ns/op R=rsc CC=golang-dev https://golang.org/cl/5148049
2011-09-29encoding/binary: PutX functions require buffer of sufficient size.Robert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/5163041
2011-09-28encoding/binary: support for varint encodingRobert Griesemer
R=rsc, r, nigeltao, r, dsymonds CC=golang-dev https://golang.org/cl/5146048