Home
last modified time | relevance | path

Searched refs:count (Results 101 – 125 of 2539) sorted by last modified time

12345678910>>...102

/plugin/batchedit/
H A Dinterface.php283 $stats = $this->getLang('sts_page', $page->getId(), $this->getLangPlural('sts_matches', count($page->getMatches())));
H A Dengine.php213 $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 Daction.php44 $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 Drewriter.php36 if (count($this->correction) > 0) {
38 $corrections = count($index);
39 $instructions = count($instruction);
/plugin/mikioplugin/
H A Dcarousel.php15 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 Daction.php91 if(count($date) === 3) {
H A Dcss.php68 if(count($vars) > 0) {
/plugin/mikioplugin/syntax/
H A Dbox.php57 $i = count($parts);
71 $i = count($parts);
H A Dcarousel.php38 '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 Dcore.php145 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 Dicon.php35 if(is_array($MIKIO_ICONS) && count($MIKIO_ICONS) > 0) {
/plugin/aichat/
H A Dcli.php196 $this->success('Found ' . count($chunks) . ' chunks');
220 $this->success('Split into ' . count($chunks) . ' chunks');
H A Dcomposer.lock191 "count",
H A DEmbeddings.php223 '{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 Dhelper.php318 * 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 DREADME.md23 // Get tokens count:
24 echo count($tokens); // 4
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/data/
H A Dvocab.bpe19061 count ry
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/src/
H A DEncoder.php49 $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 DREADME.md31 ### ***`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 DMultibyte.php81 $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 DSentence.php8 * 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 DSentenceTest.php29 * @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 DInstalledVersions.php59 if (1 === \count($packages)) {
335 self::$installed = $installed[count($installed) - 1];
/plugin/bez/cron/
H A Dfunctions.php32 if (count($days_before) == 0) {
112 if (count($issues) + count($outdated_tasks) + count($coming_tasks) == 0)
/plugin/bez/ctl/
H A Dactivity_report.php11 if(count($_POST) > 0 && ($_POST['from'] != '' || $_POST['to'] != '')) {

12345678910>>...102