/plugin/findologicxmlexport/vendor/sebastian/diff/tests/ |
H A D | ParserTest.php | 44 $chunks = $diffs[0]->getChunks(); 45 $this->assertInternalType('array', $chunks); 48 $this->assertCount(1, $chunks); 52 $this->assertCount(4, $chunks[0]->getLines()); 63 $chunks = $diffs[0]->getChunks(); 64 $this->assertCount(3, $chunks); 70 $this->assertCount(5, $chunks[0]->getLines()); 91 $chunks = $diffs[0]->getChunks(); 93 $this->assertInternalType('array', $chunks); 95 $this->assertCount(1, $chunks); [all …]
|
H A D | DiffTest.php | 37 $chunks = array(new Chunk(), new Chunk(2, 3)); 39 $diff = new Diff($from, $to, $chunks); 43 $this->assertSame($chunks, $diff->getChunks(), 'Expect chunks to be passed value.'); 51 $chunks = array(new Chunk(), new Chunk(2, 3)); 52 $diff->setChunks($chunks); 53 $this->assertSame($chunks, $diff->getChunks(), 'Expect chunks to be passed value.');
|
/plugin/findologicxmlexport/vendor/sebastian/diff/src/ |
H A D | Diff.php | 28 private $chunks; variable in SebastianBergmann\\Diff\\Diff 33 * @param Chunk[] $chunks 35 public function __construct($from, $to, array $chunks = array()) argument 39 $this->chunks = $chunks; 63 return $this->chunks; 67 * @param Chunk[] $chunks 69 public function setChunks(array $chunks) argument 71 $this->chunks = $chunks;
|
H A D | Parser.php | 73 $chunks = array(); 85 $chunks[] = $chunk; 108 $diff->setChunks($chunks);
|
/plugin/sequencediagram/bower_components/lodash/lib/fp/ |
H A D | build-doc.js | 46 let chunks = _.chunk(funcNames.slice().sort(), 5); 47 let lastChunk = _.last(chunks); 50 chunks = _.reject(chunks, _.isEmpty); 51 lastChunk = _.last(chunks); 53 let result = '`' + _.map(chunks, chunk => chunk.join('`, `') + '`').join(',\n`'); 57 if (_.size(chunks) > 1 || _.size(lastChunk) > 1) {
|
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/ |
H A D | write.real.php | 165 * @param array $chunks 169 public function GenerateRMFchunk(&$chunks) { argument 172 foreach ($chunks as $key => $chunk) { 178 $newHeadersCount = $chunks[$chunkNameKeys['.RMF']]['headers_count'] + ($oldCONTexists ? 0 : 1); 181 $RMFchunk .= getid3_lib::BigEndian2String($chunks[$chunkNameKeys['.RMF']]['file_version'], 4); 189 * @param array $chunks 194 public function GeneratePROPchunk(&$chunks, &$new_CONT_tag_data) { argument 199 foreach ($chunks as $key => $chunk) { 216 $PROPchunk .= getid3_lib::BigEndian2String($chunks[$chunkNameKeys['PROP']]['max_bit_rate'], 4); 217 $PROPchunk .= getid3_lib::BigEndian2String($chunks[$chunkNameKeys['PROP']]['avg_bit_rate'], 4); [all …]
|
/plugin/ipban/ip-lib/src/Address/ |
H A D | IPv6.php | 110 $chunks = explode(':', $address); 112 $chunks = array(); 119 $chunks = $before; 121 $chunks = array_merge($chunks, array_fill(0, $missing, '0')); 123 $chunks = array_merge($chunks, $after); 127 if (count($chunks) === 8) { 132 $chunks 196 $chunks = array(); 202 $chunks = null; 206 if ($chunks !== null) { [all …]
|
H A D | IPv4.php | 112 $chunks = array_map( 118 if (in_array(false, $chunks, true) === false) { 119 $result = new static(implode('.', $chunks)); 283 $chunks = array(); 285 $chunks[] = sprintf('%03d', $byte); 287 $this->comparableString = implode('.', $chunks);
|
/plugin/ipban/ip-lib/src/Range/ |
H A D | Pattern.php | 120 $chunks = explode('.', $this->fromAddress->toString()); 121 $chunks = array_slice($chunks, 0, -$this->asterisksCount); 122 $chunks = array_pad($chunks, 4, '*'); 123 $result = implode('.', $chunks); 127 $chunks = explode(':', $this->fromAddress->toString(true)); 128 $chunks = array_slice($chunks, 0, -$this->asterisksCount); 129 $chunks = array_pad($chunks, 8, '*'); 130 $result = implode(':', $chunks);
|
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/ |
H A D | Context.php | 129 $chunks = explode('.', $id); 130 $first = array_shift($chunks); 133 foreach ($chunks as $chunk) { 161 $chunks = explode('.', $id); 162 $first = array_shift($chunks); 169 foreach ($chunks as $chunk) {
|
/plugin/combo/vendor/dragonmantank/cron-expression/src/Cron/ |
H A D | DayOfMonthField.php | 121 // If you have a -, we will deal with each of your chunks 128 $chunks = explode('-', $value); 129 foreach ($chunks as $chunk) { 145 $chunks = explode(',', $value); 146 foreach ($chunks as $chunk) { 157 $chunks = explode('/', $value); 158 foreach ($chunks as $chunk) {
|
/plugin/code3/src/ |
H A D | tz.js | 461 var chunks = []; 477 chunks.push(lastChunk); 480 return chunks; 513 if (ci < chunks.length) { 514 chunk = chunks[ci++]; 570 var chunk = chunks[ci]; 749 var chunk = chunks[ci]; 992 if (!(chunks && chunks.length)) { return chunks; } 1358 function PR_lexSource(chunks) { argument 1398 function PR_lexMarkup(chunks) { argument [all …]
|
/plugin/aichat/Storage/ |
H A D | SQLiteStorage.php | 85 public function addPageChunks($chunks) 87 foreach ($chunks as $chunk) { 124 $chunks = []; 126 $chunks[] = new Chunk( 135 return $chunks; 157 $chunks = []; 159 $chunks[] = new Chunk( 169 return $chunks; 179 $query = "SELECT cluster || ' ' || lang, COUNT(*) || ' chunks' as cnt 187 'chunks' 68 addPageChunks($chunks) global() argument [all...] |
H A D | AbstractStorage.php | 9 * Defines a vector storage for page chunks and their embeddings 13 * chunks 1200, 1201, 1202, ... 53 * Called when the storage is (re)built and the existing chunks should be reused 57 * @param string $page The page the chunks belong to 64 * Delete all chunks associated with the given page 66 * @param string $page The page the chunks belong to 75 * @param Chunk[] $chunks 78 abstract public function addPageChunks($chunks); 81 * All chunks have been added, finalize the storage 100 * Get all chunks associate 61 addPageChunks($chunks) global() argument [all...] |
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/Source/ |
H A D | FilesystemSource.php | 47 $chunks = array( 61 $chunks[$prop] = $this->stat[$prop]; 65 return json_encode($chunks);
|
/plugin/twitter/ |
H A D | syntax.php | 99 $chunks = [ 141 for ($i = 0, $j = count($chunks); $i < $j; $i ++) { 142 $seconds = $chunks [$i] [0]; 143 $name = $chunks [$i] [1]; 144 $names = $chunks [$i] [2]; 153 $seconds2 = $chunks [$i + 1] [0]; 154 $name2 = $chunks [$i + 1] [1]; 155 $name2s = $chunks [$i + 1] [2];
|
/plugin/structtemplate/meta/ |
H A D | StructTemplateSyntax.php | 180 $chunks = explode(self::OPEN_SYNTAX, $template); 183 $interpolated = $chunks[0]; 184 $chunks = array_slice($chunks, 1); 186 foreach ($chunks as $chunk) {
|
/plugin/aichat/ |
H A D | Embeddings.php | 18 * Pages are split into chunks of 1000 tokens each. For each chunk the embedding vector is fetched from 23 /** @var int maximum overlap between chunks in tokens */ 113 floor($this->chatModel->getMaxInputTokenLength() / 4), // be able to fit 4 chunks into the max input 151 // page is older than the chunks we have, reuse the existing chunks 153 if ($this->logger instanceof CLI) $this->logger->info("Reusing chunks for $page"); 155 // page is newer than the chunks we have, create new chunks 157 $chunks = $this->createPageChunks($page, $chunkID); 158 if ($chunks) [all...] |
H A D | cli.php | 55 $options->registerArgument('query', 'Look up chunks similar to this query', true, 'similar'); 66 $options->registerCommand('split', 'Split a page into chunks (for debugging)'); 69 $options->registerCommand('page', 'Check if chunks for a given page are available (for debugging)'); 71 $options->registerOption('dump', 'Dump the chunks', 'd', false, 'page'); 194 $chunks = $storage->getPageChunks($page, $pos * 100); 195 if ($chunks) { 196 $this->success('Found ' . count($chunks) . ' chunks'); 198 echo json_encode($chunks, JSON_PRETTY_PRINT); 201 $this->error('No chunks foun [all...] |
/plugin/badbehaviour/bad-behavior/ |
H A D | functions.inc.php | 20 for ($pos=0, $chunks = array(); $pos < strlen($string); $pos+=$split_length) { 21 $chunks[] = substr($string, $pos, $split_length); 23 return $chunks;
|
/plugin/passpolicy/ |
H A D | helper.php | 205 $chunks = array(); 209 $chunks[] = $chunk; // only word chars are checked 214 $chunks = array_map('preg_quote_cb', $chunks); 215 $re = join('|', $chunks);
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/tags/ |
H A D | set.rst | 41 The ``set`` tag can also be used to 'capture' chunks of text: 54 content to be safe when capturing chunks of text.
|
/plugin/combo/vendor/salesforce/handlebars-php/src/Handlebars/ |
H A D | Context.php | 269 $chunks = explode('.', $variableName); 270 foreach ($chunks as $chunk) {
|
/plugin/codeprettify/code-prettify/src/ |
H A D | node_prettify.js | 564 var chunks = []; 578 chunks[k] = '\n'; 591 chunks[k] = text; 602 sourceCode: chunks.join('').replace(/\n$/, ''),
|
H A D | prettify.js | 612 var chunks = []; 626 chunks[k] = '\n'; 639 chunks[k] = text; 650 sourceCode: chunks.join('').replace(/\n$/, ''),
|