23 std::uniform_real_distribution
dist(1, 2.5);
28 std::seed_seq
sseq(seedBuffer, seedBuffer +
len);
43 std::generate(
begin,
end, [
this]() {
return generate(); });
63 return std::generate_canonical<qreal, std::numeric_limits<qreal>::digits>(
rd);
static QColor fromRgb(QRgb rgb) noexcept
Static convenience function that returns a QColor constructed from the given QRgb value rgb.
qsizetype size() const noexcept
void resize(qsizetype size)
static Q_DECL_CONST_FUNCTION Q_CORE_EXPORT QRandomGenerator64 * global()
quint64 generate()
Generates one 64-bit random value and returns it.
\inmodule QtCore \reentrant
quint32 generate()
Generates a 32-bit random quantity and returns it.
static Q_DECL_CONST_FUNCTION QRandomGenerator * global()
\threadsafe
quint64 generate64()
Generates a 64-bit random quantity and returns it.
double bounded(double highest)
Generates one random double in the range between 0 (inclusive) and highest (exclusive).
void fillRange(UInt *buffer, qsizetype count)
Generates count 32- or 64-bit quantities (depending on the type UInt) and stores them in the buffer p...
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLsizei const GLfloat * v
[13]
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat z
GLint GLint GLint GLint GLint x
[0]
GLfloat GLfloat GLfloat w
[0]
GLfloat GLfloat GLfloat GLfloat h
QtPrivate::QRegularExpressionMatchIteratorRangeBasedForIterator begin(const QRegularExpressionMatchIterator &iterator)
QRandomGenerator prng2(1234)
return generateDouble() *highest
[11]
QRandomGenerator64 rd
[10]
std::seed_seq sseq(seedBuffer, seedBuffer+len)
[3]
QRandomGenerator prng1(1234)
[0]
QRandomGenerator generator(sseq)
std::uniform_real_distribution dist(1, 2.5)
[2]