Home
last modified time | relevance | path

Searched refs:slice (Results 1 – 25 of 851) sorted by relevance

12345678910>>...35

/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
Dslice.test2 "slice" filter
7 {{ [1, 2, 3, 4]|slice(1, 2)|join('') }}
8 {{ [1, 2, 3, 4]|slice(1, 2)|keys|join('') }}
9 {{ [1, 2, 3, 4]|slice(1, 2, true)|keys|join('') }}
10 {{ {a: 1, b: 2, c: 3, d: 4}|slice(1, 2)|join('') }}
11 {{ {a: 1, b: 2, c: 3, d: 4}|slice(1, 2)|keys|join('') }}
12 {{ '1234'|slice(1, 2) }}
14 {{ arr|slice(1, 2)|join('') }}
19 {{ [1, 2, 3, 4]|slice(1)|join('') }}
21 {{ '1234'|slice(1) }}
[all …]
/plugin/markdownextra/lib/meltdown/js/lib/
Drangyinputs-jquery.min.js17slice(b,c)}}function r(){return n(document,"body")?document.body:document.getElementsByTagName("bo…
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
Dslice.rst1 ``slice``
5 The ``slice`` filter was added in Twig 1.6.
7 The ``slice`` filter extracts a slice of a sequence, a mapping, or a string:
11 {% for i in [1, 2, 3, 4, 5]|slice(1, 2) %}
15 {{ '12345'|slice(1, 2) }}
23 {% for i in [1, 2, 3, 4, 5]|slice(start, length) %}
43 The ``slice`` filter works as the `array_slice`_ PHP function for arrays and
64 * ``start``: The start of the slice
65 * ``length``: The size of the slice
/plugin/autotabber/
Dtaboverride.js174 keyCombo += modifierKeys[i].slice(0, -3) + '+';
238 sel = text.slice(selStart, selEnd);
254 preNewlines = text.slice(0, selStart).split(newline).length - 1;
315 target.value = text.slice(0, startLine) + tab +
316 text.slice(startLine, endLine).replace(/\n/g, function () {
319 }) + text.slice(endLine);
337 if (text.slice(startLine).indexOf(tab) === 0) {
341 sel = sel.slice(tabLen);
349 … target.value = text.slice(0, startLine) + text.slice(startLine + preTab, selStart) +
353 }) + text.slice(selEnd);
[all …]
/plugin/asciidocjs/node_modules/function-bind/
Dimplementation.js6 var slice = Array.prototype.slice; variable
15 var args = slice.call(arguments, 1);
22 args.concat(slice.call(arguments))
31 args.concat(slice.call(arguments))
/plugin/sequencediagram/bower_components/lodash/test/
Dremove.js9 .slice((args[0] === process.execPath || args[0] === 'node') ? 2 : 0);
19 return RegExp(result.slice(1, lastIndex), result.slice(lastIndex + 1));
25 var snippet = _.slice(arguments, -3, -2)[0];
/plugin/asciidocjs/node_modules/clean-css/lib/reader/
Dread-sources.js222 inlinerContext.sourceTokens = inlinerContext.sourceTokens.slice(1);
226 inlinerContext.sourceTokens = inlinerContext.sourceTokens.slice(1);
230 …Context.outputTokens = inlinerContext.outputTokens.concat(inlinerContext.sourceTokens.slice(0, 1));
231 inlinerContext.sourceTokens = inlinerContext.sourceTokens.slice(1);
235 …Context.outputTokens = inlinerContext.outputTokens.concat(inlinerContext.sourceTokens.slice(0, 1));
236 inlinerContext.sourceTokens = inlinerContext.sourceTokens.slice(1);
240 inlinerContext.sourceTokens = inlinerContext.sourceTokens.slice(1);
244 …Context.outputTokens = inlinerContext.outputTokens.concat(inlinerContext.sourceTokens.slice(0, 1));
245 inlinerContext.sourceTokens = inlinerContext.sourceTokens.slice(1);
256 …Context.outputTokens = inlinerContext.outputTokens.concat(inlinerContext.sourceTokens.slice(0, 1));
[all …]
/plugin/asciidocjs/node_modules/core-js/modules/
Des6.regexp.split.js51 output.push(string.slice(lastLastIndex, match.index));
52 … if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
61 } else output.push(string.slice(lastLastIndex));
62 return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
113 var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
121 A.push(S.slice(p, q));
130 A.push(S.slice(p));
Dweb.timers.js5 var slice = [].slice; variable
10 var args = boundArgs ? slice.call(arguments, 2) : false;
Des6.typed.array-buffer.js14 var $slice = $ArrayBuffer.prototype.slice;
28 return !new $ArrayBuffer(2).slice(1, undefined).byteLength;
31 slice: function slice(start, end) {
Des6.array.slice.js7 var arraySlice = [].slice;
13 slice: function slice(begin, end) {
Des6.regexp.replace.js77 accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
81 return accumulatedResult + S.slice(nextSourcePosition);
99 case '`': return str.slice(0, position);
100 case "'": return str.slice(tailPos);
102 capture = namedCaptures[ch.slice(1, -1)];
/plugin/asciidocjs/node_modules/minimist/
Dindex.js5 keys.slice(0, -1).forEach(function (key) {
139 notFlags = args.slice(args.indexOf('--') + 1);
140 args = args.slice(0, args.indexOf('--'));
181 var letters = arg.slice(1, -1).split('');
185 next = arg.slice(j + 2);
193 setArg(letters[j], next.slice(1), arg);
208 setArg(letters[j], arg.slice(j + 2), arg);
216 key = arg.slice(-1)[0];
238 argv._.push.apply(argv._, args.slice(i + 1));
255 argv['--'] = notFlags.slice();
/plugin/asciidocjs/node_modules/path-parse/
Dindex.js12 return splitWindowsRe.exec(filename).slice(1);
27 dir: allParts[0] === allParts[1] ? allParts[0] : allParts[0].slice(0, -1),
44 return splitPathRe.exec(filename).slice(1);
61 dir: allParts[0].slice(0, -1),
/plugin/encryptedpasswords/script/
DSubtleAES.js93 if (ostring.slice(0, 8) !== 'Salted__') {
98 salt: new Uint8Array(Array.from(ostring.slice(8, 16)).map(ch => ch.charCodeAt(0))),
99 cipher: new Uint8Array(Array.from(ostring.slice(16)).map(ch => ch.charCodeAt(0))),
148 hash: buffer.slice(0, 32),
149 iv: buffer.slice(32, 48),
/plugin/asciidocjs/node_modules/core-js/library/modules/
Dweb.timers.js5 var slice = [].slice; variable
10 var args = boundArgs ? slice.call(arguments, 2) : false;
Des6.typed.array-buffer.js14 var $slice = $ArrayBuffer.prototype.slice;
28 return !new $ArrayBuffer(2).slice(1, undefined).byteLength;
31 slice: function slice(start, end) {
Des6.array.slice.js7 var arraySlice = [].slice;
13 slice: function slice(begin, end) {
/plugin/abc2/abc-libraries/abc2svg/
Dpage-1.js14 str=str.slice(1,-1)
43 cfmt.dateformat=cfmt.dateformat.slice(1,-1)
90 str=str.slice(1)}
106 s=str.slice(k,j)
108 s=str.slice(k)
135 sty=abc.get_font_style().slice(l)
148 sty=abc.get_font_style().slice(l)
165 switch(p.slice(0,4)){case"<div":if(p.indexOf('newpage')>0||(page.oneperpage&&this.info().X)||!page.…
233slice(1)};return sFormat.replace(/%[a-z]/gi,function(sMatch){return(({'%a':aDays[nDay].slice(0,3),…
Dabcweb-1.js69 abc.mei2mus(page.slice(j,k))
74 if(!res){src+=page.slice(i).replace(/\n%%/g,"\n%%%%")+"\n%%endml\n"
76 j=re.lastIndex-res[0].length;src+=page.slice(i,j).replace(/\n%%/g,"\n%%%%")
81 page.slice(j,i)
83 src+=page.slice(j,i)+"\n%%endml\n"
86 src+=toabc(page.slice(i,j))
104 src+="%%endml\n"+page.slice(j,i)
128 fn=page.slice(i,j).trim()
/plugin/asciidocjs/node_modules/lodash/
Dtruncate.js80 : string.slice(0, end);
89 if (string.slice(end).search(separator)) {
100 result = result.slice(0, newEnd === undefined ? end : newEnd);
105 result = result.slice(0, index);
/plugin/asciidocjs/node_modules/commander/
Dindex.js317 argDetails.name = arg.slice(1, -1);
320 argDetails.name = arg.slice(1, -1);
324 if (argDetails.name.length > 3 && argDetails.name.slice(-3) === '...') {
326 argDetails.name = argDetails.name.slice(0, -3);
402 const actionArgs = args.slice(0, expectedArgsCount);
410 actionArgs.push(args.slice(expectedArgsCount));
684 this.rawArgs = argv.slice();
692 userArgs = argv.slice(2);
698 userArgs = argv.slice(2);
700 userArgs = argv.slice(1);
[all …]
/plugin/asciidocjs/node_modules/function-bind/test/
Dindex.js29 args = Array.prototype.slice.call(arguments);
43 args = Array.prototype.slice.call(arguments);
57 args = Array.prototype.slice.call(arguments);
71 args = Array.prototype.slice.call(arguments);
124 args = Array.prototype.slice.call(arguments);
139 args = Array.prototype.slice.call(arguments);
154 args = Array.prototype.slice.call(arguments);
170 args = Array.prototype.slice.call(arguments);
/plugin/schedule/lib/
DscheduleForm.js37 tabs.slice (0,1).toggleClass ("warning", warning);
42 tabs.slice (1,2).toggleClass ("warning", warning);
46 tabs.slice (2,3).toggleClass ("warning", warning);
50 tabs.slice (3,4).toggleClass ("warning", warning);
54 tabs.slice (4,5).toggleClass ("warning", warning);
/plugin/asciidocjs/node_modules/pug-filters/node_modules/uglify-js/lib/
Dutils.js53 function slice(a, start) { function
54 return Array.prototype.slice.call(a, start || 0); method in Array
145 top.push.apply(top, backwards ? val.v.slice().reverse() : val.v);
152 ret.push.apply(ret, backwards ? val.v.slice().reverse() : val.v);
201 if (array.length < 2) return array.slice();
209 if (ai < a.length) r.push.apply(r, a.slice(ai));
210 if (bi < b.length) r.push.apply(r, b.slice(bi));
216 var m = Math.floor(a.length / 2), left = a.slice(0, m), right = a.slice(m);

12345678910>>...35