/plugin/batchedit/ |
H A D | interface.php | 283 $stats = $this->getLang('sts_page', $page->getId(), $this->getLangPlural('sts_matches', count($page->getMatches())));
|
H A D | engine.php | 213 $count = preg_match_all('/\n/', $context, $match, PREG_SET_ORDER | PREG_OFFSET_CAPTURE); 215 if ($count > $contextLines) { 216 $context = substr($context, $match[$count - $contextLines - 1][0][1] + 1); 231 $count = preg_match_all('/\n/', $context, $match, PREG_SET_ORDER | PREG_OFFSET_CAPTURE); 233 if ($count > $contextLines) { 266 $count = @preg_match_all($regexp, $text, $match, PREG_SET_ORDER | PREG_OFFSET_CAPTURE); 268 if ($count === FALSE) { 274 if ($limit >= 0 && $count > $limit) { 275 $count = $limit; 290 for ($i = 0; $i < $count; [all...] |
/plugin/columns/ |
H A D | action.php | 44 $calls = count($event->data->calls); 82 $calls = count($call); 118 $this->currentBlock = new columns_block(count($this->block), $this->currentBlock); 298 $columns = count($this->column); 332 if (($column >= 0) && ($column < count($this->column))) { 510 if (is_array($attribute) && (count($attribute) > 0)) {
|
H A D | rewriter.php | 36 if (count($this->correction) > 0) { 38 $corrections = count($index); 39 $instructions = count($instruction);
|
/plugin/mikioplugin/ |
H A D | carousel.php | 15 if ($carousel_index > count($matches[0])) { 21 if (count($matches[0]) <= 0) { 30 if (count($attributes) > 0) { 34 for ($i = 1; $i < count($attributes[1]); $i++) {
|
H A D | action.php | 91 if(count($date) === 3) {
|
H A D | css.php | 68 if(count($vars) > 0) {
|
/plugin/mikioplugin/syntax/ |
H A D | box.php | 57 $i = count($parts); 71 $i = count($parts);
|
H A D | carousel.php | 38 'dynamic-count' => array('type' => 'number', 'default' => '-1'), 67 for ($i = 0; $i < count($pages); $i++) { 70 if ($data['dynamic-start'] != -1 && $data['dynamic-count'] != -1 && $data['dynamic-start'] + $data['dynamic-count'] >= $i) { 78 if (count($image_matches) > 1) {
|
H A D | core.php | 145 if (count($this->options) > 0) { 271 if (count($matches) > 1) { 353 && count($customStyles) > 0 498 if (is_array($list) && count($list) > 0) { 671 if (count($class->options) > 0) { 898 if (count($match) >= 2) { 899 for ($i = 0; $i < count($match[1]); $i++) {
|
H A D | icon.php | 35 if(is_array($MIKIO_ICONS) && count($MIKIO_ICONS) > 0) {
|
/plugin/aichat/ |
H A D | cli.php | 196 $this->success('Found ' . count($chunks) . ' chunks'); 220 $this->success('Split into ' . count($chunks) . ' chunks');
|
H A D | composer.lock | 191 "count",
|
H A D | Embeddings.php | 223 '{id} split into {count} chunks', 224 ['id' => $page, 'count' => count($chunkList)] 259 'Fetched {count} similar chunks from store in {time} seconds', 260 ['count' => count($chunks), 'time' => $this->timeSpent] 271 $chunkSize = count($this->getTokenEncoder()->encode($chunk->getText())); 298 $slen = count($tiktok->encode($sentence)); 321 $chunklen = count($tiktok->encode($chunk)); 342 while (count( [all...] |
H A D | helper.php | 318 * Get an aproximation of the token count for the given text 325 return count($this->getEmbeddings()->getTokenEncoder()->encode($text));
|
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/ |
H A D | README.md | 23 // Get tokens count: 24 echo count($tokens); // 4
|
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/data/ |
H A D | vocab.bpe | 19061 count ry
|
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/src/ |
H A D | Encoder.php | 49 $rawDictionaryLines = array_slice($lines, 1, count($lines), true); 75 if (!isset($matches[0]) || 0 == (is_countable($matches[0]) ? count($matches[0]) : 0)) { 198 $initialLength = count($word); 228 while ($i < count($word)) { 244 if (count($newWord) > $initialLength) { 249 if ($word[$i] === $first && $i < count($word) - 1 && $word[$i + 1] === $second) { 263 if (1 === count($word)) {
|
/plugin/aichat/vendor/vanderlee/php-sentence/ |
H A D | README.md | 31 ### ***`integer`*** `count(`***`string`*** `$text)` 62 $count = $Sentence->count($text); 76 sentence count except in very uncommon situations.
|
/plugin/aichat/vendor/vanderlee/php-sentence/src/ |
H A D | Multibyte.php | 81 $count = 1; 83 if (self::isLastPart($length, $flags, $limit, $count)) { 102 * @param $count 105 private static function isLastPart($length, $flags, $limit, &$count) argument 113 && ++$count > $limit;
|
H A D | Sentence.php | 8 * Sentence count should be VERY close to the truth. 272 $word_count = count($words); 297 $subsentences[count($subsentences) - 1] .= $part; 372 $word_count = count(mb_split('\s+', Multibyte::trim($short))); 463 public function count($text) function in Vanderlee\\Sentence\\Sentence 465 return count($this->split($text));
|
/plugin/aichat/vendor/vanderlee/php-sentence/tests/ |
H A D | SentenceTest.php | 29 * @covers ::count 33 $this->assertSame(0, $this->object->count('')); 34 $this->assertSame(0, $this->object->count(' ')); 35 $this->assertSame(0, $this->object->count("\n")); 39 * @covers ::count 43 $this->assertSame(1, $this->object->count('Hello')); 44 $this->assertSame(1, $this->object->count('Hello.')); 45 $this->assertSame(1, $this->object->count('Hello...')); 46 $this->assertSame(1, $this->object->count('Hello!')); 47 $this->assertSame(1, $this->object->count('Hell [all...] |
/plugin/aichat/vendor/composer/ |
H A D | InstalledVersions.php | 59 if (1 === \count($packages)) { 335 self::$installed = $installed[count($installed) - 1];
|
/plugin/bez/cron/ |
H A D | functions.php | 32 if (count($days_before) == 0) { 112 if (count($issues) + count($outdated_tasks) + count($coming_tasks) == 0)
|
/plugin/bez/ctl/ |
H A D | activity_report.php | 11 if(count($_POST) > 0 && ($_POST['from'] != '' || $_POST['to'] != '')) {
|