Home
last modified time | relevance | path

Searched refs:length (Results 51 – 75 of 2103) sorted by relevance

12345678910>>...85

/plugin/zip/pear/File/Archive/Reader/
H A DConcat.php104 function getData($length = -1) argument
106 if ($length == 0) {
111 while ($length == -1 || strlen($result)<$length) {
113 $length==-1 ? -1 : $length - strlen($result)
138 function skip($length = -1) argument
141 while ($skipped < $length) {
142 $sourceSkipped = $this->source->skip($length);
154 function rewind($length = -1) argument
157 return parent::rewind($length);
H A DFile.php181 function getData($length = -1) argument
191 if ($length == -1) {
199 if ($length == 0) {
202 return fread($this->handle, $length);
210 function skip($length = -1) argument
218 if (($length == -1 && @fseek($this->handle, 0, SEEK_END) === -1) ||
219 ($length >= 0 && @fseek($this->handle, $length, SEEK_CUR) === -1)) {
220 return parent::skip($length);
229 function rewind($length = -1) argument
237 ($length >= 0 && @fseek($this->handle, -$length, SEEK_CUR) === -1)) {
[all …]
H A DCache.php126 function getData($length = -1) argument
129 $data = $this->source->getData($length);
137 if ($length == 0) {
146 if ($length > $maxSize) {
147 $length = $maxSize;
163 function skip($length = -1) argument
166 return strlen($this->getData($length));
173 if ($length > $maxSize) {
174 $length = $maxSize;
177 return $length;
[all …]
H A DTar.php72 function skip($length = -1) argument
74 if ($length == -1) {
75 $length = $this->leftLength;
77 $length = min($this->leftLength, $length);
89 function rewind($length = -1) argument
91 if ($length == -1) {
94 $length = min($length, $this->currentStat[7] - $this->leftLength);
215 function getData($length = -1) argument
217 if ($length == -1) {
305 foreach ($blocks as $length) {
[all …]
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Processor/
H A DUidProcessor.php26 public function __construct(int $length = 7) argument
28 if ($length > 32 || $length < 1) {
32 $this->uid = $this->generateUid($length);
55 private function generateUid(int $length): string argument
57 return substr(bin2hex(random_bytes((int) ceil($length / 2))), 0, $length);
/plugin/jquery-syntax/jquery-syntax/
H A Djquery.syntax.core.js14 for(var i="";i.length<=tabSize;i=i+" "){space.push(i);}
18length;i++){var match=matches[i];var offset=match.offset+linearOffsets[match.offset];var end=match…
27 …ue=text.substr(this.offset,this.length);}};Syntax.Match.sort=function(a,b){return(a.offset-b.offse…
58 …this._splice(0,match);}};Syntax.Match.prototype._insert=function(match){if(this.children.length==0)
65 this._splice(this.children.length,match);}
71 splits.length=parts.length;for(var i=0;i<parts.length;i+=1){if(parts[i]==null)
73 …dren.length){if(children[0].offset<parts[i].endOffset){var children_parts=children.shift().bisectA…
74 i+=(children_parts.length-2);splits.splice(0,children_parts.length-2);}}
76 if(children.length){Syntax.log("Syntax Error: Children nodes not consumed",children.length," remain…
99 …ffset,text.length,{klass:this.allKlasses().join(" "),allow:'*',owner:this},text);matches.sort(Synt…
[all …]
/plugin/sortablejs/
H A Dscript.js24 for( var i = 0; i < elems.length; i++ ) {
31 for( var i = 0; i < elems.length; i++ ) {
47 for( var i = 0; i < childTables.length; i++ ) {
76 if ( tmp.length > 1 ) {
117 for( var i = 0; i < theadrow.length; i++ ) {
135 for( var j = sindex; j < rows.length; j++ ) {
144 for( var jj = 0; jj < row_array.length; jj++ ) {
188 for( var i = 0; i < headrow.length; i++ ) {
354 newrows[newrows.length] = tbody.rows[i];
369 for( var j = sindex; j < rows.length; j++ ) {
[all …]
/plugin/code3/src/
H A Dtz.js234 var i = 0, j = s.length - 1;
241 return s.length >= prefix.length && prefix == s.substring(0, prefix.length);
245 return s.length >= suffix.length &&
246 suffix == s.substring(s.length - suffix.length, s.length);
513 if (ci < chunks.length) {
572 k += chunk.token.length;
725 k += chunk.token.length;
835 k += s.length;
865 if (i == s.length) {
1098 if (s.length > start) {
[all …]
/plugin/bureaucracyau/_test/
H A Dsyntax.test.php16 $this->assertEquals(1, pq('form.bureaucracyau__plugin', $doc)->length);
17 $this->assertEquals(6, pq('form.bureaucracyau__plugin fieldset', $doc)->length);
28 $this->assertEquals(3, pq('option', $select)->length);
29 $this->assertEquals(1, pq('option:selected', $select)->length);
33 $this->assertEquals(1, pq('p:contains(Some static text)', $doc)->length);
37 $this->assertEquals('1', pq('input[type=hidden][value=0]', $cb->parent())->length);
46 $this->assertEquals(1, pq('button[type=submit]:contains(Submit Query)')->length);
57 $this->assertEquals(0, pq('bold', $doc)->length);
63 $this->assertEquals(1, $field->length, "find span of $name");
66 $this->assertEquals(1, pq('sup', $field)->length, "is mandatory of $name");
[all …]
/plugin/bureaucracy-au/_test/
H A Dsyntax.test.php16 $this->assertEquals(1, pq('form.bureaucracyau__plugin', $doc)->length);
17 $this->assertEquals(6, pq('form.bureaucracyau__plugin fieldset', $doc)->length);
28 $this->assertEquals(3, pq('option', $select)->length);
29 $this->assertEquals(1, pq('option:selected', $select)->length);
33 $this->assertEquals(1, pq('p:contains(Some static text)', $doc)->length);
37 $this->assertEquals('1', pq('input[type=hidden][value=0]', $cb->parent())->length);
46 $this->assertEquals(1, pq('button[type=submit]:contains(Submit Query)')->length);
57 $this->assertEquals(0, pq('bold', $doc)->length);
63 $this->assertEquals(1, $field->length, "find span of $name");
66 $this->assertEquals(1, pq('sup', $field)->length, "is mandatory of $name");
[all …]
/plugin/commonmark/vendor/league/commonmark/src/Block/Element/
H A DFencedCode.php
/plugin/fastwiki/
H A Dpagecache.js59 var numParams = href.split('=').length;
74 if (idsA.length > m_maxSize) {
78 else if (idsA.length > 0) {
79 if (idsA.length > m_maxSize)
80 idsA.length = m_maxSize;
84 if (idsA.length / batchSize < 4)
85 batchSize = Math.ceil(idsA.length / 4);
87 for (var x=0; x<Math.ceil(idsA.length / batchSize); x++) {
99 for (var p=0; p<pages.length; p++) {
103 m_debug && console.log("Loaded " + [id, pages[p].length]);
[all...]
/plugin/wysiwyg/fckeditor/editor/dialog/fck_spellerpages/spellerpages/
H A DwordWindow.js45 for( var i = 0; i < this._forms.length; i++ ) {
54 for( var i = 0; i < this.textInputs.length; i++ ) {
61 return this.originalSpellings[textIndex].length;
119 pos + oldText.length,
120 this.textInputs[textIndex].length
126 var lengthDiff = newText.length - oldText.length;
129 word.size = newText.length;
143 for( var txtid = 0; txtid < this.textInputs.length; txtid++ ) {
157 for( var i = 0; i < orig.length; i++ ) {
163 end_idx = begin_idx + orig[i].length;
[all …]
/plugin/fckg/fckeditor/editor/dialog/fck_spellerpages/spellerpages/
H A DwordWindow.js45 for( var i = 0; i < this._forms.length; i++ ) {
54 for( var i = 0; i < this.textInputs.length; i++ ) {
61 return this.originalSpellings[textIndex].length;
119 pos + oldText.length,
120 this.textInputs[textIndex].length
126 var lengthDiff = newText.length - oldText.length;
129 word.size = newText.length;
143 for( var txtid = 0; txtid < this.textInputs.length; txtid++ ) {
157 for( var i = 0; i < orig.length; i++ ) {
163 end_idx = begin_idx + orig[i].length;
[all …]
/plugin/ckgedit/fckeditor/editor/filemanager/connectors/php/
H A Dutf8.php180 if( $length === null ){
204 if (!is_null($length)) $length = (int)$length;
207 if ($length === 0) return '';
208 if ($offset < 0 && $length < 0 && $length < $offset) return '';
232 if (is_null($length)) {
239 if ($length > 0) {
244 $Ly = $length%65535;
545 $length = null;
547 while (is_null($length) || $length < $offset) {
555 if ($length < $offset)
[all …]
/plugin/wysiwyg/fckeditor/editor/dialog/fck_link/
H A Dfck_link.js112 if ( subject.length > 0 )
115 if ( body.length > 0 )
187 bHasAnchors = ( aAnchors.length > 0 || aIds.length > 0 ) ;
192 if ( sName && sName.length > 0 )
196 for ( i = 0 ; i < aIds.length ; i++ )
400 if ( sFrame.length == 0 )
475 if ( sUri.length == 0 )
488 if ( sUri.length == 0 )
504 if ( sAnchor.length == 0 )
678 if ( sFile.length == 0 )
[all …]
/plugin/syntaxhighlighter/Uncompressed/
H A DshCore.js209 this.length = value.length;
237 if(m1.length < m2.length)
239 else if(m1.length > m2.length)
264 if(str == null || str.length == 0)
293 if(i + 1 < lines.length)
408 i += (i + '').length;
460 if(Trim(lines[i]).length == 0)
519 if(this.matches.length == 0)
550 pos = match.index + match.length;
577 for(var i = 0; i < a.length; i++)
[all …]
/plugin/syntaxhighlighter/Scripts/
H A DshCore.js35 {this.value=value;this.index=index;this.length=value.length;this.css=css;}
42 {if(m1.length<m2.length)
43 return-1;else if(m1.length>m2.length)
52 {if(str==null||str.length==0)
63 {if(match==null||match.length==0)
81 for(var i=0;i<lines.length;i++)
88 {div.innerHTML+=i;i+=(i+'').length;}
102 {if(Trim(lines[i]).length==0)
106 for(var i=0;i<lines.length;i++)
136 {for(var i=0;i<list.length;i++)
[all …]
/plugin/syntaxhighlighter3/sxh3/pkg/scripts/
H A DshCore.js679 return ((level === chain.length - 1) || !matches.length) ?
1027 search.lastIndex = args[args.length - 2] + args[0].length;
1058 … if ($2 === "'") return args[args.length - 1].slice(args[args.length - 2] + args[0].length);
1122 if (match.length > 1 && match.index < str.length) {
2076 if (line.length == 0)
2087 if (line.length == 0)
2107 while (result.length < length)
2266 if(m1.length < m2.length)
2268 else if(m1.length > m2.length)
2450 this.length = value.length;
[all …]
H A DshCore.min.js17length;if(Array.prototype.lastIndexOf)return e.lastIndexOf(t);for(;n--;)if(e[n]===t)return n;retur…
/plugin/fullindex/
H A Dscript.js12 for (uli=0;uli<uls.length;uli++) {
21 if (!ul.childNodes || ul.childNodes.length == 0) return;
23 for (var itemi=0;itemi<ul.childNodes.length;itemi++) {
73 for (uli=0;uli<uls.length;uli++) {
76 if (!ul.childNodes || ul.childNodes.length == 0) return;
77 for (var itemi=0;itemi<ul.childNodes.length;itemi++) {
87 if (!ul.childNodes || ul.childNodes.length == 0) return;
89 for (var itemi=0;itemi<ul.childNodes.length;itemi++) {
98 for (var sitemi=0;sitemi<item.childNodes.length;sitemi++) {
139 for (uli=0;uli<uls.length;uli++) {
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRC4.php150 * @param int $length
153 public function setKeyLength($length) argument
155 if ($length < 8 || $length > 2048) {
156 …throw new \LengthException('Key size of ' . $length . ' bits is not supported by this algorithm. O…
159 $this->key_length = $length >> 3;
161 parent::setKeyLength($length);
174 $length = strlen($key);
175 if ($length < 1 || $length > 256) {
176 …throw new \LengthException('Key size of ' . $length . ' bytes is not supported by RC4. Keys must b…
/plugin/tablelayout/_jstest/
H A DfreezeRows.tests.js39 …idth = parseInt(actual_html.substr(actual_html.indexOf('width: ')+'width: '.length, '203'.length));
41 … = parseInt(expected_html.substr(expected_html.indexOf('width: ')+'width: '.length, '203'.length));
44 …ght = parseInt(actual_html.substr(actual_html.indexOf('height: ')+'height: '.length, '42'.length));
46 …= parseInt(expected_html.substr(expected_html.indexOf('height: ')+'height: '.length, '42'.length));
/plugin/recaptcha2/lib/ReCaptcha/RequestMethod/
H A DSocket.php64 * @param int $length
67 public function fwrite($string, $length = null) argument
69 return fwrite($this->handle, $string, (is_null($length) ? strlen($string) : $length));
76 * @param int $length
78 public function fgets($length = null) argument
80 return fgets($this->handle, $length);
/plugin/syntaxhighlighter3/sxh3/src/js/
H A DshCore.js255 if (elements.length === 0)
294 if (elements.length === 0)
795 if (line.length == 0)
806 if (line.length == 0)
826 while (result.length < length)
985 if(m1.length < m2.length)
987 else if(m1.length > m2.length)
1089 leftLength = left.length,
1169 this.length = value.length;
1345 else if (itemJ.index == itemI.index && itemJ.length > itemI.length)
[all …]

12345678910>>...85