go/src
David Glasser 82bc0d4e80 math/rand: document that NewSource sources race
While it was previously explicitly documented that "the default Source"
is safe for concurrent use, a careless reader can interpret that as
meaning "the implementation of the Source interface created by functions
in this package" rather than "the default shared Source used by
top-level functions". Be explicit that the Source returned by NewSource
is not safe for use by multiple goroutines.

Fixes #3611.

Change-Id: Iae4bc04c3887ad6e2491e36e38feda40324022c5
Reviewed-on: https://go-review.googlesource.com/25501
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-02 05:16:21 +00:00
..
archive archive/tar: make Reader error handling consistent 2016-08-31 23:22:53 +00:00
bufio
builtin
bytes bytes: Use the same algorithm as strings for Index 2016-09-01 18:05:50 +00:00
cmd cmd/dist: make test names consistent 2016-09-02 00:15:24 +00:00
compress compress/flate: always return uncompressed data in the event of error 2016-08-31 01:12:02 +00:00
container container/list: silence vet warnings 2016-08-16 14:35:37 +00:00
context all: use time.Until where applicable 2016-08-30 01:23:46 +00:00
crypto crypto/tls: add Config.Clone 2016-09-01 04:26:12 +00:00
database/sql database/sql: don't hang if the driver Exec method panics 2016-08-29 16:51:56 +00:00
debug all: use testing.GoToolPath instead of "go" 2016-08-30 22:49:11 +00:00
encoding encoding/xml: do not ignore error return from copyValue 2016-08-22 18:01:47 +00:00
errors
expvar
flag flag: improve comment for calling String with zero value 2016-08-23 22:07:43 +00:00
fmt
go go/doc: allow ToHTML to properly handle URLs containing semicolons 2016-09-01 21:23:04 +00:00
hash hash/crc32: cleanup code and improve tests 2016-08-31 15:17:57 +00:00
html
image
index/suffixarray index/suffixarray: add Lookup example 2016-08-21 01:10:22 +00:00
internal internal/testenv: make MustHaveSymlink message friendly 2016-08-24 05:08:52 +00:00
io io: fix comment in test 2016-08-22 22:27:59 +00:00
log log/syslog: document that Dial uses net.Dial parameters, add example 2016-08-19 01:01:47 +00:00
math math/rand: document that NewSource sources race 2016-09-02 05:16:21 +00:00
mime mime/quotedprintable: add examples 2016-08-29 17:39:21 +00:00
net net/http: omit Content-Length in Response.Write for 1xx or 204 status 2016-09-01 21:10:22 +00:00
os all: use testing.GoToolPath instead of "go" 2016-08-30 22:49:11 +00:00
path path/filepath: handle ".." in normalizing a path on Windows 2016-08-30 20:01:49 +00:00
reflect reflect: cleanup wording for type identity/equality 2016-08-30 22:40:52 +00:00
regexp regexp: add some tests that were fixed in #12980 2016-08-16 18:36:43 +00:00
runtime bytes: Use the same algorithm as strings for Index 2016-09-01 18:05:50 +00:00
sort
strconv
strings strings: add special cases for Join of 2 and 3 strings 2016-08-16 00:33:15 +00:00
sync cmd/compile: intrinsify sync/atomic for amd64 2016-08-30 15:23:23 +00:00
syscall syscall: add some debugging to TestGetfsstat 2016-08-31 05:14:30 +00:00
testing testing: respect benchtime on very fast benchmarks 2016-08-10 19:44:08 +00:00
text text/template: remove unused Tree.parse return value 2016-08-17 22:36:27 +00:00
time time: Add Until helper function 2016-08-30 00:10:47 +00:00
unicode
unsafe unsafe: document use of &^ to round/align pointers 2016-08-18 16:45:17 +00:00
vendor/golang_org/x/net vendor: update vendored route 2016-08-24 00:14:58 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: use go list to get pkg dir 2016-08-29 15:24:39 +00:00
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc