| /plugin/jplayer/vendor/james-heinrich/getid3/getid3/ |
| D | module.graphic.png.php | 60 $chunk['data_length'] = getid3_lib::BigEndian2Int(substr($PNGfiledata, $offset, 4)); 61 if ($chunk['data_length'] === false) { 67 …while (((strlen($PNGfiledata) - $offset) < ($chunk['data_length'] + 4)) && ($this->ftell() < $info… 75 $chunk['type_text'] = substr($PNGfiledata, $offset, 4); 77 $chunk['type_raw'] = getid3_lib::BigEndian2Int($chunk['type_text']); 78 …$chunk['data'] = substr($PNGfiledata, $offset, $chunk['data_lengt… 79 $offset += $chunk['data_length']; 80 $chunk['crc'] = getid3_lib::BigEndian2Int(substr($PNGfiledata, $offset, 4)); 83 $chunk['flags']['ancilliary'] = (bool) ($chunk['type_raw'] & 0x20000000); 84 $chunk['flags']['private'] = (bool) ($chunk['type_raw'] & 0x00200000); [all …]
|
| /plugin/authgooglesheets/vendor/paragonie/constant_time_encoding/src/ |
| D | Base32.php | 233 $chunk = \unpack('C*', Binary::safeSubstr($src, $i, 8)); 235 $c0 = static::$method($chunk[1]); 237 $c1 = static::$method($chunk[2]); 239 $c2 = static::$method($chunk[3]); 241 $c3 = static::$method($chunk[4]); 243 $c4 = static::$method($chunk[5]); 245 $c5 = static::$method($chunk[6]); 247 $c6 = static::$method($chunk[7]); 249 $c7 = static::$method($chunk[8]); 264 $chunk = \unpack('C*', Binary::safeSubstr($src, $i, $srcLen - $i)); [all …]
|
| D | Base64.php | 77 $chunk = \unpack('C*', Binary::safeSubstr($src, $i, 3)); 78 $b0 = $chunk[1]; 79 $b1 = $chunk[2]; 80 $b2 = $chunk[3]; 91 $chunk = \unpack('C*', Binary::safeSubstr($src, $i, $srcLen - $i)); 92 $b0 = $chunk[1]; 94 $b1 = $chunk[2]; 163 $chunk = \unpack('C*', Binary::safeSubstr($encodedString, $i, 4)); 164 $c0 = static::decode6Bits($chunk[1]); 165 $c1 = static::decode6Bits($chunk[2]); [all …]
|
| D | Hex.php | 48 $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/ |
| D | ChunkTest.php | 23 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 …]
|
| /plugin/asciidocjs/node_modules/handlebars/lib/handlebars/compiler/ |
| D | code-gen.js | 49 function castChunk(chunk, codeGen, loc) { argument 50 if (isArray(chunk)) { 53 for (let i = 0, len = chunk.length; i < len; i++) { 54 ret.push(codeGen.wrap(chunk[i], loc)); 57 } else if (typeof chunk === 'boolean' || typeof chunk === 'number') { 59 return chunk + ''; 61 return chunk; 98 wrap: function(chunk, loc = this.currentLocation || { start: {} }) { argument 99 if (chunk instanceof SourceNode) { 100 return chunk; [all …]
|
| /plugin/asciidocjs/node_modules/handlebars/dist/amd/handlebars/compiler/ |
| D | code-gen.js | 49 function castChunk(chunk, codeGen, loc) { argument 50 if (_utils.isArray(chunk)) { 53 for (var i = 0, len = chunk.length; i < len; i++) { 54 ret.push(codeGen.wrap(chunk[i], loc)); 57 } else if (typeof chunk === 'boolean' || typeof chunk === 'number') { 59 return chunk + ''; 61 return chunk; 98 wrap: function wrap(chunk) { 101 if (chunk instanceof SourceNode) { 102 return chunk; [all …]
|
| /plugin/asciidocjs/node_modules/handlebars/dist/cjs/handlebars/compiler/ |
| D | code-gen.js | 52 function castChunk(chunk, codeGen, loc) { argument 53 if (_utils.isArray(chunk)) { 56 for (var i = 0, len = chunk.length; i < len; i++) { 57 ret.push(codeGen.wrap(chunk[i], loc)); 60 } else if (typeof chunk === 'boolean' || typeof chunk === 'number') { 62 return chunk + ''; 64 return chunk; 101 wrap: function wrap(chunk) { 104 if (chunk instanceof SourceNode) { 105 return chunk; [all …]
|
| /plugin/wysiwyg/fckeditor/editor/filemanager/connectors/php/ |
| D | util.php | 90 $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/ |
| D | Encoder.php | 95 public function base64Encode($data, $chunk=76, $init_chunk=0, $headers=false, $le="\r\n") argument 98 $chunk -= 2; 99 $chunk = $this->getHcf($chunk, 4); 128 $ret .= trim(chunk_split($string, $chunk, $le)) . $le; 152 public function base64EncodeFile(Swift_File $file, $chunk=76, $le="\r\n") argument 156 $chunk -= 2; 157 $chunk = $this->getHcf($chunk, 4); 164 $next = chunk_split($this->rawBase64Encode($bytes), $chunk, $le); 180 public function QPEncode($data, $chunk=76, $init_chunk=0, $headers=false, $le="\r\n") argument 213 || preg_match('/^.{1,'.($chunk-6).'}([^=]{0,3})?/', $string, $matches) [all …]
|
| /plugin/aichat/ |
| D | TextSplitter.php | 51 $chunk = ''; 62 $chunk .= $sentence; 68 $chunk = trim($chunk); 69 if ($chunk !== '') $chunks[] = $chunk; 72 $chunk = implode(' ', $this->sentenceQueue); 73 $chunk .= $sentence; 74 $chunklen = count($this->tiktok->encode($chunk)); 79 $chunk = trim($chunk); 80 if ($chunk !== '') $chunks[] = $chunk;
|
| D | Embeddings.php | 323 foreach ($chunks as $chunk) { 325 if ($auth && auth_quickaclcheck($chunk->getPage()) < AUTH_READ) continue; 326 if ($chunk->getScore() < $this->similarityThreshold) continue; 329 $chunkSize = count($this->getTokenEncoder()->encode($chunk->getText())); 333 $result[] = $chunk; 356 foreach ($chunks as $chunk) { 357 $page = $chunk->getPage(); 360 $content = $this->getPageContent($chunk->getPage()); 361 $crumbs = $this->breadcrumbTrail($chunk->getPage()); 365 $chunk->getId(), [all …]
|
| /plugin/asciidocjs/node_modules/chalk/source/ |
| D | templates.js | 40 for (const chunk of chunks) { 41 const number = Number(chunk); 44 } else if ((matches = chunk.match(STRING_REGEX))) { 47 throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`); 102 let chunk = []; 107 chunk.push(unescape(escapeCharacter)); 109 const string = chunk.join(''); 110 chunk = []; 118 chunks.push(buildStyle(chalk, styles)(chunk.join(''))); 119 chunk = []; [all …]
|
| /plugin/ckgdoku/fckeditor/editor/filemanager/connectors/php/ |
| D | util.php | 126 $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/ |
| D | util.php | 126 $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/fckg/fckeditor/editor/filemanager/connectors/php/ |
| D | util.php | 126 $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/ |
| D | FacebookResumableUploader.php | 100 * @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/abc2/abc-libraries/abc2svg/ |
| D | snd-1.js | 483 …=function(){var parser=new sf2.Riff.Parser(this.input,this.parserOptions),chunk;parser.parse();if(… 484 throw new Error('wrong chunk length');chunk=parser.getChunk(0);if(chunk===null) 485 …ffChunk(chunk);this.input=null};sf2.Parser.prototype.parseRiffChunk=function(chunk){var parser,dat… argument 486 throw new Error('invalid chunk type:'+chunk.type);signature=String.fromCharCode(data[ip++],data[ip+… 487 …gnature:'+signature);parser=new sf2.Riff.Parser(data,{'index':ip,'length':chunk.size-4});parser.pa… 488 …2.Parser.prototype.parseInfoList=function(chunk){var parser,data=this.input,ip=chunk.offset,signat… argument 489 throw new Error('invalid chunk type:'+chunk.type);signature=String.fromCharCode(data[ip++],data[ip+… 490 …gth':chunk.size-4});parser.parse()};sf2.Parser.prototype.parseSdtaList=function(chunk){var parser,… argument 491 throw new Error('invalid chunk type:'+chunk.type);signature=String.fromCharCode(data[ip++],data[ip+… 492 …gnature:'+signature);parser=new sf2.Riff.Parser(data,{'index':ip,'length':chunk.size-4});parser.pa… [all …]
|
| /plugin/aichat/syntax/ |
| D | similar.php | 63 foreach ($chunks as $chunk) { 64 $similar += $storage->getSimilarChunks($chunk->getEmbedding(), 10); 67 $similar = array_filter($similar, static fn($chunk) => $chunk->getPage() !== $id); 78 foreach ($similar as $chunk) { 81 $renderer->internallink($chunk->getPage(), null, null, false, 'navigation');
|
| /plugin/asciidocjs/node_modules/source-map/lib/ |
| D | source-node.js | 174 aChunk.forEach(function (chunk) { argument 175 this.add(chunk); 222 var chunk; 224 chunk = this.children[i]; 225 if (chunk[isSourceNode]) { 226 chunk.walk(aFn); 229 if (chunk !== '') { 230 aFn(chunk, { source: this.source, 320 this.walk(function (chunk) { argument 321 str += chunk; [all …]
|
| /plugin/asciidocjs/node_modules/pug-filters/node_modules/source-map/lib/ |
| D | source-node.js | 174 aChunk.forEach(function (chunk) { argument 175 this.add(chunk); 222 var chunk; 224 chunk = this.children[i]; 225 if (chunk[isSourceNode]) { 226 chunk.walk(aFn); 229 if (chunk !== '') { 230 aFn(chunk, { source: this.source, 320 this.walk(function (chunk) { argument 321 str += chunk; [all …]
|
| /plugin/asciidocjs/node_modules/pug-filters/node_modules/wordwrap/ |
| D | index.js | 40 var chunk = rawChunk.replace(/\t/g, ' '); 43 if (lines[i].length + chunk.length > stop) { 46 chunk.split(/\n/).forEach(function (c) { 53 else if (chunk.match(/\n/)) { 54 var xs = chunk.split(/\n/); 64 lines[i] += chunk;
|
| /plugin/asciidocjs/node_modules/wordwrap/ |
| D | index.js | 40 var chunk = rawChunk.replace(/\t/g, ' '); 43 if (lines[i].length + chunk.length > stop) { 46 chunk.split(/\n/).forEach(function (c) { 53 else if (chunk.match(/\n/)) { 54 var xs = chunk.split(/\n/); 64 lines[i] += chunk;
|
| /plugin/asciidocjs/node_modules/unxhr/lib/ |
| D | request.js | 17 response.on('data', function (chunk) { argument 19 responseBinary.push(chunk) 21 responseText += chunk 79 let chunk = process.stdin.read() 80 while (chunk) { 81 data += chunk 82 chunk = process.stdin.read()
|
| /plugin/combo/vendor/dragonmantank/cron-expression/src/Cron/ |
| H A D | DayOfMonthField.php | 129 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)) {
|