Home
last modified time | relevance | path

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

123456

/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dmodule.graphic.png.php77 $chunk['type_raw'] = getid3_lib::BigEndian2Int($chunk['type_text']);
79 $offset += $chunk['data_length'];
83 $chunk['flags']['ancilliary'] = (bool) ($chunk['type_raw'] & 0x20000000);
84 $chunk['flags']['private'] = (bool) ($chunk['type_raw'] & 0x00200000);
85 $chunk['flags']['reserved'] = (bool) ($chunk['type_raw'] & 0x00002000);
86 $chunk['flags']['safe_to_copy'] = (bool) ($chunk['type_raw'] & 0x00000020);
92 switch ($chunk['type_text']) {
446 unset($chunk['data']);
459 unset($chunk['data']);
480 unset($chunk['data']);
[all …]
H A Dwrite.real.php172 foreach ($chunks as $key => $chunk) {
173 $chunkNameKeys[$chunk['name']] = $key;
174 if ($chunk['name'] == 'CONT') {
199 foreach ($chunks as $key => $chunk) {
200 $chunkNameKeys[$chunk['name']] = $key;
201 if ($chunk['name'] == 'CONT') {
202 $old_CONT_length = $chunk['length'];
203 } elseif ($chunk['name'] == 'DATA') {
205 $old_DATA_offset = $chunk['offset'];
207 } elseif ($chunk['name'] == 'INDX') {
[all …]
/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/findologicxmlexport/vendor/sebastian/diff/tests/
H A DChunkTest.php23 private $chunk; variable in SebastianBergmann\\Diff\\ChunkTest
27 $this->chunk = new Chunk;
32 $this->assertInstanceOf('SebastianBergmann\Diff\Chunk', $this->chunk);
37 $this->assertEquals(0, $this->chunk->getStart());
42 $this->assertEquals(1, $this->chunk->getStartRange());
47 $this->assertEquals(0, $this->chunk->getEnd());
52 $this->assertEquals(1, $this->chunk->getEndRange());
57 $this->assertEquals(array(), $this->chunk->getLines());
62 $this->assertEquals(array(), $this->chunk->getLines());
65 $this->chunk->setLines($testValue);
[all …]
H A DParserTest.php97 $chunk = $chunks[0];
98 $this->assertSame(49, $chunk->getStart());
99 $this->assertSame(49, $chunk->getEnd());
100 $this->assertSame(9, $chunk->getStartRange());
101 $this->assertSame(8, $chunk->getEndRange());
103 $lines = $chunk->getLines();
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/php/
H A Dutil.php90 $chunk = fread( $fp, 1024 ) ;
93 $chunk = strtolower( $chunk ) ;
95 if (!$chunk)
100 $chunk = trim( $chunk ) ;
102 if ( preg_match( "/<!DOCTYPE\W*X?HTML/sim", $chunk ) )
111 if( false !== strpos( $chunk, $tag ) )
118 if ( preg_match( '!type\s*=\s*[\'"]?\s*(?:\w*/)?(?:ecma|java)!sim', $chunk ) )
126 if ( preg_match( '!(?:href|src|data)\s*=\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
132 if ( preg_match( '!url\s*\(\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
/plugin/swiftmail/Swift/Message/
H A DEncoder.php98 $chunk -= 2;
99 $chunk = $this->getHcf($chunk, 4);
128 $ret .= trim(chunk_split($string, $chunk, $le)) . $le;
156 $chunk -= 2;
157 $chunk = $this->getHcf($chunk, 4);
164 $next = chunk_split($this->rawBase64Encode($bytes), $chunk, $le);
286 public function encode7Bit($data, $chunk=76, $le="\r\n") argument
288 return $this->fixLE(wordwrap($data, $chunk-2, $le, 1), $le);
314 public function encode8Bit($data, $chunk=76, $le="\r\n") argument
316 return $this->fixLE(wordwrap($data, $chunk-2, $le, 1), $le);
[all …]
/plugin/fckg/fckeditor/editor/filemanager/connectors/php/
H A Dutil.php126 $chunk = fread( $fp, 1024 ) ;
130 $chunk = strtolower( $chunk ) ;
132 if (!$chunk)
137 $chunk = trim( $chunk ) ;
139 if ( preg_match( "/<!DOCTYPE\W*X?HTML/sim", $chunk ) )
148 if( false !== strpos( $chunk, $tag ) )
150 if($tag == '<title' && preg_match("/svg-edit/",$chunk)) continue;
156 if ( preg_match( '!type\s*=\s*[\'"]?\s*(?:\w*/)?(?:ecma|java)!sim', $chunk ) )
164 if ( preg_match( '!(?:href|src|data)\s*=\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
170 if ( preg_match( '!url\s*\(\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
/plugin/ckgdoku/fckeditor/editor/filemanager/connectors/php/
H A Dutil.php126 $chunk = fread( $fp, 1024 ) ;
130 $chunk = strtolower( $chunk ) ;
132 if (!$chunk)
137 $chunk = trim( $chunk ) ;
139 if ( preg_match( "/<!DOCTYPE\W*X?HTML/sim", $chunk ) )
148 if( false !== strpos( $chunk, $tag ) )
150 if($tag == '<title' && preg_match("/svg-edit/",$chunk)) continue;
156 if ( preg_match( '!type\s*=\s*[\'"]?\s*(?:\w*/)?(?:ecma|java)!sim', $chunk ) )
164 if ( preg_match( '!(?:href|src|data)\s*=\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
170 if ( preg_match( '!url\s*\(\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
/plugin/ckgedit/fckeditor/editor/filemanager/connectors/php/
H A Dutil.php126 $chunk = fread( $fp, 1024 ) ;
130 $chunk = strtolower( $chunk ) ;
132 if (!$chunk)
137 $chunk = trim( $chunk ) ;
139 if ( preg_match( "/<!DOCTYPE\W*X?HTML/sim", $chunk ) )
148 if( false !== strpos( $chunk, $tag ) )
150 if($tag == '<title' && preg_match("/svg-edit/",$chunk)) continue;
156 if ( preg_match( '!type\s*=\s*[\'"]?\s*(?:\w*/)?(?:ecma|java)!sim', $chunk ) )
164 if ( preg_match( '!(?:href|src|data)\s*=\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
170 if ( preg_match( '!url\s*\(\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
/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/aichat/
H A DEmbeddings.php19 * Pages are split into chunks of 1000 tokens each. For each chunk the embedding vector is fetched from
44 /** @var int the time spent for the last similar chunk retrieval */
107 * Return the chunk size to use
136 $chunkID = $pid * 100; // chunk IDs start at page ID * 100
172 * @param int $firstChunkID The ID of the first chunk of this page
212 $part = $crumbs . "\n\n" . $part; // add breadcrumbs to each chunk
219 'Failed to get embedding for chunk of page {page}: {msg}',
274 foreach ($chunks as $chunk) {
276 if ($auth && auth_quickaclcheck($chunk->getPage()) < AUTH_READ) continue;
277 if ($chunk
[all...]
/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/combo/vendor/dragonmantank/cron-expression/src/Cron/
H A DDayOfMonthField.php129 foreach ($chunks as $chunk) {
130 if (!$this->validate($chunk)) {
146 foreach ($chunks as $chunk) {
147 if (!$this->validate($chunk)) {
158 foreach ($chunks as $chunk) {
159 if (!$this->validate($chunk)) {
/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/findologicxmlexport/vendor/sebastian/diff/src/
H A DParser.php74 $chunk = null;
78 $chunk = new Chunk(
85 $chunks[] = $chunk;
102 if (null !== $chunk) {
103 $chunk->setLines($diffLines);
/plugin/botbouncer/admin/
H A Dstatistics.php122 $chunk = '';
138 $chunk = $tmp.$chunk;
141 $cparts = explode("\n",$chunk);
144 if($pos) $chunk = array_shift($cparts);
/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/loglog/helper/
H A Dlogging.php87 $chunk = '';
103 $chunk = $tmp . $chunk;
106 $cparts = explode("\n", $chunk);
109 if ($pos) $chunk = array_shift($cparts);
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/Loader/
H A DInlineLoader.php115 foreach (preg_split("/^@@(?= [\w\d\.]+$)/m", $data, -1) as $chunk) {
116 if (trim($chunk)) {
117 list($name, $content) = explode("\n", $chunk, 2);
/plugin/dpicorrect/
H A Daction.php115 $chunk = "";
116 while($chunk != "pHYs" && $chunk != "IDAT") {
123 $chunk = fread($a,4); }
125 if($chunk == "IDAT") { fclose($a); return $this->NO_RESOLUTION; }
/plugin/badbehaviour/
H A Dadmin.php173 $chunk = '';
189 $chunk = $tmp.$chunk;
192 $cparts = explode("\n",$chunk);
195 if($pos) $chunk = array_shift($cparts);
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/
H A DContext.php133 foreach ($chunks as $chunk) {
138 $value = $this->findVariableInStack($chunk, array($value));
169 foreach ($chunks as $chunk) {
174 $value = $this->findVariableInStack($chunk, array($value));

123456