Home
last modified time | relevance | path

Searched refs:rand (Results 1 – 25 of 140) sorted by relevance

123456

/plugin/farmer/vendor/splitbrain/php-ringicon/src/
H A DAbstractRingIcon.php61 protected function rand($min, $max) function in splitbrain\\RingIcon\\AbstractRingIcon
64 $rand = hexdec(substr($this->seed, 0, 8));
65 return ($rand % ($max - $min + 1)) + $min;
74 $this->rand(20, 255),
75 $this->rand(20, 255),
76 $this->rand(20, 255)
H A DRingIcon.php61 $start = $this->rand(20, 360);
62 $stop = $this->rand(20, 360);
93 …tealpha($image, $this->monocolor[0], $this->monocolor[1], $this->monocolor[2], $this->rand(0, 96));
95 … return imagecolorallocate($image, $this->rand(0, 255), $this->rand(0, 255), $this->rand(0, 255));
/plugin/findologicxmlexport/vendor/hoa/compiler/Llk/Sampler/
DCoverage.php281 $rand = $inprogress[rand(
286 $rand = $already[rand(
299 $rand
303 for ($i = 0; $i < $rand; ++$i) {
317 for ($i = 0; $i < $rand; ++$i) {
328 … $rand = $uncovered[rand(0, count($uncovered) - 1)];
329 $this->_coveredRules[$rule->getName()][$rand] = -1;
337 $rand
340 for ($i= 0 ; $i < $rand; ++$i) {
386 $rand = $inprogress[rand(
[all …]
/plugin/requiz/
Dhelper.php29 $rand = rand(17,1000000);
32 $qidx = $rand % $qcnt;
33 $secret = PMA_blowfish_encrypt($rand,auth_cookiesalt());
61 $rand = PMA_blowfish_decrypt($_REQUEST['plugin__requiz_secret'],auth_cookiesalt());
64 $qidx = $rand % $qcnt;
/plugin/captcha/
Dhelper.php54 $rand = (float)(random_int(0, 10000)) / 10000;
55 $cookie = new FileCookie($this->fixedIdent(), $rand);
59 $code = $this->generateMath($this->fixedIdent(), $rand);
66 $code = $this->generateCaptchaCode($this->fixedIdent(), $rand);
69 $secret = $this->encrypt($rand);
131 $rand = $this->decrypt($field_sec);
134 $code = $this->generateMath($this->fixedIdent(), $rand);
139 $code = $this->generateCaptchaCode($this->fixedIdent(), $rand);
146 $rand === false ||
149 !(new FileCookie($this->fixedIdent(), $rand))->check()
[all …]
DFileCookie.php26 public function __construct($ident, $rand) argument
29 …$this->path = $conf['tmpdir'] . '/captcha/' . date('Y-m-d') . '/' . md5($ident . $rand) . '.cookie…
/plugin/statistics/inc/pchart/
DColor.php78 * @param mixed $rand optional externally created random value
81 public static function random($rand = null) { argument
82 if(!$rand) $rand = rand();
84 return new Color('#'.substr(md5($rand),0,6));
/plugin/asciidocjs/node_modules/lodash/
D_shuffleSelf.js18 var rand = baseRandom(index, lastIndex),
19 value = array[rand];
21 array[rand] = array[index];
Drandom.js76 var rand = nativeRandom();
77 …return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1))…
/plugin/passpolicy/
Dhelper.php262 $output .= $this->pools[$pool][$this->rand(0, $pool_len - 1)]; // add one char already
274 $output .= $this->pools['special'][$this->rand(0, $pool_len - 1)];
285 $output .= $characters[$this->rand(0, $pool_len - 1)];
320 $postfix .= $this->rand(10, 99);
332 $output .= $consonants[$this->rand(0, $c_len - 1)];
333 $output .= $vowels[$this->rand(0, $v_len - 1)];
334 $output .= $all[$this->rand(0, $a_len - 1)];
362 $prefix .= $this->rand(0, 999);
378 $output .= $this->wordlist[$this->rand(0, $this->wordlistlength - 1)] . ' ';
416 public function rand($min, $max) function in helper_plugin_passpolicy
[all …]
/plugin/include/_test/
H A Dnested_include.test.php60 .'Main Content'.rand().DOKU_LF.DOKU_LF
65 .'Second Content'.rand().DOKU_LF.DOKU_LF
70 .'Third Content'.rand().DOKU_LF.DOKU_LF
/plugin/twofactoryubiauth/
Dhelper.php161 $rand = rand(0,count($chars)-1);
162 $nonce .= $chars[$rand];
/plugin/bashorg/
Dbash.org.php31 $id = rand(0, sizeof($quotes) - 1);
34 $id = rand(0, sizeof($quotes) - 1);
/plugin/dokuflashcard/
Dscript.js62 cardcount = rand(cardarraybr);
71 function rand(items) { function
/plugin/dokugource/
Dadmin.php124 $this->colors[$p] = sprintf('%02X%02X%02X', rand(0, 255), rand(0, 255), rand(0, 255));
Daction.php122 $this->colors[$p] = sprintf('%02X%02X%02X', rand(0, 255), rand(0, 255), rand(0, 255));
/plugin/combo/vendor/hidehalo/nanoid-php/src/
H A DClient.php112 $rand = mt_rand()/(mt_getrandmax() + 1);
113 $id .= $this->alphbet[$rand*64 | 0];
/plugin/revealjs/plugin/multiplex/
Dindex.js47 var rand = Math.floor(Math.random()*9999999);
48 var secret = ts.toString() + rand.toString();
/plugin/simplechat/
Dajax.php28 …$newmsgline = ".\t&laquo;".htmlspecialchars($_GET['user'])." flips a coin. It is ".$coin[rand(0,1)…
32 …$newmsgline = ".\t&laquo;".htmlspecialchars($_GET['user'])." rolls a ".rand(1,$dicesides)." out of…
/plugin/randomtables/table-roller/src/Table/
DBaseTable.php13 return $this->keys[rand(0, $this->count - 1)];
98 $result += rand(1, $die);
/plugin/mikioplugin/syntax/
H A Dquizitem.php49 $name = rand(10000, 99999);
58 $name = rand(10000, 99999);
/plugin/html2pdf/html2pdf/html2ps/
Doutput.pdflib.1.6.class.php57 $this->_fqn(sprintf("___Button%s",md5(time().rand()))),
183 $name = sprintf("AnonymousFormObject_%u", md5(rand().time()));
219 $fqn .= md5(rand().time());
/plugin/badbehaviour/bad-behavior/
Dhousekeeping.inc.php10 if (rand(1,1000) == 1) {
/plugin/freechat/phpfreechat/
Dindex.php6 $params["nick"] = "guest".rand(1,1000); // setup the intitial nickname
/plugin/siteexport/_test/
Dplugin_siteexport_javascript.test.php32 $_SERVER['SERVER_PORT'] = rand();

123456