Sign in
chromium
/
chromium
/
src
/
fcc92a53dde749a208b8dc1bd3ef5ab10fcf58f8
/
base
/
rand_util.cc
fdce478
ake string_util::WriteInto() DCHECK() that the supplied |length_with_null| > 1, meaning that the without-'\0' string is non-empty. This replaces the conditional code added recently that makes this case return NULL. It's easier to understand if it's simply an error to call WriteInto() in this case at all.
by
[email protected]
· 14 years ago
0173b96
Fix variable names and comments in RandGenerator.
by
[email protected]
· 14 years ago
af2e192b
Fix base::RandGenerator bug (it had non-uniform random distribution). Add test that would have caught bug. Also add a test to verify that our random generators are at least somewhat random.
by
[email protected]
· 14 years ago
edafd4c
Add one-time randomization support for FieldTrial, and the ability to
by
[email protected]
· 14 years ago
5557b198f
Revert 84197 - Add one-time randomization support for FieldTrial, and the ability to
by
[email protected]
· 14 years ago
51a0181
Move crypto_helpers from sync to crypto
by
[email protected]
· 14 years ago
780702c
Add one-time randomization support for FieldTrial, and the ability to
by
[email protected]
· 14 years ago
e1be56d
Updating logging in src/base/. Using DCHECK_NE/EQ/LE/GE/GT() where possible
by
[email protected]
· 14 years ago
29548d8
Add a rand_util method for generating a random string.
by
[email protected]
· 14 years ago
d7a93ad
Update DCHECK() usage to utilize the more expressive debugging functions.
by
[email protected]
· 14 years ago
88563f6
Continuing with DCHECK() replacement. Switching to DCHECK_GT for better debug of broken contracts
by
[email protected]
· 14 years ago
a74dcae
Add RandomNumberGenerator adapter to base/rand_util.h
by
[email protected]
· 15 years ago
ba99012
RandUInt -> RandUint to match the style of other Uint functions.
by
[email protected]
· 17 years ago
94a0f31
Reduce RandDouble to one call to ldexp, add one bit of precision
by
[email protected]
· 17 years ago
05f9b68
Refactoring for portability:
by
[email protected]
· 17 years ago