Oleg Ivanov
|
28e216136a
|
fixed the same value always generated for 256-divisor chars
|
2014-08-10 00:37:31 +10:00 |
|
Oleg Ivanov
|
1b691aeab2
|
fixed an endless loop when length of chars is a divisor of 256
|
2014-08-09 23:08:44 +10:00 |
|
Dmitry Chestnykh
|
6004a1368e
|
Revert "Remove panic not needed since Go 1.1."
This reverts commit 53e2fd7421 .
|
2013-12-12 18:01:04 +01:00 |
|
Dmitry Chestnykh
|
53e2fd7421
|
Remove panic not needed since Go 1.1.
|
2013-09-23 18:48:36 +02:00 |
|
Dmitry Chestnykh
|
97550955b0
|
Style fix.
|
2012-01-20 15:24:58 +01:00 |
|
Dmitry Chestnykh
|
00f2f1a9e4
|
Fix for Go weekly.2012-01-15.
|
2012-01-16 14:29:26 +01:00 |
|
Dmitry Chestnykh
|
958b406e0e
|
Avoid modulo bias.
|
2011-06-06 14:34:01 +02:00 |
|
Dmitry Chestnykh
|
e810e021c7
|
Use io.ReadFull to read from random source.
|
2011-04-05 21:52:50 +02:00 |
|
Dmitry Chestnykh
|
6c4e68eee9
|
Move 0 to position before 1.
|
2011-04-05 21:48:27 +02:00 |
|
Dmitry Chestnykh
|
7f58d67fe3
|
Simplify reading from rand.
|
2011-04-05 20:37:41 +02:00 |
|
Dmitry Chestnykh
|
5abb82120b
|
Fix docs.
|
2011-04-05 19:55:23 +02:00 |
|
Dmitry Chestnykh
|
4bfaae0c47
|
Initial commit.
|
2011-04-05 17:57:25 +02:00 |
|