(5a685653b8903dbfd722b0c299651b65e3632ac5)
#include "qglobal_p.h"
#include <qrandom.h>
#include <private/qsimd_p.h>
Go to the source code of this file.
◆ QRandomGeneratorControl
| Enumerator |
|---|
| UseSystemRNG | |
| SkipSystemRNG | |
| SetRandomData | |
| RandomDataMask | |
Definition at line 24 of file qrandom_p.h.
◆ RNGType
| Enumerator |
|---|
| SystemRNG | |
| MersenneTwister | |
Definition at line 33 of file qrandom_p.h.
◆ qt_initial_random_value()
| QRandomGenerator::InitialRandomData qt_initial_random_value |
( |
| ) |
|
|
noexcept |
Returns an initial random value (useful for QHash's global seed). This function attempts to use OS-provided random values to avoid initializing QRandomGenerator::system() and qsimd.cpp.
Note: on some systems, this functionn may rerturn the same value every time it is called.
Definition at line 190 of file qrandom.cpp.
◆ [struct]
| const struct { ... } qt_randomdevice_control |