qt5base-lts/tests/auto/corelib/global
Thiago Macieira cfad4e298f QRandomGenerator: add securelySeeded(), to ensure appropriate seeding
Since we don't document how many bytes one needs (it's 2496), it's
difficult for the caller to provide just enough data in the seed
sequence. Moreover, since std::mt19937 doesn't make it easy to provide
the ideal size either, we can't actually write code that operates
optimally given a quint32 range either -- we only provide it via
std::seed_seq, which is inefficient.

However, we can do it internally by passing QRandomGenerator to the
std::mersenne_twister_engine constructor, as it's designed to work.

Change-Id: Icaa86fc7b54d4b368c0efffd14f0613c10998321
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-11-11 08:11:03 +00:00
..
q_func_info Updated license headers 2016-01-21 18:55:18 +00:00
qflags Fix test build with ICC: QFlags does not auto cast to uint 2017-04-28 12:37:09 +00:00
qfloat16 Eliminate ambiguous casts involving qfloat16 2017-05-07 16:44:55 +00:00
qgetputenv Long live qEnvironmentVariable() 2017-08-04 11:19:13 +00:00
qglobal foreach: do not use operators that trigger non-evaluated contexts 2016-12-10 18:11:38 +00:00
qglobalstatic tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
qhooks tst_qhooks: test that it's possible to chain multiple hooks together 2016-11-18 15:22:32 +00:00
qlogging Blacklist and skip failing tests for Boot2Qt / 64 bit arm 2017-10-21 09:31:01 +00:00
qnumeric Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qrand Updated license headers 2016-01-21 18:55:18 +00:00
qrandomgenerator QRandomGenerator: add securelySeeded(), to ensure appropriate seeding 2017-11-11 08:11:03 +00:00
qtendian Move qle_bitfield to qendian_p.h 2017-06-27 22:16:56 +00:00
global.pro Long live QRandomGenerator 2017-06-12 06:14:34 +00:00