Home
last modified time | relevance | path

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

12345678910>>...22

/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
H A 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('') }}
12 {{ '1234'|slice(1, 2) }}
14 {{ arr|slice(1, 2)|join('') }}
19 {{ [1, 2, 3, 4]|slice(1)|join('') }}
21 {{ '1234'|slice(1) }}
25 {{ arr|slice(3)|join('') }}
[all …]
/plugin/markdownextra/lib/meltdown/js/lib/
H A Drangyinputs-jquery.min.js17slice(b,c)}}function r(){return n(document,"body")?document.body:document.getElementsByTagName("bo…
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A 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/
H A Dtaboverride.js174 keyCombo += modifierKeys[i].slice(0, -3) + '+';
238 sel = text.slice(selStart, selEnd);
315 target.value = text.slice(0, startLine) + tab +
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);
380 target.value = text.slice(0, selStart) + tab + text.slice(selEnd);
389 target.value = text.slice(0, selStart - tabLen) + text.slice(selStart);
[all …]
/plugin/sequencediagram/bower_components/lodash/test/
H A 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];
H A Dtest-fp.js20 slice = arrayProto.slice, variable
516 args || (args = slice.call(arguments));
523 args || (args = slice.call(arguments));
530 args || (args = slice.call(arguments));
537 args || (args = slice.call(arguments));
904 args || (args = slice.call(arguments));
995 args || (args = slice.call(arguments));
1158 args || (args = slice.call(arguments));
1895 return slice.call(arguments);
1990 return slice.call(arguments);
[all …]
/plugin/encryptedpasswords/script/
H A 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/abc2/abc-libraries/abc2svg/
H A 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.h){if(page.in_page)
233 function strftime(sFormat,date){if(!(date instanceof Date))date=new Date();var nDay=date.getDay(),nDate=date.getDate(),nMonth=date.getMonth(),nYear=date.getFullYear(),nHour=date.getHours(),aDays=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],aMonths=['January','February','March','April','May','June','July','August','September','October','November','December'],aDayCount=[0,31,59,90,120,151,181,212,243,273,304,334],isLeapYear=function(){return(nYear%4===0&&nYear%100!==0)||nYear%400===0},getThursday=function(){var target=new Date(date);target.setDate(nDate-((nDay+6)%7)+3);return target},zeroPad=function(nNum,nPad){return((Math.pow(10,nPad)+nNum)+'').slice(1)};return sFormat.replace(/%[a-z]/gi,function(sMatch){return(({'%a':aDays[nDay].slice(
[all...]
H A 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/schedule/lib/
H A 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/diagramsnet/lib/math/jax/output/SVG/autoload/
H A Dmultiline.js19slice(0);m=true;n=this.SVGgetAlign(h,k.values);j=this.SVGgetShift(h,k.values,n);if(n===a.INDENTALI…
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/examples/
H A D1b8655e6ba99fe39933c6eafe78728b7.asciidoc9 'slice' => [
24 'slice' => [
/plugin/katex/_assets/contrib/
H A Dauto-render.min.js1slice(n,n+a)===e)return n;"\\"===o?n++:"{"===o?i++:"}"===o&&i--,n++}return-1},a=/^\\begin{/,o=func…
/plugin/combo/resources/snippet/js/
H A Dcache.js37 .slice("/*<![CDATA[*/".length)
38 .slice(0, -("/*!]]>*/".length));
65 styledFormatResult = formatResult.charAt(0).toUpperCase() + formatResult.slice(1);
/plugin/textmodule/
H A Dscript.js13 document.getElementById('wiki__text').value = x.slice(0,cursorPos) + t + x.slice(cursorPos);
/plugin/dx/build/
H A DpluginInfoVersionUpdater.js8 return [line.slice(0, indexOfFirstSpace), line.slice(indexOfFirstSpace + 1)]
/plugin/yearbox/build/
H A DpluginInfoVersionUpdater.js12 return [line.slice(0, indexOfFirstSpace), line.slice(indexOfFirstSpace + 1)]
/plugin/tablelayout/_jstest/
H A Dsort.tests.js11 var $tableRows = $fixture.find( 'table tr' ).slice(1);
23 var $tableRows = $fixture.find( 'table tr' ).slice(1);
/plugin/diagramsnet/lib/math/jax/output/HTML-CSS/autoload/
H A Dmultiline.js19slice(0);k=true;l=this.HTMLgetAlign(g,j.values);i=this.HTMLgetShift(g,j.values,l);if(l===a.INDENTA…
/plugin/dx/skel/build/
H A DpluginInfoVersionUpdater.js.skel8 return [line.slice(0, indexOfFirstSpace), line.slice(indexOfFirstSpace + 1)]
/plugin/refnotes/
H A Dinstructions.php304 $slice = array_slice($this->event->data->calls, $prevIndex, $index - $prevIndex);
305 $calls = array_merge($calls, $slice);
318 $slice = array_slice($this->event->data->calls, $prevIndex, $callCount - $prevIndex);
319 $calls = array_merge($calls, $slice);
/plugin/foldablelist/
H A Dscript.js70 hideChildren = jQuery(this).children('li').slice(n);
/plugin/inseecity/
H A Dscript.js48 results = results.slice (0, inseeCityMaxAutocomplete);
53 response (startsWith.slice (0, inseeCityMaxAutocomplete));
/plugin/batchedit/
H A Djs.cookie.js110 var cookie = parts.slice(1).join('=');
113 cookie = cookie.slice(1, -1);
149 }, [].slice.call(arguments));
/plugin/amcharts/assets/amcharts/plugins/export/libs/blob.js/
H A Dblob.js166 FB_proto.slice = function(start, end, type) {
172 this.data.slice(start, args > 1 ? end : this.data.length)
201 if (!blob.slice && blob.webkitSlice) {
202 blob.slice = blob.webkitSlice;

12345678910>>...22