Home
last modified time | relevance | path

Searched refs:randomInt (Results 1 – 12 of 12) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-random.js349 crypto.randomInt(3, common.mustSucceed((n) => {
367 const n = crypto.randomInt(3);
383 crypto.randomInt(1, 3, common.mustSucceed((n) => {
400 crypto.randomInt(-10, -8, common.mustSucceed((n) => {
430 () => crypto.randomInt(i, 100),
434 () => crypto.randomInt(i, 100, common.mustNotCall()),
438 () => crypto.randomInt(i),
442 () => crypto.randomInt(i, common.mustNotCall()),
446 () => crypto.randomInt(0, i, common.mustNotCall()),
450 () => crypto.randomInt(0, i),
[all …]
/third_party/node/benchmark/crypto/
DrandomInt.js4 const { randomInt } = require('crypto');
17 randomInt(min, max);
24 randomInt(min, max, () => {
32 randomInt(min, max, () => {
/third_party/node/lib/
Dcrypto.js56 randomInt,
215 randomInt, property
/third_party/node/lib/internal/crypto/
Drandom.js209 function randomInt(min, max, callback) { function
297 randomInt(task.min, task.max, task.callback);
611 randomInt, property
/third_party/skia/third_party/externals/angle2/util/
Drandom_utils.cpp42 int RNG::randomInt() in randomInt() function in angle::RNG
Drandom_utils.h34 int randomInt();
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DParallelShaderCompileTest.cpp78 ostream << source << "\n// Random string to fool program cache: " << rng.randomInt() in insertRandomString()
DVertexAttributeTest.cpp3261 Vector4 randomVec4 = RandomVec4(rng.randomInt(), 0.0f, 1.0f); in TEST_P()
/third_party/node/doc/api/
Dcrypto.md5030 ### `crypto.randomInt([min, ]max[, callback])`
5060 randomInt,
5063 randomInt(3, (err, n) => {
5072 randomInt,
5075 randomInt(3, (err, n) => {
5084 randomInt,
5087 const n = randomInt(3);
5094 randomInt,
5097 const n = randomInt(3);
5104 randomInt,
[all …]
/third_party/node/doc/changelogs/
DCHANGELOG_V14.md1395 * \[[`00659a9218`](https://github.com/nodejs/node/commit/00659a9218)] - **crypto**: fix randomInt b…
2565 …/commit/1bb0ed3c6a)] - **crypto**: improve invalid arg type message for randomInt() (Rich Trott) […
2566 …ttps://github.com/nodejs/node/commit/3573545315)] - **crypto**: improve randomInt out-of-range err…
2673 …om/nodejs/node/commit/44d89a9faa)] - **(SEMVER-MINOR)** **crypto**: add randomInt function (Oli La…
2690 * \[[`a12d92c97b`](https://github.com/nodejs/node/commit/a12d92c97b)] - **crypto**: fix randomInt r…
2692 …om/nodejs/node/commit/44d89a9faa)] - **(SEMVER-MINOR)** **crypto**: add randomInt function (Oli La…
DCHANGELOG_V15.md88 …thub.com/nodejs/node/commit/960c6be229)] - **crypto**: add buffering to randomInt (Tobias Nießen) …
737 * \[[`b7d8e61ef1`](https://github.com/nodejs/node/commit/b7d8e61ef1)] - **crypto**: fix randomInt b…
DCHANGELOG_V12.md753 …om/nodejs/node/commit/53c9975673)] - **(SEMVER-MINOR)** **crypto**: add randomInt function (Oli La…
815 …/commit/2b7273b2ad)] - **crypto**: improve invalid arg type message for randomInt() (Rich Trott) […
816 …ttps://github.com/nodejs/node/commit/bf5a85b43a)] - **crypto**: improve randomInt out-of-range err…
817 * \[[`5ef9ee4254`](https://github.com/nodejs/node/commit/5ef9ee4254)] - **crypto**: fix randomInt r…
819 …om/nodejs/node/commit/53c9975673)] - **(SEMVER-MINOR)** **crypto**: add randomInt function (Oli La…