go/src
Sokolov Yura 9d9722a2e1 runtime: fix using fastrand in sema.go
Before CL 62530 fastrand always returned non-zero value, and one
condition in sema.go depends on this behavior.

fastrand is used to generate random weight for treap of sudog, and
it is checked against zero to verify sudog were inserted into treap or
wait queue.

Since its precision is not very important for correctness, lets just
always set its lowest bit in this place.

Updates #22047
Updates #21806

Change-Id: Iba0b56d81054e6ef9c49ffd293fc5d92a6a31e9b
Reviewed-on: https://go-review.googlesource.com/68050
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-10-04 18:41:11 +00:00
..
archive archive/tar: fix typo in documentation 2017-10-03 16:24:53 +00:00
bufio
builtin
bytes bytes: correct Map documentation 2017-10-04 14:27:22 +00:00
cmd cmd/compile: remove Local flags on Type and Node 2017-10-04 17:55:43 +00:00
compress compress/bzip2: fix checksum mismatch on empty reads 2017-09-25 23:05:58 +00:00
container container/heap: call t.Helper() in verify() 2017-09-13 17:22:00 +00:00
context context: fix references to "d" in WithDeadline docs 2017-09-21 03:00:51 +00:00
crypto crypto/x509: add string conversion of PKIX names 2017-10-03 00:11:25 +00:00
database/sql database/sql: fix unreachable code in ColumnTypes test 2017-10-04 16:30:44 +00:00
debug debug/macho: fill Rpath.LoadBytes in NewFile 2017-09-27 04:01:40 +00:00
encoding encoding/asn1: respect “explicit” and “tag” when unmarshaling RawValues. 2017-09-30 17:01:26 +00:00
errors
expvar expvar: make (*Map).Init clear existing keys 2017-09-11 21:31:51 +00:00
flag flag: align multi-line usage strings 2017-09-28 20:45:32 +00:00
fmt fmt: Implement pp.WriteString method 2017-09-20 06:48:34 +00:00
go go/printer: allow one-method interfaces to be printed on a single line 2017-10-03 16:41:54 +00:00
hash
html all: prefer strings.IndexByte over strings.Index 2017-09-25 17:35:41 +00:00
image all: fix article typos 2017-09-15 02:39:16 +00:00
index/suffixarray
internal all: prefer strings.LastIndexByte over strings.LastIndex 2017-09-27 00:54:24 +00:00
io io: Add benchmarks for CopyN 2017-09-20 15:00:31 +00:00
log log: fix data race on log.Output 2017-09-19 20:35:24 +00:00
math math/big: remove []byte/string conversions 2017-10-04 17:16:52 +00:00
mime all: prefer strings.IndexByte over strings.Index 2017-09-25 17:35:41 +00:00
net net/smtp: fix PlainAuth to refuse to send passwords to non-TLS servers 2017-10-04 18:02:41 +00:00
os all: prefer strings.LastIndexByte over strings.LastIndex 2017-09-27 00:54:24 +00:00
path path/filepath: add example for Walk 2017-09-27 14:52:58 +00:00
plugin runtime, plugin: error not throw on duplicate open 2017-09-09 16:26:33 +00:00
reflect reflect: fix method indexing for non-ASCII exported methods 2017-09-28 18:06:53 +00:00
regexp regexp: make (*bitState).push inlinable 2017-09-25 19:34:26 +00:00
runtime runtime: fix using fastrand in sema.go 2017-10-04 18:41:11 +00:00
sort sort: update main example to use Slice along with Sort 2017-09-24 14:40:37 +00:00
strconv all: fix article typos 2017-09-15 02:39:16 +00:00
strings strings: improve readability of IndexAny and LastIndexAny functions. 2017-09-25 18:23:11 +00:00
sync sync/atomic: add memory barriers to Load/StoreInt32 on darwin/arm 2017-10-02 09:57:23 +00:00
syscall syscall: correct TCGETS/TCSETS values on ppc64/ppc64le 2017-09-27 14:53:47 +00:00
testing all: prefer strings.LastIndexByte over strings.LastIndex 2017-09-27 00:54:24 +00:00
text all: use sort.Slice in a few more places 2017-09-22 12:39:14 +00:00
time time: enable ZONEINFO tzdata file support and error reporting 2017-10-03 14:35:32 +00:00
unicode all: prefer strings.IndexByte over strings.Index 2017-09-25 17:35:41 +00:00
unsafe
vendor/golang_org/x
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
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