![]() |
Qt 6.x
The Qt SDK
|
Go to the source code of this file.
Functions | |
Q_ASSERT (prng1.generate()==prng2.generate()) | |
std::uniform_real_distribution | dist (1, 2.5) |
[2] | |
std::seed_seq | sseq (seedBuffer, seedBuffer+len) |
[3] | |
std::seed_seq | sseq (begin, end) |
[4] | |
while (z--) generator.generate() | |
[5] | |
list | resize (16) |
return | generateDouble () *highest |
[11] | |
Variables | |
quint32 | value = QRandomGenerator::global()->generate() |
[0] | |
QRandomGenerator | prng1 (1234) |
[0] | |
QRandomGenerator | prng2 (1234) |
int | x = QRandomGenerator::global()->generate() |
[1] | |
int | y = QRandomGenerator::global()->generate() |
int | w = QRandomGenerator::global()->bounded(16384) |
int | h = QRandomGenerator::global()->bounded(16384) |
QRandomGenerator | generator (sseq) |
QList< quint32 > | list |
[8] | |
quint32 | array [2] |
[9] | |
QRandomGenerator64 | rd |
[10] | |
quint32 | v = QRandomGenerator::global()->bounded(256) |
[12] | |
std::uniform_real_distribution dist | ( | 1 | , |
2. | 5 | ||
) |
[2]
[3]
Referenced by QQuickSelectionRectanglePrivate::QQuickSelectionRectanglePrivate(), addCircle(), QQuickFlickablePrivate::adjustContentPos(), QEvdevTouchScreenData::assignIds(), bestStyle(), closestMatch(), convertWeights(), QPlatformTheme::defaultThemeHint(), QEvdevTouchScreenData::findClosestContact(), QQuickGridViewPrivate::fixup(), QQuickListViewPrivate::fixup(), QQuickFlickablePrivate::flick(), QQuickGridViewPrivate::flick(), QQuickListViewPrivate::flick(), QX11PlatformPixmap::fromImage(), QToolBarAreaLayoutInfo::gapIndex(), QGradientCache::generateGradientColorTable(), generateGradientColorTable(), QQuickStochasticEngine::goalSeek(), QQuickPathViewPrivate::handleMouseReleaseEvent(), QQuickPinchHandler::handlePointerEventImpl(), QQuickPathViewPrivate::pointNear(), QTextEngine::positionInLigature(), query_colormap(), QRollEffect::run(), QQuickSelectionRectanglePrivate::scrollTowardsPos(), QQuickTableViewPrivate::scrollTowardsSelectionPoint(), QtPrivate::QGenericArrayOps< T >::Inserter::setup(), QQuickSpringAnimation::transition(), QQuickSpringAnimationPrivate::updateMode(), QSpatialSoundPrivate::updateRoomEffects(), QAudioEnginePrivate::updateRooms(), QDialPrivate::valueFromPoint(), and QTextLine::xToCursor().
return generateDouble | ( | ) |
[11]
[12]
Referenced by QQuickParticleExtruder::extrude(), QQuickRectangleExtruder::extrude(), QV4::MathObject::method_random(), and QQuickPointDirection::sample().
Q_ASSERT | ( | prng1. | generate() = =prng2.generate() | ) |
list resize | ( | 16 | ) |
std::seed_seq sseq | ( | seedBuffer | , |
seedBuffer+ | len | ||
) |
[3]
[4]
Referenced by QRandomGenerator::QRandomGenerator(), fallback_fill(), and QRandomGenerator::seed().
while | ( | z-- | ) |
[5]
[6]
QRandomGenerator generator | ( | sseq | ) |
Referenced by QQmlJSCodeGenerator::AccumulatorConverter::AccumulatorConverter(), QQmlJSCodeGenerator::AccumulatorConverter::~AccumulatorConverter(), QV4::Compiler::Codegen::RegisterScope::~RegisterScope(), QSSGRhiEffectSystem::buildShaderForEffect(), QDBusMetaObject::createMetaObject(), fallback_fill(), dtlsutil::fallbackSecret(), Moc::generate(), qCompileJSFile(), qCompileQmlFile(), and QQuick3DParticleModelBlendParticle::randomIndex().
int h = QRandomGenerator::global()->bounded(16384) |
Definition at line 19 of file src_corelib_global_qrandom.cpp.
QRandomGenerator prng1(1234) | ( | 1234 | ) |
[0]
[1]
QRandomGenerator prng2(1234) | ( | 1234 | ) |
[10]
[11]
Definition at line 62 of file src_corelib_global_qrandom.cpp.
Referenced by QObjectPrivate::addConnection(), QSGNodeUpdater::enterRenderNode(), QTextDocumentLayoutPrivate::layoutTable(), QWindowsVistaStylePrivate::region(), QQC2::QWindowsXPStylePrivate::region(), QSGSoftwareRenderableNode::renderNode(), and QAudioEnginePrivate::updateRooms().
quint32 v = QRandomGenerator::global()->bounded(256) |
qint64 value = QRandomGenerator::global()->generate() |
int w = QRandomGenerator::global()->bounded(16384) |
Definition at line 18 of file src_corelib_global_qrandom.cpp.
int x = QRandomGenerator::global()->generate() |
int y = QRandomGenerator::global()->generate() |
Definition at line 17 of file src_corelib_global_qrandom.cpp.