Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 25 of 127) sorted by path

123456

/plugin/abc2/abc-libraries/abc2svg/
H A Dsnd-1.js483 (function(root,factory){if(typeof exports==="object"){root.sf2=exports;factory(exports)}else if(typeof define==="function"&&define.amd){define(["exports"],function(exports){root.sf2=exports;return(root.sf2,factory(exports))})}else{root.sf2={};factory(root.sf2)}}(this,function(exports){"use strict";var sf2=exports;sf2.Parser=function(input,options){options=options||{};this.input=input;this.parserOptions=options.parserOptions};sf2.Parser.prototype.parse=function(){var parser=new sf2.Riff.Parser(this.input,this.parserOptions),chunk;parser.parse();if(parser.chunkList.length!==1)
484 throw new Error('wrong chunk length');chunk=parser.getChunk(0);if(chunk===null)
485 throw new Error('chunk not found');this.parseRiffChunk(chunk);this.input=null};sf2.Parser.prototype.parseRiffChunk=function(chunk){var parser,data=this.input,ip=chunk.offset,signature;if(chunk.type!=='RIFF') argument
486 throw new Error('invalid chunk typ
488 AnonymousFunction5ff9e8c80a00(chunk) global() argument
490 AnonymousFunction5ff9e8c80b00(chunk) global() argument
493 AnonymousFunction5ff9e8c80c00(chunk) global() argument
496 AnonymousFunction5ff9e8c80d00(chunk) global() argument
497 AnonymousFunction5ff9e8c80e00(chunk) global() argument
498 AnonymousFunction5ff9e8c80f00(chunk) global() argument
499 AnonymousFunction5ff9e8c81000(chunk) global() argument
500 AnonymousFunction5ff9e8c81100(chunk) global() argument
501 AnonymousFunction5ff9e8c81200(chunk) global() argument
502 AnonymousFunction5ff9e8c81300(chunk) global() argument
503 AnonymousFunction5ff9e8c81400(chunk) global() argument
504 AnonymousFunction5ff9e8c81500(chunk) global() argument
508 AnonymousFunction5ff9e8c81700(chunk) global() argument
510 AnonymousFunction5ff9e8c81800(chunk) global() argument
[all...]
/plugin/aichat/
H A DEmbeddings.php18 * Pages are split into chunks of 1000 tokens each. For each chunk the embedding vector is fetched from
43 /** @var int the time spent for the last similar chunk retrieval */
106 * Return the chunk size to use
135 $chunkID = $pid * 100; // chunk IDs start at page ID * 100
171 * @param int $firstChunkID The ID of the first chunk of this page
211 'Failed to get embedding for chunk of page {page}: {msg}',
266 foreach ($chunks as $chunk) {
268 if ($auth && auth_quickaclcheck($chunk->getPage()) < AUTH_READ) continue;
269 if ($chunk->getScore() < $this->similarityThreshold) continue;
271 $chunkSize = count($this->getTokenEncoder()->encode($chunk
[all...]
H A Dcli.php177 * Check chunk availability for a given page
215 foreach ($chunks as $chunk) {
216 echo $chunk->getText();
H A Dhelper.php200 array_map(static fn(Chunk $chunk) => "\n```\n" . $chunk->getText() . "\n```\n", $similar)
/plugin/aichat/Storage/
H A DSQLiteStorage.php30 /** @var float minimum similarity to consider a chunk a match */
54 $record['chunk'],
87 foreach ($chunks as $chunk) {
89 'page' => $chunk->getPage(),
90 'id' => $chunk->getId(),
91 'chunk' => $chunk->getText(),
92 'embedding' => json_encode($chunk->getEmbedding(), JSON_THROW_ON_ERROR),
93 'created' => $chunk->getCreated(),
94 'lang' => $chunk
[all...]
/plugin/aichat/db/
H A Dupdate0001.sql6 chunk TEXT NOT NULL, field
/plugin/amcharts/assets/amcharts/plugins/export/libs/fabric.js/
H A Dfabric.js3085 style.replace(/;$/, '').split(';').forEach(function (chunk) { argument
3086 var pair = chunk.split(':');
23297 response.on('data', function (chunk) { argument
23299 body += chunk;
H A Dfabric.min.js2 …var attr,value;style.replace(/;$/,"").split(";").forEach(function(chunk){var pair=chunk.split(":")… argument
15 …tion(){callback(body)});response.on("data",function(chunk){if(response.statusCode===200){body+=chu… argument
/plugin/amcharts/assets/amcharts/plugins/export/libs/jszip/
H A Djszip.js2007 var chunk = 65536;
2035 while (k < len && chunk > 1) {
2043 k += chunk;
2046 chunk = Math.floor(chunk / 2);
3057 Deflate.prototype.onData = function(chunk) { argument
3058 this.chunks.push(chunk);
3420 this.chunks.push(chunk);
3583 var i, l, len, pos, chunk, result;
3595 chunk = chunks[i];
3596 result.set(chunk, pos);
[all …]
/plugin/amcharts/assets/amcharts/plugins/export/libs/pdfmake/
H A Dpdfmake.js12744 lodash.chunk = chunk;
17918 chunk = new Buffer(chunk, encoding);
17949 chunk = state.decoder.write(chunk);
18186 if (chunk && chunk.length) {
18559 if (chunk && chunk.length)
18569 chunk = state.decoder.write(chunk);
19113 this.chunk = chunk;
19310 chunk = new Buffer(chunk, encoding);
19319 chunk = decodeChunk(state, chunk, encoding);
19448 var chunk = entry.chunk;
[all …]
H A Dpdfmake.min.js8 ….before=Gr,e.bind=qr,e.bindAll=Yr,e.bindKey=Xr,e.callback=wo,e.chain=pr,e.chunk=Mn,e.compact=On,e.…
11chunk=t,this.encoding=e,this.callback=n}function i(t,e){var r=n(35);t=t||{};var i=t.highWaterMark,…
H A Dpdfmake.min.js.map1chunk","push","concat","_pdfMakePages","end","_getPages","cb","ignoreBuffer","pages","open","messa…
/plugin/authfacebook/lib/
H A DFacebook.php598 $chunk = $uploader->start($endpoint, $file);
601 $chunk = $this->maxTriesTransfer($uploader, $endpoint, $chunk, $maxTransferTries);
602 } while (!$chunk->isLastChunk());
605 'video_id' => $chunk->getVideoId(),
606 'success' => $uploader->finish($endpoint, $chunk->getUploadSessionId(), $metadata),
615 * @param FacebookTransferChunk $chunk
622 …sfer(FacebookResumableUploader $uploader, $endpoint, FacebookTransferChunk $chunk, $retryCountdown) argument
624 $newChunk = $uploader->transfer($endpoint, $chunk, $retryCountdown < 1);
626 if ($newChunk !== $chunk) {
633 return $this->maxTriesTransfer($uploader, $endpoint, $chunk, $retryCountdown);
/plugin/authfacebook/lib/FileUpload/
H A DFacebookResumableUploader.php100 * @param FacebookTransferChunk $chunk
107 public function transfer($endpoint, FacebookTransferChunk $chunk, $allowToThrow = false) argument
111 'upload_session_id' => $chunk->getUploadSessionId(),
112 'start_offset' => $chunk->getStartOffset(),
113 'video_file_chunk' => $chunk->getPartialFile(),
125 return $chunk;
128 …return new FacebookTransferChunk($chunk->getFile(), $chunk->getUploadSessionId(), $chunk->getVideo…
/plugin/authgoogle/google/service/
H A DGoogle_MediaFileUpload.php212 public function nextChunk(Google_HttpRequest $req, $chunk=false) { argument
217 if (false == $chunk) {
218 $chunk = substr($this->data, $this->progress, $this->chunkSize);
221 $lastBytePos = $this->progress + strlen($chunk) - 1;
229 $httpRequest = new Google_HttpRequest($this->resumeUri, 'PUT', $headers, $chunk);
/plugin/authgooglesheets/vendor/google/apiclient/src/Http/
H A DMediaFileUpload.php122 * @param string|bool $chunk Optional. The next set of bytes to send. If false will
125 public function nextChunk($chunk = false) argument
129 if (false == $chunk) {
130 $chunk = substr($this->data, $this->progress, $this->chunkSize);
133 $lastBytePos = $this->progress + strlen($chunk) - 1;
136 'content-length' => strlen($chunk),
144 Psr7\Utils::streamFor($chunk)
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/
H A DCHANGELOG.md683 * Bug fix: ChunkedIterator can now properly chunk a \Traversable as well as an \Iterator.
/plugin/authgooglesheets/vendor/monolog/monolog/
H A DCHANGELOG.md50 …* Fixed StreamHandler thread safety - chunk size set to 2GB now to avoid interlacing when doing co…
219 …* Added SocketHandler::setChunkSize to override the default chunk size in case you must send large…
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
H A DSocketHandler.php402 $chunk = $this->fwrite($data);
404 $chunk = $this->fwrite(substr($data, $sent));
406 if ($chunk === false) {
409 $sent += $chunk;
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/SyslogUdp/
H A DUdpSocket.php60 protected function send(string $chunk): void argument
65 socket_sendto($this->socket, $chunk, strlen($chunk), $flags = 0, $this->ip, $this->port);
/plugin/authgooglesheets/vendor/paragonie/constant_time_encoding/src/
H A DBase32.php402 $b0 = $chunk[1];
403 $b1 = $chunk[2];
404 $b2 = $chunk[3];
405 $b3 = $chunk[4];
406 $b4 = $chunk[5];
421 $b0 = $chunk[1];
423 $b1 = $chunk[2];
424 $b2 = $chunk[3];
425 $b3 = $chunk[4];
438 $b1 = $chunk[2];
[all …]
H A DBase64.php78 $b0 = $chunk[1];
79 $b1 = $chunk[2];
80 $b2 = $chunk[3];
92 $b0 = $chunk[1];
94 $b1 = $chunk[2];
164 $c0 = static::decode6Bits($chunk[1]);
165 $c1 = static::decode6Bits($chunk[2]);
166 $c2 = static::decode6Bits($chunk[3]);
167 $c3 = static::decode6Bits($chunk[4]);
181 $c0 = static::decode6Bits($chunk[1]);
[all …]
H A DHex.php48 $chunk = \unpack('C', Binary::safeSubstr($binString, $i, 1));
49 $c = $chunk[1] & 0xf;
50 $b = $chunk[1] >> 4;
76 $chunk = \unpack('C', Binary::safeSubstr($binString, $i, 2));
77 $c = $chunk[1] & 0xf;
78 $b = $chunk[1] >> 4;
117 $chunk = \unpack('C*', $encodedString);
120 $c = $chunk[$hex_pos];
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DHash.php1374 foreach ($chunks as $chunk) {
1377 $temp = new BigInteger(Strings::shift($chunk, 8), 256);
/plugin/badbehaviour/
H A Dadmin.php173 $chunk = '';
189 $chunk = $tmp.$chunk;
192 $cparts = explode("\n",$chunk);
195 if($pos) $chunk = array_shift($cparts);

123456