20#include <private/qsimd_p.h>
39#if defined(QT_BUILD_INTERNAL)
40extern Q_CORE_EXPORT QBasicAtomicInteger<uint> qt_randomdevice_control;
44 uint loadAcquire()
const {
return 0; }
45} qt_randomdevice_control;
void discard(unsigned long long z)
result_type operator()()
Generates a 64-bit random quantity and returns it.
static constexpr result_type min()
quint64 result_type
A typedef to the type that operator() returns.
QRandomGenerator64(std::seed_seq &sseq) noexcept
QRandomGenerator64(const QRandomGenerator &other)
quint64 generate()
Generates one 64-bit random value and returns it.
QRandomGenerator64(quint32 seedValue=1)
QRandomGenerator64(const quint32 *begin, const quint32 *end)
QRandomGenerator64(const quint32 *seedBuffer, qsizetype len)
static constexpr result_type max()
QRandomGenerator64(const quint32(&seedBuffer)[N])
static qsizetype callFillBuffer(FillBufferType f, T *v)
static Q_NEVER_INLINE void fallback_fill(quint32 *ptr, qsizetype left) noexcept
static void fallback_update_seed(unsigned value)
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
QRandomGenerator::InitialRandomData qt_initial_random_value() noexcept
constexpr SystemAndGlobalGenerators()
static QRandomGenerator64 * system()
static void securelySeed(QRandomGenerator *rng)
QBasicMutex globalPRNGMutex
static SystemAndGlobalGenerators * self()
static QRandomGenerator64 * globalNoInit()
uchar data[sizeof(QRandomGenerator64)]
void generate(quint32 *begin, quint32 *end) noexcept(FillBufferNoexcept)
static SystemGenerator & self()
void generate(T *begin, T *end)