Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 50) sorted by relevance

12

/dokuwiki/inc/ChangeLog/
H A DChangeLog.php152 $rev = max(0, $rev);
212 $num = max($num, 0);
223 $first = max($first + 1, 0);
243 $finger = max($tail - $this->chunk_size, 0);
249 $finger = max($finger - $this->chunk_size, 0);
257 $read_size = max($tail - $finger, 0); // found chunk size
260 $tmp = @fread($fp, max(min($this->chunk_size, $read_size - $got), 0));
279 $finger = max($tail - $this->chunk_size, 0);
286 $num = max(min(count($lines) - $first, $num), 0);
288 $lines = array_slice($lines, max(coun
383 getRevisionsAround($rev1, $rev2, $max = 50) global() argument
478 retrieveRevisionsAround($rev, $max) global() argument
[all...]
H A DChangeLogTrait.php101 $this->chunk_size = max($chunk_size, 0);
187 $chunk_size = max($tail - $head, 0); // found chunk size
191 $tmp = @fread($fp, max(min($this->chunk_size, $chunk_size - $got), 0));
245 $head = max($tail - $this->chunk_size, 0);
250 $head = max($head - $this->chunk_size, 0);
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingNumeric.php15 protected $max;
22 if ($valid && !(is_null($this->min) && is_null($this->max))) {
26 (!is_null($this->max) && $numeric_local > $this->max)
14 protected $max = null; global() variable in dokuwiki\\plugin\\config\\core\\Setting\\SettingNumeric
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DTableFormatter.php19 protected $max = 74; variable in splitbrain\\phpcli\\TableFormatter
34 $this->max = $width - 1;
74 return $this->max;
80 * @param int $max
82 public function setMaxWidth($max) argument
84 $this->max = $max;
150 $remain = $this->max - $alloc;
165 $remain = $this->max - $alloc;
/dokuwiki/vendor/aziraphale/email-address-validator/
H A DEmailAddressValidator.php35 // Check email length - min 3 (a@a), max 256
96 for ($i = 0, $max = sizeof($localPortionParts); $i < $max; $i++) {
151 for ($i = 0, $max = sizeof($domainPortionParts); $i < $max; $i++) {
160 if ($i == $max - 1) { // TLD cannot be only numbers
/dokuwiki/lib/scripts/
H A Dqsearch.js99 var max, $links, too_big;
118 max = dw_qsearch.$outObj[0].clientWidth; // maximum width allowed (but take away paddings below)
120 max -= parseInt(dw_qsearch.$outObj.css('padding-left'));
125 max -= parseInt(dw_qsearch.$outObj.css('padding-right'));
127 return l.offsetWidth + l.offsetLeft > max;
/dokuwiki/vendor/simplepie/simplepie/src/Net/
H A DIPv6.php148 $max = 0;
151 if (strlen($match[0]) > $max) {
152 $max = strlen($match[0]);
157 $ip_parts[0] = substr_replace($ip_parts[0], '::', $pos, $max);
/dokuwiki/lib/tpl/dokuwiki/images/
H A Dpagetools-build.php111 $r = max(min(round($r*$scale),255),0);
112 $g = max(min(round($g*$scale),255),0);
113 $b = max(min(round($b*$scale),255),0);
/dokuwiki/lib/plugins/extension/
H A Dall.less2 @media only screen and (max-width: 600px) {
H A Dcli.php35 $options->registerOption('max', 'Maximum number of results (default 10)', 'm', 'number', 'search');
86 (int)$options->getOpt('max', 10)
267 * @param int $max
271 protected function cmdSearch($query, $showdetails, $max)
276 if ($max) {
277 $result = array_slice($result, 0, $max);
266 cmdSearch($query, $showdetails, $max) global() argument
/dokuwiki/lib/plugins/logviewer/
H A Dstyle.less17 max-height: 80vh;
/dokuwiki/lib/tpl/dokuwiki/css/
H A Dmobile.less16 @media only screen and (max-width: @ini_tablet_width) {
143 @media only screen and (max-width: @ini_phone_width) {
156 max-width: 100%;
286 max-width: 100% !important;
289 max-width: 100% !important;
324 @media only screen and (max-height: 400px) {
H A D_footnotes.css12 max-width: 40%;
H A Dusertools.less11 max-width: @ini_site_width;
H A D_search.less49 max-width: 10em;
71 max-width: 15em;
72 max-height: 50vh;
H A Dstructure.less12 max-width: @ini_site_width;
H A D_admin.less68 max-width: 20em;
H A D_media_fullscreen.css279 max-width: 90px;
280 max-height: 90px;
308 max-height: 50px;
334 max-width: 40px;
335 max-height: 40px;
435 max-width: 95%;
540 max-width: none;
/dokuwiki/lib/tpl/dokuwiki/
H A Dscript.js77 var content_min = Math.max(sidebar_height || 0, pagetool_height || 0);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DBase.php
/dokuwiki/inc/Ui/
H A DRevisions.php100 $first = max($first - $conf['recent'], -1);
/dokuwiki/inc/Search/
H A DIndexer.php877 * @param int $max upper frequency limit. No limit if $max<$min
884 public function histogram($min = 1, $max = 0, $minlen = 3, $key = null)
888 if ($max < $min)
889 $max = 0;
897 if ($cnt >= $min && (!$max || $cnt <= $max) && strlen($val) >= $minlen)
906 if ($freq >= $min && (!$max || $freq <= $max))
924 if ($freq >= $min && (!$max ||
864 histogram($min = 1, $max = 0, $minlen = 3, $key = null) global() argument
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php622 * @var BigInteger $max
626 'max' => new static($max)
688 * @param BigInteger $max
691 public static function randomRangePrime(BigInteger $min, BigInteger $max)
694 return new static($class::randomRangePrime($min->value, $max->value));
700 * Returns a random number between $min and $max where $min and $max
703 * BigInteger::randomRange($min, $max)
704 * BigInteger::randomRange($max,
[all...]
/dokuwiki/inc/
H A Dfetch.functions.php43 $maxage = max($conf['cachetime'], 3600); // cachetime or one hour
58 header('Cache-Control: public, proxy-revalidate, no-transform, max-age=' . $maxage);
62 header('Cache-Control: private, no-transform, max-age=' . $maxage);
H A Dio.php658 $http->timeout = 25; //max. 25 sec
760 * @param int $max How many lines to return (0 for all)
766 function io_grep($file, $pattern, $max = 0, $backref = false)
787 if ($max && $max == $cnt) break;
712 io_grep($file, $pattern, $max = 0, $backref = false) global() argument

12