Home
last modified time | relevance | path

Searched refs:length (Results 51 – 74 of 74) sorted by last modified time

123

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRC2.php98 * The key length in bits.
111 * The key length in bits.
289 * Sets the key length.
295 * @param int $length in bits
296 * @throws \LengthException if the key length isn't supported
298 public function setKeyLength($length)
300 if ($length < 8 || $length > 1024) {
301 throw new \LengthException('Key size of ' . $length . ' bits is not supported by this algorithm. Only keys between 1 and 1024 bits, inclusive, are supported');
304 $this->default_key_length = $this->current_key_length = $length;
302 setKeyLength($length) global() argument
[all...]
H A DRC4.php124 * Sets the key length
128 * @param int $length
129 * @throws \LengthException if the key length is invalid
131 public function setKeyLength($length)
133 if ($length < 8 || $length > 2048) {
134 throw new \LengthException('Key size of ' . $length . ' bits is not supported by this algorithm. Only keys between 1 and 256 bytes are supported');
137 $this->key_length = $length >> 3;
139 parent::setKeyLength($length);
143 * Sets the key length
207 setKeyLength($length) global() argument
[all...]
H A DTripleDES.php206 * Sets the key length.
213 * @throws \LengthException if the key length is invalid
214 * @param int $length
216 public function setKeyLength($length)
218 switch ($length) {
223 throw new \LengthException('Key size of ' . $length . ' bits is not supported by this algorithm. Only keys of sizes 128 or 192 bits are supported');
226 parent::setKeyLength($length);
238 * @throws \LengthException if the key length is invalid
244 throw new \LengthException('Key length has already been set to ' . $this->explicit_key_length . ' bytes and this key is ' . strlen($key) . ' bytes');
231 setKeyLength($length) global() argument
/dokuwiki/inc/
H A DJpegMeta.php1036 $length = ord(fgetc($this->_fp)) * 256 + ord(fgetc($this->_fp));
1040 if ($length < 2) {
1043 $length = $length - 2; // The length we got counts itself
1057 $length = -1; // This field has no length... it includes all data until EOF
1067 $this->_markers[$count]['length'] = $length;
1070 if ($length)
1270 _writeJPEGMarker($marker, $length, & $data, $origLength) global() argument
3173 _getFixedString(& $data, $pos, $length = 1) global() argument
3199 _hexDump(& $data, $start = 0, $length = 1) global() argument
[all...]
H A Dindexer.php18 // set the minimum token length to use in the index (note, this doesn't apply to numeric tokens)
54 * Measure the length of a string.
66 // So the "length" of a "word" is faked
295 foreach ($lengths as $length) {
296 $idx[] = (int)$length;
354 foreach ($lengths as $length) {
356 if ((int)$length >= (int)$filter)
357 $idx[] = $length;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DASN1.php172 * size == 0 indicates variable length encoding.
215 * self::TYPE_OCTET_STRING. In those cases, the indefinite length is used.
261 $length = ord($encoded[$encoded_pos++]);
263 if ($length == 0x80) { // indefinite length
266 $length = strlen($encoded) - $encoded_pos;
267 } elseif ($length & 0x80) { // definite length, long form
268 // technically, the long form of the length can be represented by up to 126 octets (bytes), but we'll only
270 $length
1150 _encodeLength($length) global() argument
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php653 * Bit length is equal to $size
669 * Bit length is equal to $size
3755 _encodeASN1Length($length) global() argument
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSCP.php
H A DSFTP.php71 * function callback($length) returns string to proceed, null for EOF
321 * Determines whether or not packets of any length should be allowed,
322 * in cases where the server chooses the packet length (such as
764 * Enable arbitrary length packets
773 * Disable arbitrary length packets
1100 // represent the length of the string and leave it at that
1524 * Truncates a file to a given length
1632 // "If either the owner or group field is zero length, the field should be
2351 * $offset and $length can be used to download files in chunks.
2356 * @param int $length
2561 get($remote_file, $local_file = false, $offset = 0, $length = 1, $progressCallback = null) global() argument
[all...]
/dokuwiki/lib/plugins/styling/
H A Dscript.js15 if (!$loader.length) {
46 if (!$styling_plugin.length) {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/
H A DAgent.php169 $length = current(unpack('N', $this->readBytes(4)));
170 $packet = $this->readBytes($length);
/dokuwiki/lib/scripts/
H A Dbehaviour.js74 if($obj.length) {
159 if (0 === $form.length) return;
195 if($checked.length < 2) {
219 if (!$checkDiv.length) return;
H A Dfileuploader.js33 var len = arr.length;
171 var len = candidates.length;
223 for (var i = 0, len = obj.length; i < len; ++i){
383 for (var i=0; i<files.length; i++){
389 for (var i=0; i<files.length; i++){
446 if (name.length > 33){
455 if (!allowed.length){return true;}
457 for (var i=0; i<allowed.length; i++){
908 for (var i=0; i<this._queue.length; i++){
945 if (this._queue.length >
[all...]
H A Dhelpers.js8 * Supports negative start and length and omitting length, but not
12 function substr_replace(str, replace, start, length) { argument
14 a2 = (start < 0 ? str.length : 0) + start;
15 if (typeof length === 'undefined') {
16 length = str.length - a2;
17 } else if (length < 0 && start < 0 && length <= start) {
18 length
[all...]
/dokuwiki/vendor/simplepie/simplepie/idn/
H A DLICENCE261 functions (ten lines or less in length), then the use of the object
/dokuwiki/vendor/simplepie/simplepie/src/
H A DEnclosure.php160 public $length; variable in SimplePie\\Enclosure
230 public function __construct($link = null, $type = null, $length = null, $javascript = null, $bitrate = null, $captions = null, $categories = null, $channels = null, $copyright = null, $credits = null, $description = null, $duration = null, $expression = null, $framerate = null, $hashes = null, $height = null, $keywords = null, $lang = null, $medium = null, $player = null, $ratings = null, $restrictions = null, $samplingrate = null, $thumbnails = null, $title = null, $width = null) argument
246 $this->length = $length;
588 * Get length
594 if ($this->length !== null) {
595 return $this->length;
726 $length = $this->get_length();
727 if ($length !== null) {
728 return round($length/104857
[all...]
H A DIRI.php437 $length = 2;
443 $length = 3;
449 $length = 4;
455 $length = 1;
460 if ($position + $length <= $strlen) {
486 || $length > 1 && $character <= 0x7F
487 || $length > 2 && $character <= 0x7FF
488 || $length > 3 && $character <= 0xFFFF
547 $length = 0;
565 $length
[all...]
H A DItem.php1398 $length = null;
1434 $length = null;
1480 $length = intval($content['attribs']['']['fileSize']);
1870 $this->data['enclosures'][] = $this->registry->create(Enclosure::class, [$url, $type, $length, null, $bitrate, $captions, $categories, $channels, $copyrights, $credits, $description, $duration, $expression, $framerate, $hashes, $height, $keywords, $lang, $medium, $player, $ratings, $restrictions, $samplingrate, $thumbnails, $title, $width]);
1889 $length = null;
1935 $length = intval($content['attribs']['']['fileSize']);
2178 $this->data['enclosures'][] = $this->registry->create(Enclosure::class, [$url, $type, $length, null, $bitrate, $captions, $categories, $channels, $copyrights, $credits, $description, $duration, $expression, $framerate, $hashes, $height, $keywords, $lang, $medium, $player, $ratings, $restrictions, $samplingrate, $thumbnails, $title, $width]);
2194 $length = null;
2205 if (isset($link['attribs']['']['length'])) {
2206 $length
[all...]
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php2193 $length = strlen($code);
2214 while ($i < $length) {
2215 $next_match_pos = $length + 1; // never true
2299 if ($next_match_pos > $length) {
2317 if ($i == $length) {
2487 $length = strlen($part);
2488 for ($i = 0; $i < $length; ++$i) {
2495 $next_comment_regexp_pos = $length;
2512 'length' => strlen($match[0][0]),
2583 $next_escape_regexp_pos = $length;
[all...]
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DAtomCreator10.php143 $feed .= " <link rel=\"enclosure\" href=\"".$this->items[$i]->enclosure->url."\" type=\"".$this->items[$i]->enclosure->type."\" length=\"".$this->items[$i]->enclosure->length."\"";
/dokuwiki/vendor/geshi/geshi/
H A DCHANGELOG618 - Code cleanup by using direct string indexing instead of substr with length 1 (Milian Wolff)
/dokuwiki/inc/HTTP/
H A DHTTPClient.php323 throw new HTTPClientException('Reported content length exceeds allowed response size');
324 else $this->error = 'Reported content length exceeds allowed response size';
428 isset($this->resp_headers['content-length']) &&
436 // read up to the content-length or max_bodysize
441 $this->max_bodysize < $this->resp_headers['content-length']
443 $length = $this->max_bodysize + 1;
445 $length = $this->resp_headers['content-length'];
448 $r_body = $this->readData($socket, $length, 'response (content-length limite
[all...]
/dokuwiki/lib/plugins/logviewer/
H A Dscript.js6 if (!$dl.length) return;
/dokuwiki/lib/scripts/jquery/
H A Djquery-ui.min.js6 !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(V){"use strict";V.ui=V.ui||{};V.ui.version="1.13.2";var n,i=0,a=Array.prototype.hasOwnProperty,r=Array.prototype.slice;V.cleanData=(n=V.cleanData,function(t){for(var e,i,s=0;null!=(i=t[s]);s++)(e=V._data(i,"events"))&&e.remove&&V(i).triggerHandler("remove");n(t)}),V.widget=function(t,i,e){var s,n,o,a={},r=t.split(".")[0],l=r+"-"+(t=t.split(".")[1]);return e||(e=i,i=V.Widget),Array.isArray(e)&&(e=V.extend.apply(null,[{}].concat(e))),V.expr.pseudos[l.toLowerCase()]=function(t){return!!V.data(t,l)},V[r]=V[r]||{},s=V[r][t],n=V[r][t]=function(t,e){if(!this||!this._createWidget)return new n(t,e);arguments.length&&this._createWidget(t,e)},V.extend(n,s,{version:e.version,_proto:V.extend({},e),_childConstructors:[]}),(o=new i).options=V.widget.extend({},o.options),V.each(e,function(e,s){function n(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}a[e]="function"==typeof s?function(){var t,e=this._super,i=this._superApply;return this._super=n,this._superApply=o,t=s.apply(this,arguments),this._super=e,this._superApply=i,t}:s}),n.prototype=V.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||t},a,{constructor:n,namespace:r,widgetName:t,widgetFullName:l}),s?(V.each(s._childConstructors,function(t,e){var i=e.prototype;V.widget(i.namespace+"."+i.widgetName,n,e._proto)}),delete s._childConstructors):i._childConstructors.push(n),V.widget.bridge(t,n),n},V.widget.extend=function(t){for(var e,i,s=r.call(arguments,1),n=0,o=s.length;n<o;n++)for(e in s[n])i=s[n][e],a.call(s[n],e)&&void 0!==i&&(V.isPlainObject(i)?t[e]=V.isPlainObject(t[e])?V.widget.extend({},t[e],i):V.widget.extend({},i):t[e]=i);return t},V.widget.bridge=function(o,e){var a=e.prototype.widgetFullName||o;V.fn[o]=function(i){var t="string"==typeof i,s=r.call(arguments,1),n=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=V.data(this,a);return"instance"===i?(n=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?V.error("no such method '"+i+"' for "+o+" widget instance"):(t=e[i].apply(e,s))!==e&&void 0!==t?(n=t&&t.jquery?n.pushStack(t.get()):t,!1):void 0:V.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):n=void 0:(s.length&&(i=V.widget.extend.apply(null,[i].concat(s))),this.each(function(){var t=V.data(this,a);t?(t.option(i||{}),t._init&&t._init()):V.data(this,a,new e(i,this))})),n}},V.Widget=function(){},V.Widget._childConstructors=[],V.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=V(e||this.defaultElement||this)[0],this.element=V(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=V(),this.hoverable=V(),this.focusable=V(),this.classesElementLookup={},e!==this&&(V.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=V(e.style?e.ownerDocument:e.document||e),this.window=V(this.document[0].defaultView||this.document[0].parentWindow)),this.options=V.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:V.noop,_create:V.noop,_init:V.noop,destroy:function(){var i=this;this._destroy(),V.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:V.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return V.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=V.widget.extend({},this.options[t]),n=0;n<i.length-1;n++)s[i[n]]=s[i[n]]||{},s=s[i[n]];if(t=i.pop(),1===arguments.length)return void 0===s[t]?null:s[t];s[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,s;for(e in t)s=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&s&&s.length
[all...]

123