Home
last modified time | relevance | path

Searched refs:chunks (Results 1 – 25 of 60) sorted by relevance

123

/plugin/findologicxmlexport/vendor/sebastian/diff/src/
H A DDiff.php28 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 DParser.php73 $chunks = array();
85 $chunks[] = $chunk;
108 $diff->setChunks($chunks);
/plugin/findologicxmlexport/vendor/sebastian/diff/tests/
H A DParserTest.php44 $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 DDiffTest.php37 $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/sequencediagram/bower_components/lodash/lib/fp/
H A Dbuild-doc.js46 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 Dwrite.real.php165 * @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 DIPv6.php110 $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 DIPv4.php112 $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 DPattern.php120 $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 DContext.php129 $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) {
H A DEngine.php626 $chunks = array(
637 $key = json_encode($chunks);
/plugin/combo/vendor/dragonmantank/cron-expression/src/Cron/
H A DDayOfMonthField.php128 $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 Dtz.js461 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/jplayer/vendor/mustache/mustache/src/Mustache/Source/
H A DFilesystemSource.php47 $chunks = array(
61 $chunks[$prop] = $this->stat[$prop];
65 return json_encode($chunks);
/plugin/structtemplate/meta/
H A DStructTemplateSyntax.php180 $chunks = explode(self::OPEN_SYNTAX, $template);
183 $interpolated = $chunks[0];
184 $chunks = array_slice($chunks, 1);
186 foreach ($chunks as $chunk) {
/plugin/twitter/
H A Dsyntax.php99 $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/badbehaviour/bad-behavior/
H A Dfunctions.inc.php20 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 Dhelper.php205 $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 Dset.rst41 The ``set`` tag can also be used to 'capture' chunks of text:
54 content to be safe when capturing chunks of text.
/plugin/codeprettify/code-prettify/src/
H A Dnode_prettify.js564 var chunks = [];
578 chunks[k] = '\n';
591 chunks[k] = text;
602 sourceCode: chunks.join('').replace(/\n$/, ''),
H A Dprettify.js612 var chunks = [];
626 chunks[k] = '\n';
639 chunks[k] = text;
650 sourceCode: chunks.join('').replace(/\n$/, ''),
H A Drun_prettify.js841 var chunks = [];
855 chunks[k] = '\n';
868 chunks[k] = text;
879 sourceCode: chunks.join('').replace(/\n$/, ''),
/plugin/openid/Auth/
H A DOpenID.php183 $chunks = explode("&", $str);
186 foreach ($chunks as $chunk) {
/plugin/fedauth/Auth/
H A DOpenID.php183 $chunks = explode("&", $str);
186 foreach ($chunks as $chunk) {
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A Dsplit.rst31 chunks. Length is set by the ``limit`` argument (one character by default).

123