Home
last modified time | relevance | path

Searched refs:num (Results 1 – 21 of 21) sorted by relevance

/dokuwiki/vendor/splitbrain/lesserphp/src/Functions/
H A DMath.php74 $num = Asserts::assertNumber($arg);
75 return ['number', $num * 100, '%'];
102 public function sqrt(array $num): float argument
104 return sqrt(Asserts::assertNumber($num));
113 public function abs(array $num): array argument
115 return ['number', abs(Asserts::assertNumber($num)), $num[2]];
124 public function sin(array $num): float argument
126 return sin(Asserts::assertNumber($num));
135 public function asin(array $num): array argument
137 $num = asin(Asserts::assertNumber($num));
[all …]
/dokuwiki/_test/tests/inc/
H A Dchangelog_getrevisions.test.php49 $num = 1;
54 $revs = $pagelog->getRevisions($first, $num);
64 $num = 1;
68 $revs = $pagelog->getRevisions($first, $num);
72 $revs = $pagelog->getRevisions($first, $num);
76 $revs = $pagelog->getRevisions($first, $num);
86 $num = 1;
90 $revs = $pagelog->getRevisions($first, $num);
94 $revs = $pagelog->getRevisions($first, $num);
98 $revs = $pagelog->getRevisions($first, $num);
[all …]
/dokuwiki/inc/Ui/
H A DRevisions.php58 $num = $conf['recent'];
64 $revlist = $changelog->getRevisions($first, $num + 1);
73 if (count($revlist) > $num) {
H A DSearch.php551 $num = 0;
574 $num++;
577 … if ($num <= FT_SNIPPET_NUMBER) { // create snippets for the first number of matches only
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBinaryField.php123 * @param string $num
126 public function newInteger($num) argument
128 return new Integer($this->instanceID, $num instanceof BigInteger ? $num->toBytes() : $num);
H A DPrimeField.php71 public function newInteger(BigInteger $num) argument
73 return new Integer($this->instanceID, $num);
H A DBigInteger.php764 $nums = array_map(function ($num) {
765 return $num->value;
779 $nums = array_map(function ($num) {
780 return $num->value;
/dokuwiki/inc/ChangeLog/
H A DChangeLog.php197 * @param int $num number of revisions to return
203 public function getRevisions($first, $num) argument
212 $num = max($num, 0);
213 if ($num == 0) {
244 while ($count < $num + $first) {
286 $num = max(min(count($lines) - $first, $num), 0);
287 if ($first > 0 && $num > 0) {
288 $lines = array_slice($lines, max(count($lines) - $first - $num, 0), $num);
289 } elseif ($first > 0 && $num == 0) {
291 } elseif ($first == 0 && $num > 0) {
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/
H A DEvalBarrett.php479 * @param int|float $num
482 private static function float2string($num) argument
484 if (!is_float($num)) {
485 return (string) $num;
488 if ($num < 0) {
489 return '-' . self::float2string(abs($num));
493 while ($num) {
494 $temp = fmod($num, 10) . $temp;
495 $num = floor($num / 10);
/dokuwiki/lib/scripts/
H A Dlinkwiz.js127 $getResult(num) { argument
128 return jQuery(this.result).find('div').eq(num);
134 select(num) { argument
135 if (num < 0) {
140 const $obj = this.$getResult(num);
164 this.selected = num;
/dokuwiki/vendor/splitbrain/lesserphp/src/Utils/
H A DColor.php24 $num = hexdec($colorStr);
28 $t = (int) $num % $width;
29 $num /= $width;
/dokuwiki/inc/
H A Dchangelog.php163 * @param int $num return $num entries
171 function getRecents($first, $num, $ns = '', $flags = 0) argument
177 if (!$num) {
244 if ($count >= $num) {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/PrimeField/
H A DInteger.php65 * @param BigInteger $num
67 public function __construct($instanceID, $num = null) argument
70 if (!isset($num)) {
74 $this->value = $reduce($num);
/dokuwiki/lib/plugins/authpdo/_test/
H A Dsqlite.test.php213 $num = $auth->deleteUsers(array('tester', 'foobar'));
214 $this->assertSame(1, $num);
H A Dmysql.test.php248 $num = $auth->deleteUsers(array($user['user']));
249 $this->assertEquals(1, $num, $info);
/dokuwiki/lib/plugins/popularity/lang/ro/
H A Dintro.txt7 Datele colectate conţin informaţii precum versiunea DokuWiki, numărul şi mărimea paginilor şi a fiş…
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BinaryField/
H A DInteger.php66 public function __construct($instanceID, $num = '') argument
69 if (!strlen($num)) {
73 $this->value = $reduce($num);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/
H A DEngine.php1232 $num = clone $this;
1235 while (!$num->equals(static::$zero[static::class])) {
1236 $vals[] = $num->bitwise_and($mask);
1237 $num = $num->bitwise_rightShift($split);
/dokuwiki/vendor/splitbrain/lesserphp/src/
H A DLessc.php1178 [, $num, $unit] = $value;
1182 $num = round($num, $this->numberPrecision);
1184 return $num . $unit;
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php2163 public static function silence_errors($num, $str) argument
/dokuwiki/_test/core/
H A DphpQuery-onefile.php2761 public function eq($num) { argument
2765 if ( isset($oldStack[$num]) )
2766 $this->elements[] = $oldStack[$num];