1
0
mirror of https://github.com/golang/go synced 2024-10-05 02:11:22 -06:00
go/src/pkg/bytes
Brad Fitzpatrick e2a1bd68b3 bytes: move IndexByte assembly to pkg runtime
Per suggestion from Russ in February. Then strings.IndexByte
can be implemented in terms of the shared code in pkg runtime.

Update #3751

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/12289043
2013-08-01 16:11:19 -07:00
..
buffer_test.go bytes: Benchmark Buffer's compactions 2013-03-29 14:17:09 -07:00
buffer.go bytes: document that Buffer.Write grows the buffer 2013-03-29 14:09:31 -07:00
bytes_decl.go bytes: move IndexByte assembly to pkg runtime 2013-08-01 16:11:19 -07:00
bytes_test.go runtime/bytes: fast Compare for byte arrays and strings. 2013-05-14 16:05:51 -07:00
bytes.go all: be more idiomatic when documenting boolean return values. 2013-07-23 11:59:49 +10:00
bytes.s bytes: move IndexByte assembly to pkg runtime 2013-08-01 16:11:19 -07:00
compare_test.go runtime/bytes: fast Compare for byte arrays and strings. 2013-05-14 16:05:51 -07:00
equal_test.go bytes: don't leave mprotect-ed pages after unsafe test. 2013-04-03 08:30:20 -07:00
example_test.go bytes, strings: add TrimPrefix and TrimSuffix 2013-02-01 08:41:25 -08:00
export_test.go bytes: don't grow Buffer if capacity is available 2013-03-29 12:39:19 -07:00
reader_test.go bytes, strings: fix Reader WriteTo return value on 0 bytes copied 2012-11-25 09:04:13 -08:00
reader.go bytes, strings: fix Reader WriteTo return value on 0 bytes copied 2012-11-25 09:04:13 -08:00