summaryrefslogtreecommitdiff
path: root/src/mongo/platform/random_test.cpp
AgeCommit message (Collapse)Author
2023-07-01SERVER-77049 SERVER-77050 IWYU automated changes up to 1.0Daniel Moody
2022-08-23SERVER-68834 clany tidy bugprone-integer-division fixesJuan Gu
2022-05-06SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includesBilly Donahue
2020-04-14SERVER-46127 unit tests log to a kTest componentGabriel Russell
2020-02-21SERVER-45567 removing util/log.h where I canGabriel Russell
o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
2020-02-13SERVER-45869 automatically converted structured loggingGabriel Russell
2019-10-09SERVER-43641 upgrade random.hBilly Donahue
This reverts commit a40b196bd3cecd0b66a6323f57e6f08efe0af392.
2019-10-02Revert "SERVER-43641 upgrade random.h"James Wahlin
This reverts commit 96da177c6ae7b7ed0f29983ad033d8a59524b0b2.
2019-10-02SERVER-43641 upgrade random.hBilly Donahue
Respecify PseudoRandom and SecureRandom as template instances of a `mongo::RandomBase<Urbg>` (Urbg is a UniformRandomBitGenerator). They will only vary in which algorithm they use for their source bits, and should otherwise support the same exact operations (e.g. `nextCanonicalDouble`). Fix range and stats errors in the implementations of those RandomBase methods, and specify them in terms of the vetted `<random>` facilities. Test uniformity of nextInt32(max), which uses an inappropriate ( x % max) operation. Verify that refactor fixes this issue. Just keep a shared urandom file descriptor open. SecureRandom add fill, remove create, fix callers Obsoletes SERVER-43643 Re: SecureRandom 8kiB buffering
2019-07-27SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.1
2019-02-13SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue
Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
2018-10-22SERVER-37651 Update header files with new licenseRamon Fernandez
2017-08-08SERVER-30520 SecureRandom::create() should return a unique_ptrMathias Stearn
2015-08-28SERVER-20121 Use unsigned arithmetic in PsuedoRandomMathias Stearn
2015-08-27SERVER-19182 Integrate storage engine optimizations into $sample stageCharlie Swanson
2015-06-20SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto
2014-05-16SERVER-13264 Move Apache-licensed files to AGPLIan Whalen
Also update generators.
2012-11-16use xorshift for PseudoRandom on all platformsEric Milkie
2012-11-16fix random_test.exe on WindowsEric Milkie
2012-11-13some Random tests and helpersEliot Horowitz
2012-11-13PseudoRandom isn't seedable on windowsEliot Horowitz
2012-11-12make a SecureRandom classEliot Horowitz
2012-11-12a simple unit test for seeded randomEliot Horowitz