(7d44817fc06e2eb4f5ff1fbce8e1905652825c05)
#include "qrandom.h"
#include "qrandom_p.h"
#include <qendian.h>
#include <qmutex.h>
#include <qobjectdefs.h>
#include <errno.h>
#include "qdeadlinetimer.h"
#include "qhashfunctions.h"
#include <qt_windows.h>
#include <assert.h>
Go to the source code of this file.
◆ _CRT_RAND_S
◆ Q_ASSERT
◆ Q_ASSERT_X
#define Q_ASSERT_X |
( |
| cond, |
|
|
| x, |
|
|
| msg ) |
◆ anonymous enum [1/2]
Enumerator |
---|
FillBufferNoexcept | |
FillBufferNoexcept | |
Definition at line 56 of file qrandom.cpp.
◆ anonymous enum [2/2]
Enumerator |
---|
FillBufferNoexcept | |
FillBufferNoexcept | |
Definition at line 56 of file qrandom.cpp.
◆ callFillBuffer()
template<typename
Generator, typename FillBufferType, typename T>
static qsizetype callFillBuffer |
( |
FillBufferType | f, |
|
|
T * | v ) |
|
static |
◆ fallback_fill()
◆ fallback_update_seed()
static void fallback_update_seed |
( |
unsigned | value | ) |
|
|
static |
◆ operator==()
◆ 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 1288 of file qrandom.cpp.
◆ SystemFunction036()
DECLSPEC_IMPORT BOOLEAN WINAPI SystemFunction036 |
( |
PVOID | RandomBuffer, |
|
|
ULONG | RandomBufferLength ) |
◆ seed