Home
last modified time | relevance | path

Searched refs:count (Results 26 – 50 of 2539) sorted by path

12345678910>>...102

/plugin/advrack/
H A Draphael.js1214 count = newf.count = newf.count || [];
1216 repush(count, args);
1219 count.length >= 1e3 && delete cache[count.shift()];
1220 count.push(args);
5277 setproto.splice = function (index, count, insertion) { argument
5279 count = mmax(0, mmin(this.length - index, count));
5287 for (i = 0; i < count; i++) {
5297 i = this.items.length = this.length -= count - arglen;
/plugin/aichat/
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 Dcli.php196 $this->success('Found ' . count($chunks) . ' chunks');
220 $this->success('Split into ' . count($chunks) . ' chunks');
H A Dcomposer.lock191 "count",
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/composer/
H A DInstalledVersions.php59 if (1 === \count($packages)) {
335 self::$installed = $installed[count($installed) - 1];
/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/airtable/
H A Dsyntax.php149 …if(count($api_response['records']) == 1) { //if query resulted in one record, render as a template:
/plugin/ajaxloader/
H A Dajax.php11 if(!count($_POST) && !empty($HTTP_RAW_POST_DATA)){
H A Dcommon.php5 (count($name) === 2 ? "/{$name[1]}" : "") . '.php';
/plugin/ajaxpeon/
H A Daction.php171 … if(!$tocok || !is_array($toc) || !$conf['tocminheads'] || count($toc) < $conf['tocminheads']) {
215 if(!count($toc)) return '';
/plugin/alphaindex/
H A Dsyntax.php195 $nb_data = count($data);
277 $nb_data = count($alpha_data);
/plugin/alphalist/
H A Dsyntax.php58 for($i=0;$i<count($matches[0]);$i++)
62 for($j=1;$j<count($matches);$j++)
75 for($i=0;$i<count($pages[0]);$i++)
132 if(count($data) > 0)
/plugin/amazon/
H A DXMLParser.php89 while (++$i < count($vals)) {
118 if (is_array($value) && (count($value) == 1))
/plugin/amazon_heavy/
H A Dclass.xmlreader.php65 while (++$i < count($vals)) {
/plugin/amcharts/assets/amcharts/
H A Damcharts.js20 …||"hh"==b)&&10>a&&(a="0"+a);c=a+""+e[b]+""+c;if(g[h].count>g[b].count)for(a=g[b].count;a<g[h].coun…
32 …PeriodChange=this.boldPeriodBeginning=!0;this.periods=[{period:"ss",count:1},{period:"ss",count:5},
33count:10},{period:"ss",count:30},{period:"mm",count:1},{period:"mm",count:5},{period:"mm",count:10…
34 count:5},{period:"YYYY",count:10},{period:"YYYY",count:50},{period:"YYYY",count:100}];this.dateForm…
42count),l,m,n,q,p,t=this.firstDayOfWeek,r=this.boldPeriodBeginning;a=this.minorGridEnabled;var u,x=…
46 …ction(a){var b=d.getPeriodDuration(this.periods[a].period,this.periods[a].count),c=this.periods;re…
47 …r a=d.extractPeriod(this.minPeriod);return d.getPeriodDuration(a.period,a.count)},checkPeriodChang…
276 r=t.period,t=t.count,x=d.getPeriodDuration(r,t));var y={};this.lookupTable=y;var w,A=this.dataDateF…
364 …pNumbers(a),c=1;b!=a&&(c=Number(a.slice(0,a.indexOf(b))));return{period:b,count:c}};d.getDate=func…
367 …ins:60,count:0},mm:{nextInterval:"hh",contains:60,count:1},hh:{nextInterval:"DD",contains:24,count property in d.intervals.mm
H A Dgantt.js2 …DateField,w=this.colorField,p=c.extractPeriod(this.period),f=p.period,p=p.count,q=c.getDate(this.s…
/plugin/amcharts/assets/amcharts/plugins/export/libs/jszip/
H A Djszip.js7682 count[len] = 0;
7722 left -= count[len];
7852 if (--count[len] === 0) {
8709 } else if (count <= 10) {
8716 count = 0;
8773 count--;
8777 send_bits(s, count-3, 2);
8779 } else if (count <= 10) {
8781 send_bits(s, count-3, 3);
8785 send_bits(s, count-11, 7);
[all …]
/plugin/amcharts/assets/amcharts/plugins/export/libs/pdfmake/
H A Dpdfmake.js6153 var count = 0,
6166 count = 0;
23922 } else if (count <= 10) {
23929 count = 0;
23986 count--;
23992 } else if (count <= 10) {
24001 count = 0;
26366 count[len] = 0;
26406 left -= count[len];
29952 for (i = _i = 0; 0 <= count ? _i < count : _i > count; i = 0 <= count ? ++_i : --_i) {
[all …]

12345678910>>...102