1
0
mirror of https://github.com/golang/go synced 2024-10-07 09:11:21 -06:00
go/src
Rob Pike 0a75a79cc0 bytes: API tweaks
- fix documentation for NewBuffer and NewBufferString
- document and implement behavior of Truncate on invalid lengths

Fixes #2837.

R=rsc, adg
CC=golang-dev
https://golang.org/cl/5637044
2012-02-06 15:29:21 +11:00
..
cmd cmd/go: build: print import errors when invoked on files 2012-02-06 14:10:03 +11:00
lib9 lib9/utf: make safe for automatic build 2012-02-03 15:19:00 -05:00
libbio
libmach libmach: add stubs for Plan 9 2012-01-31 18:13:17 -08:00
pkg bytes: API tweaks 2012-02-06 15:29:21 +11:00
all-qemu.bash build: update all-qemu.bash 2011-07-28 13:04:30 -04:00
all.bash build: use cmd/dist 2012-02-04 00:54:08 -05:00
all.bat build: dist-based build for windows 2012-02-04 00:48:31 -05:00
buildinfo.sh build: fix build 2011-12-20 17:00:52 -05:00
clean.bash build: use cmd/dist 2012-02-04 00:54:08 -05:00
make.bash cmd/dist: fix build 2012-02-04 01:23:54 -05:00
make.bat build: dist-based build for windows 2012-02-04 00:48:31 -05:00
Make.ccmd build: move the "-c" flag into HOST_CFLAGS 2012-01-31 19:31:30 -08:00
Make.clib gc: check in y.tab.[ch], yerr.h, builtin.c. 2012-02-03 10:53:31 -05:00
Make.cmd go: move compilers into the go-tool directory 2012-01-30 14:46:31 -08:00
Make.common
Make.ctool 5a, 6a, 8a, cc: check in y.tab.[ch] 2012-02-03 10:53:51 -05:00
Make.inc build: rename $GOROOT/bin/go-tool to $GOROOT/bin/tool. 2012-02-02 23:32:41 -05:00
quietgcc.bash build: handle spaces in $USER 2011-07-28 13:04:52 -04:00
run.bash build: use cmd/dist 2012-02-04 00:54:08 -05:00
run.bat build: dist-based build for windows 2012-02-04 00:48:31 -05:00
sudo.bash build: fix sudo.bash. 2012-02-05 14:50:38 +11:00
version.bash build: force numerical comparison in version.bash 2012-01-30 23:33:16 -05:00