Home
last modified time | relevance | path

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

12345678910

/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/
H A 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).
24 {{ random(['apple', 'orange', 'citrus']) }} {# example output: orange #}
25 {{ random('ABC') }} {# example output: C #}
27 {{ random(5) }} {# example output: 3 #}
[all …]
H A Dindex.rst17 random
/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);
411 $data = $backend->getCalendarObjects($returnedId,'random-id');
417 $this->assertEquals('random-id', $data['uri']);
437 'somerandomid/random-id',
456 $data = $backend->getCalendarObject($returnedId,'random-id');
460 $this->assertEquals('random-id', $data['uri']);
475 $backend->deleteCalendarObject($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/authwordpress/
H A Dclass-phpass.php231 $random = '';
234 $random = $this->get_random_bytes(16);
236 crypt($password, $this->gensalt_blowfish($random));
242 if (strlen($random) < 3)
243 $random = $this->get_random_bytes(3);
245 crypt($password, $this->gensalt_extended($random));
250 if (strlen($random) < 6)
251 $random = $this->get_random_bytes(6);
254 $this->gensalt_private($random));
/plugin/pgn4web/pgn4web/
H A 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/statistics/
H A Dscript.js16 uid = now.getTime() + '-' + Math.floor(Math.random() * 32000);
107 ses = (Math.random().toString(16) + "000000000").substr(2, 8) +
108 (Math.random().toString(16) + "000000000").substr(2, 8) +
109 (Math.random().toString(16) + "000000000").substr(2, 8) +
110 (Math.random().toString(16) + "000000000").substr(2, 8);
/plugin/tipoftheday/
H A DREADME.md4 Display Tip of the Day - which is a random section of another page.
12 Display random page in namespace
H A Dplugin.info.txt6 desc Display Tip of the Day - which is a random section of another page.
/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
H A DCoreInterface.php18 …public function random(GeneratorInterface $generator, $size, $alphabet = CoreInterface::SAFE_SYMBO… function
/plugin/reliwa/
H A Dsyntax.php132 if (strpos('date_desc;date_asc;random',$val) === 0) {
133 $val = 'random';
/plugin/randomquote/
H A 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.
H A Dplugin.info.txt6 desc This plugin shows a random quote from a list of quotes.
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/
H A 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/passwordgenerator/
H A Dscript.js42 var rnd = Math.floor(Math.random() * src.length),
46 rnd = Math.floor(Math.random() * charBuild.length);
/plugin/jquotes/
H A Dplugin.info.txt6 desc Displays random quotations from JSON file
/plugin/tuxquote/
H A Dplugin.info.txt6 desc Show a random image and quote
/plugin/rndtxt/
H A Dplugin.info.txt6 desc Output a random text choice
/plugin/xfortune/
H A Dplugin.info.txt6 desc Displays random fortune cookies using AJAX requests
/plugin/randompage2/
H A Dplugin.info.txt6 desc Select dokuwiki page at random using special link

12345678910