Home
last modified time | relevance | path

Searched refs:random (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/plugin/diagramsnet/lib/plugins/
Drandom.js26 var jitter = 1 + 0.3 * (Math.random() - 0.5);
32 graph.labelChanged(cells[i], 'Test ' + Math.round(Math.random() * 100));
78 var jitter = 1 + 0.3 * (Math.random() - 0.5);
98 var passes = Math.floor(Math.random() * numberA) + 1;
104 var k = Math.floor(Math.random() * numberA);
106 var l = Math.floor(Math.random() * (numberB + 1));
113 var passes = Math.floor(Math.random() * numberB) + 1;
119 var k = Math.floor(Math.random() * numberB);
121 var l = Math.floor(Math.random() * (numberA + 1));
179 var jitter = 1 + 0.3 * (Math.random() - 0.5);
[all …]
Dpage.js23 var jitter = 1 + 0.3 * (Math.random() - 0.5);
33 var passes = Math.floor(Math.random() * number) + 1;
38 var k = Math.floor(Math.random() * number);
39 var l = Math.floor(Math.random() * number);
80 var jitter = 1 + 0.3 * (Math.random() - 0.5);
88 var n = Math.floor(Math.random() * 4); // how many to insert?
92 var k = Math.floor(Math.random() * 4000);
99 n = Math.floor(Math.random() * 4); // how many to delete? at least 1 should remain
105 var k = Math.floor(Math.random() * number); // which one to delete?
113 var passes = Math.floor(Math.random() * number) + 1;
[all …]
Dupdate.js217 if (Math.random() > 0.5 && state != null && state.length > 50)
222 Math.round(Math.random() * 100) + '" placeholders="1">');
224 Math.round(Math.random() * 5) + ';');
232 Math.round(Math.random() * 100) + '" placeholders="1">');
250 if (Math.random() > 0.5)
255 Math.round(Math.random() * 100) + '" placeholders="1">');
264 if (Math.random() > 0.5)
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/
Drandom.rst1 ``random``
5 The ``random`` function was added in Twig 1.5.
13 The ``random`` function returns a random value depending on the supplied
16 * a random item from a sequence;
17 * a random character from a string;
18 * a random integer between 0 and the integer parameter (inclusive).
19 * a random integer between the integer parameter (when negative) and 0 (inclusive).
20 * a random integer between the first integer and the second integer parameter (inclusive).
24 {{ random(['apple', 'orange', 'citrus']) }} {# example output: orange #}
25 {{ random('ABC') }} {# example output: C #}
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Backend/
H A DAbstractPDOTest.php179 $backend->createCalendarObject($returnedId, 'random-id', $object);
252 $backend->createCalendarObject($returnedId, 'random-id', $object);
266 $backend->createCalendarObject($returnedId, 'random-id', $object);
290 $backend->createCalendarObject($returnedId, 'random-id', $object);
314 $backend->createCalendarObject($returnedId, 'random-id', $object);
338 $backend->createCalendarObject($returnedId, 'random-id', $object);
362 $backend->createCalendarObject($returnedId, 'random-id', $object);
386 $backend->createCalendarObject($returnedId, 'random-id', $object);
409 $backend->createCalendarObject($returnedId, 'random-id', $object);
411 $data = $backend->getCalendarObjects($returnedId,'random-id');
[all …]
/plugin/davcal/vendor/sabre/dav/bin/
H A Dmigrateto30.php89 $random = mt_rand(1000,9999); variable
90 echo "Renaming propertystorage -> propertystorage_old$random and creating new table.\n";
95 $pdo->exec('RENAME TABLE propertystorage TO propertystorage_old' . $random);
105 …$pdo->exec('CREATE UNIQUE INDEX path_property_' . $random . ' ON propertystorage (path(600), name…
108 $pdo->exec('ALTER TABLE propertystorage RENAME TO propertystorage_old' . $random);
118 … $pdo->exec('CREATE UNIQUE INDEX path_property_' . $random . ' ON propertystorage (path, name);');
H A Dmigrateto20.php360 $random = mt_rand(1000,9999); variable
362 echo "The old table will be renamed to cards_old$random, just in case.\n";
368 $pdo->exec("RENAME TABLE cards TO cards_old$random");
371 $pdo->exec("ALTER TABLE cards RENAME TO cards_old$random");
/plugin/pgn4web/pgn4web/
Dparsing-tests.js40 if (Math.random() < pg) {
41 gg = Math.floor(numberOfGames * Math.random());
45 if (Math.random() < pv) {
46 vv = Math.floor(numberOfVars * Math.random());
48 var hh = StartPlyVar[vv] + Math.floor((PlyNumberVar[vv] + 1) * Math.random());
/plugin/authwordpress/
H A Dclass-phpass.php220 $random = '';
223 $random = $this->get_random_bytes(16);
225 crypt($password, $this->gensalt_blowfish($random));
231 if (strlen($random) < 6) {
232 $random = $this->get_random_bytes(6);
236 $this->gensalt_private($random));
/plugin/asciidocjs/node_modules/lodash/
Drandom.js10 nativeRandom = Math.random;
43 function random(lower, upper, floating) { function
82 module.exports = random;
/plugin/asciidocjs/node_modules/jake/node_modules/brace-expansion/
Dindex.js6 var escSlash = '\0SLASH'+Math.random()+'\0';
7 var escOpen = '\0OPEN'+Math.random()+'\0';
8 var escClose = '\0CLOSE'+Math.random()+'\0';
9 var escComma = '\0COMMA'+Math.random()+'\0';
10 var escPeriod = '\0PERIOD'+Math.random()+'\0';
/plugin/asciidocjs/node_modules/brace-expansion/
Dindex.js5 var escSlash = '\0SLASH'+Math.random()+'\0';
6 var escOpen = '\0OPEN'+Math.random()+'\0';
7 var escClose = '\0CLOSE'+Math.random()+'\0';
8 var escComma = '\0COMMA'+Math.random()+'\0';
9 var escPeriod = '\0PERIOD'+Math.random()+'\0';
/plugin/tipoftheday/
DREADME.md4 Display Tip of the Day - which is a random section of another page.
12 Display random page in namespace
/plugin/combo/vendor/hidehalo/nanoid-php/src/
H A DCore.php10 …public function random(GeneratorInterface $generator, $size, $alphabet = CoreInterface::SAFE_SYMBO… function in Hidehalo\\Nanoid\\Core
17 $bytes = $generator->random($step);
H A DClient.php57 return $this->core->random($this->generator, $size, $this->alphbet);
79 return $this->core->random($generator, $size, $alphabet);
H A DGeneratorInterface.php12 public function random($size); function
H A DGenerator.php9 public function random($size) function in Hidehalo\\Nanoid\\Generator
/plugin/reliwa/
Dsyntax.php132 if (strpos('date_desc;date_asc;random',$val) === 0) {
133 $val = 'random';
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/
DEngine.php739 public static function random($size) function in phpseclib3\\Math\\BigInteger\\Engines\\Engine
842 $random = new static(Random::string($size), 256);
847 while ($random->compare($max_multiple) >= 0) {
848 $random = $random->subtract($max_multiple);
850 $random = $random->bitwise_leftShift(8);
851 $random = $random->add(new static(Random::string(1), 256));
856 list(, $random) = $random->divide($max);
858 return $random->add($min);
/plugin/randomquote/
DREADME.md3 This is a very (!) simple syntax plugin for DokuWiki that allows you to show random quotes on your …
8 After installing the plugin, all instances of `<randomquote>` will be replaced with a random quote.
/plugin/asciidocjs/node_modules/constantinople/
DREADME.md32 …tty bad idea to have `Math` in there if the user might make use of `Math.random` and a pretty bad …
38 …rows an error if the expression is not constant. e.g. `toConstant("Math.random()")` would throw a…
40 …tty bad idea to have `Math` in there if the user might make use of `Math.random` and a pretty bad …
/plugin/passwordgenerator/
Dscript.js42 var rnd = Math.floor(Math.random() * src.length),
46 rnd = Math.floor(Math.random() * charBuild.length);
/plugin/asciidocjs/node_modules/core-js/modules/
D_object-forced-pam.js4 var K = Math.random();
D_uid.js2 var px = Math.random();
/plugin/asciidocjs/node_modules/core-js/library/modules/
D_object-forced-pam.js4 var K = Math.random();

12345678910>>...15