/plugin/sphinxsearch-was/ |
H A D | sphinxapi.php | 142 $p = max(0, strlen($v) - 13); 666 assert($max >= 0); 669 if ($max > 0) 679 assert(is_int($max)); 680 assert($max >= 0); 764 assert(is_numeric($max)); 765 assert($min <= $max); 767 $this->_max_id = $max; 793 assert($min <= $max); 804 assert(is_float($max)); [all …]
|
/plugin/sphinxsearch/ |
H A D | sphinxapi.php | 144 $p = max(0, strlen($v) - 13); 213 $p = max(0, strlen($v) - 13); 700 assert ( $max>=0 ); 703 if ( $max>0 ) 713 assert ( is_int($max) ); 714 assert ( $max>=0 ); 800 assert ( $min<=$max ); 802 $this->_max_id = $max; 829 assert ( $min<=$max ); 840 assert ( is_float($max) ); [all …]
|
/plugin/html2pdf/html2pdf/html2ps/ |
H A D | ps.l2.image.encoder.stream.inc.php | 27 $line .= sprintf("%02X%02X%02X",min(max($r,0),255),min(max($g,0),255),min(max($b,0),255));
|
H A D | value.color.php | 10 $this->r = max($rgb[0] / 255.0, 0); 11 $this->g = max($rgb[1] / 255.0, 0); 12 $this->b = max($rgb[2] / 255.0, 0);
|
H A D | strategy.width.min.php | 15 $this->_maxw = max($this->_maxw, $this->_cmaxw); 63 $minw = max($minw, $item->get_min_width($context)); 73 $min_width = max($minw,
|
/plugin/ffindr/ |
H A D | ffindr.php | 91 $max = max(1, intval($data['max'] - 1)); 94 $end = max(0, $start - $max); 98 $end = min($max, $feed->get_item_quantity() - 1);
|
/plugin/abc2/abc-libraries/abc2svg/ |
H A D | ambitus-1.js | 5 abc2svg.ambitus={do_ambitus:function(){var C=abc2svg.C,s,v,p_v,min,max,voice_tb=this.get_voice_tb() 8 min=100;max=-100 11 if(s.notes[s.nhd].pit>max) 12 max=s.notes[s.nhd].pit 17 s=p_v.clef;s.stem=1;s.head=C.FULL;s.stemless=true;s.nhd=1;s.notes=[{dur:C.BLEN/4,pit:min,shhd:0},{dur:C.BLEN/4,pit:max,shhd:0}]}},draw_symbols:function(of,p_voice){var staff_tb=this.get_staff_tb(),s=p_voice.sym
|
/plugin/sequencediagram/bower_components/js-sequence-diagrams/src/ |
H A D | theme.js | 82 function clamp(x, min, max) { argument 86 if (x > max) { 87 return max; 220 b.x = Math.max(d - b.width / 2, b.x); 224 a.paddingRight = Math.max(d, a.paddingRight); 257 b = Math.max(s.actorA.index, s.actorB.index); 276 b = Math.max(s.actor[0].index, s.actor[1].index); 301 a.x = Math.max(actorsX, a.x); 312 distance = Math.max(distance, a.width / 2, b.width / 2); 319 diagram.width = Math.max(actorsX, diagram.width); [all …]
|
/plugin/webcomponent/syntax/ |
H A D | related.php | 208 public function related($id, $max = NULL): array argument 210 if ($max == NULL){ 211 $max = $this->getConf(self::MAX_LINKS_CONF); 237 if (sizeof($related)> $max){ 238 $related = array_slice($related, 0, $max);
|
/plugin/struct/types/ |
H A D | User.php | 80 $max = $this->config['autocomplete']['maxresult']; 81 if ($max <= 0) return []; 94 $logins = $pad_keys($auth->retrieveUsers(0, $max, ['user' => $lookup])); 95 if ((count($logins) < $max) && $this->config['autocomplete']['fullname']) { 98 $pad_keys($auth->retrieveUsers(0, $max, ['name' => $lookup]))
|
/plugin/findologicxmlexport/vendor/webmozart/assert/src/ |
H A D | Assert.php | 585 if ($value < $min || $value > $max) { 590 static::valueToString($max) 800 if (static::strlen($value) > $max) { 804 $max 813 if ($length < $min || $length > $max) { 818 $max 1001 public static function maxCount($array, $max, $message = '') argument 1003 if (count($array) > $max) { 1007 $max 1016 if ($count < $min || $count > $max) { [all …]
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/ |
H A D | Prime.php | 543 $max = 0; 550 $max = max(count($naf[$a]), count($naf[$b]), $max); 578 $max = max(count($jsf[0]), $max); 579 if ($max > 0) { 580 $naf[$a] = array_fill(0, $max, 0); 581 $naf[$b] = array_fill(0, $max, 0); 587 for ($j = 0; $j < $max; $j++) { 599 for ($i = $max; $i >= 0; $i--) { 657 $max = (1 << $wnd) - 1; 658 $dbl = $max == 1 ? null : $this->doublePoint($point); [all …]
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/ |
H A D | BCMath.php | 496 * @param BCMath $max 499 public static function randomRangePrime(BCMath $min, BCMath $max) argument 501 return self::randomRangePrimeOuter($min, $max); 514 * @param BCMath $max 517 public static function randomRange(BCMath $min, BCMath $max) argument 519 return self::randomRangeHelper($min, $max); 618 public static function max(BCMath ...$nums) function in phpseclib3\\Math\\BigInteger\\Engines\\BCMath 627 * @param BCMath $max 630 public function between(BCMath $min, BCMath $max) argument 632 return $this->compare($min) >= 0 && $this->compare($max) <= 0;
|
/plugin/diagramsnet/lib/plugins/ |
H A D | random.js | 21 var max = parseInt(prompt('Cycles', defaultMax)); 41 if (counter++ < max && ui.dialog == null) 73 var max = parseInt(prompt('Cycles', defaultMax)); 139 if (counter++ < max && ui.dialog == null) 174 var max = parseInt(prompt('Cycles', defaultMax)); 208 n = Math.min(n, Math.max(0, numberA - 2)); 223 n = Math.min(n, Math.max(0, numberB - 2)); 364 if (counter++ < max && ui.dialog == null) 396 var max = parseInt(prompt('Cycles', defaultMax)); 438 if (counter++ < max && ui.dialog == null)
|
/plugin/diagramsnet/lib/shapes/ |
H A D | mxFlowchart.js | 29 {name: 'size', dispName: 'Wave Size', type: 'float', min:0, max:1, defVal:0.25}, 41 var dy = h * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'size', this.size)))); 76 …var size = Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.state.style, 'size', this.size… 82 …this.state.style['size'] = Math.max(0, Math.min(1, (bounds.y + bounds.height - pt.y) / bounds.heig…
|
/plugin/structgroup/types/ |
H A D | Group.php | 68 $max = $this->config['autocomplete']['maxresult']; 69 if($max <= 0) return array(); 71 $groups = (array) $authgroup->getGroups($max, $lookup);
|
/plugin/diagramsnet/lib/js/grapheditor/ |
H A D | Shapes.js | 796 dx = Math.max(dx, arcSize); 2367 var dy = (fixed) ? Math.max(0, Math.min(h, size)) : h * Math.max(0, Math.min(1, size)); 2434 var dx = (fixed) ? Math.max(0, Math.min(w, size)) : w * Math.max(0, Math.min(1, size)); 2440 var dy = (fixed) ? Math.max(0, Math.min(h, size)) : h * Math.max(0, Math.min(1, size)); 2446 var dy = (fixed) ? Math.max(0, Math.min(h, size)) : h * Math.max(0, Math.min(1, size)); 2504 var dx = (fixed) ? Math.max(0, Math.min(w, size)) : w * Math.max(0, Math.min(1, size)); 2511 var dx = (fixed) ? Math.max(0, Math.min(w, size)) : w * Math.max(0, Math.min(1, size)); 2518 var dy = (fixed) ? Math.max(0, Math.min(h, size)) : h * Math.max(0, Math.min(1, size)); 2525 var dy = (fixed) ? Math.max(0, Math.min(h, size)) : h * Math.max(0, Math.min(1, size)); 5462 max = (max != null) ? max : 0.5; [all …]
|
/plugin/schedule/syntax/ |
H A D | block.php | 115 $formLevel = max ($formLevel, 3); 117 $formLevel = max ($formLevel, 2); 119 $formLevel = max ($formLevel, 1); 178 $max = ""; 187 $max = $dumy ['max'][$i]; 201 $this->schedules->setOtherFilters ($max, $filters, $grouped);
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
H A D | DH.php | 249 $max = $one->bitwise_leftShift($length); 250 $max = $max->subtract($one); 252 $max = $params->prime->subtract($one); 258 $key->privateKey = BigInteger::randomRange($one, $max);
|
/plugin/combo/resources/theme/default/components/css/ |
H A D | outline.css | 7 max width prevent it */ 8 max-width: 100%; 19 @media (min-width: 0px) and (max-width: 576px) {
|
/plugin/loglog/ |
H A D | admin.php | 49 $max = $go; 53 $next = $max + (7 * 24 * 60 * 60); 84 ' - ' . strftime($dateFormat, $max) . '</p>'; 95 $lines = $this->logHelper->readLines($min, $max);
|
/plugin/photogallery/phpThumb/ |
H A D | phpthumb.filters.php | 101 $radius = round(max(0, min($radius, 50)) * 2); 165 $amount = max(-255, min(255, $amount)); 196 $amount = max(-255, min(255, $amount)); 587 $range_min = max($range_min, 0); 661 $PeakValue = max($Analysis[$keys[$band]]); 991 $amount = min(25, max(0, $amount)); 1021 … $grayLevel = min($cutoffRange, max(0, -$min_limit + $colorDiff)) * (255 / max(1, $cutoffRange)); 1067 $colors = max(min($colors, 256), 2); 1085 'red' => max(array_keys($Analysis['red'])), 1087 'blue' => max(array_keys($Analysis['blue'])) [all …]
|
/plugin/geophp/vendor/funiq/geophp/src/Geometry/ |
H A D | LineString.php | 310 $max = ~PHP_INT_MAX; 312 if ($point->hasZ() && $point->z() > $max) { 313 $max = $point->z(); 317 return $max > ~PHP_INT_MAX ? $max : null; 392 $max = ~PHP_INT_MAX; 394 if ($point->isMeasured() && $point->m() > $max) { 395 $max = $point->m(); 399 return $max > ~PHP_INT_MAX ? $max [all...] |
/plugin/addressbook/ |
H A D | style.css | 4 max-width:600px; 50 max-width:150px; 79 max-width:300px; 91 max-width:300px; 108 max-width:500px; 182 max-width:800px;
|
/plugin/jcapture/src/com/hammurapi/jcapture/ |
H A D | Region.java | 63 imageLocation = new Point(Math.max(0, x), Math.max(0, y)); in grabImage() 122 int newMaxX = Math.max(x+grabRange, this.x+this.width); in merge() 123 int newMaxY = Math.max(y+grabRange, this.y+this.height); in merge() 145 int newMaxX = Math.max(region.x+region.width, this.x+this.width); in merge() 146 int newMaxY = Math.max(region.y+region.height, this.y+this.height); in merge()
|