Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 49) sorted by path

12

/dokuwiki/
H A Dfeed.php149 $opt['items'] = max(0, (int) $opt['items']);
/dokuwiki/inc/ChangeLog/
H A DChangeLog.php48 $this->chunk_size = (int)max($chunk_size, 0);
87 $rev = max($rev, 0);
143 $num = max($num, 0);
153 $first = max($first + 1, 0);
261 $rev = max($rev, 0);
332 $max = floor(abs($max) / 2) * 2 + 1;
333 $rev1 = max($rev1, 0);
334 $rev2 = max($rev2, 0);
377 $revs1 = array_slice($revs1, max($index - floor($max / 2), 0), $max);
652 if ($beforecount > max(floor($max / 2), $max - $aftercount)) break 2;
[all …]
/dokuwiki/inc/
H A DJpegMeta.php590 * @param int $max maximum number chars (keeps words)
595 function getTitle($max=80){ argument
606 if(!$max) return $cap;
608 $new = preg_replace('/\n.+$/','',wordwrap($cap, $max));
3091 $max = strlen($data);
3093 while ($pos < $max) {
H A DPassHash.php828 * @param int $max
831 protected function random($min, $max){ argument
833 return random_int($min, $max);
H A Dauth.php351 * @param int $max
354 function auth_random($min, $max) { argument
355 return random_int($min, $max);
H A Dcommon.php1730 * @param int $max maximum chars you want for the whole string
1735 function shorten($keep, $short, $max, $min = 9, $char = '…') { argument
1736 $max = $max - \dokuwiki\Utf8\PhpString::strlen($keep);
1737 if($max < $min) return $keep;
1739 if($len <= $max) return $keep.$short;
1740 $half = floor($max / 2);
H A Dfetch.functions.php38 $maxage = max($conf['cachetime'], 3600); // cachetime or one hour
H A Dio.php708 * @param int $max How many lines to return (0 for all)
712 function io_grep($file,$pattern,$max=0,$backref=false){ argument
732 if($max && $max == $cnt) break;
/dokuwiki/inc/Search/
H A DIndexer.php857 * @param int $max upper frequency limit. No limit if $max<$min
864 public function histogram($min=1, $max=0, $minlen=3, $key=null) { argument
867 if ($max < $min)
868 $max = 0;
876 if ($cnt >= $min && (!$max || $cnt <= $max) && strlen($val) >= $minlen)
886 if ($freq >= $min && (!$max || $freq <= $max))
905 if ($freq >= $min && (!$max || $freq <= $max)) {
/dokuwiki/inc/Ui/
H A DRecent.php157 $first = max($first - $conf['recent'], 0);
H A DRevisions.php294 $first = max($first - $conf['recent'], 0);
/dokuwiki/inc/Utf8/
H A DPhpString.php26 $rpos = max(strrpos($path, '/'), strrpos($path, '\\'));
/dokuwiki/inc/lang/cs/
H A Dstopwords.txt403 max
/dokuwiki/inc/parser/
H A Dhandler.php809 $this->status['doublequote'] = max(0, --$this->status['doublequote']);
961 …$p['refresh'] = max(600,$match[1]*$period[$match[2]]); // n * period in seconds, minimum 10 minut…
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingNumeric.php14 protected $max = null; variable in dokuwiki\\plugin\\config\\core\\Setting\\SettingNumeric
20 if($valid && !(is_null($this->min) && is_null($this->max))) {
23 (!is_null($this->max) && $numeric_local > $this->max)) {
/dokuwiki/lib/plugins/extension/
H A Dall.less2 @media only screen and (max-width: 600px) {
H A Dcli.php262 * @param int $max
266 protected function cmdSearch($query, $showdetails, $max) argument
271 if ($max) {
272 $result = array_slice($result, 0, $max);
H A Dstyle.less34 max-width: 90%;
35 max-height: 90%;
105 max-width: 120px;
/dokuwiki/lib/plugins/logviewer/
H A Dstyle.less17 max-height: 80vh;
/dokuwiki/lib/plugins/popularity/
H A Dhelper.php84 return max((int) $manualSubmission, (int) $autoSubmission);
/dokuwiki/lib/scripts/
H A Deditor.js137 var linestart = Math.max(search.lastIndexOf("\n"),
H A Dfileuploader.js470 return Math.max(bytes, 0.1).toFixed(1) + ['kB', 'MB', 'GB', 'TB', 'PB', 'EB'][i];
943 var max = this._options.maxConnections;
945 if (this._queue.length >= max && i < max){
946 var nextId = this._queue[max-1];
/dokuwiki/lib/scripts/jquery/jquery-ui-theme/
H A Dsmoothness.css764 .ui-slider-horizontal .ui-slider-range-max {
784 .ui-slider-vertical .ui-slider-range-max {
878 max-width: 300px;
/dokuwiki/lib/scripts/jquery/
H A Djquery-ui.min.js6max,a=Math.abs,r=/left|center|right/,h=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%… property in AnonymousFunction425aeaa92000.u.percent
13max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._r…
H A Djquery.min.js2max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ke(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r…

12