Home
last modified time | relevance | path

Searched refs:buffer (Results 126 – 150 of 302) sorted by path

12345678910>>...13

/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
H A DAsyncReadStreamTest.php60 $buffer = new BufferStream();
61 $a = new AsyncReadStream($buffer, [
73 $this->assertSame($buffer, $a->stream);
85 $buffer = new BufferStream();
86 $a = new AsyncReadStream($buffer);
87 $buffer->write('foo');
96 $buffer = new BufferStream();
97 $a = new AsyncReadStream($buffer, [
103 $buffer->write('foobar');
115 $buffer
[all...]
/plugin/elasticsearch/vendor/ruflin/elastica/src/
H A DQuery.php391 $buffer = [];
394 $buffer[] = $rescoreQuery;
397 $buffer = $rescore;
400 return $this->setParam('rescore', $buffer);
/plugin/encryptedpasswords/script/
H A DSubtleAES.js145 const buffer = new Uint8Array(dk);
148 hash: buffer.slice(0, 32),
149 iv: buffer.slice(32, 48),
H A Dmd5.min.js10 !function(){"use strict";function t(t){if(t)d[0]=d[16]=d[1]=d[2]=d[3]=d[4]=d[5]=d[6]=d[7]=d[8]=d[9]=d[10]=d[11]=d[12]=d[13]=d[14]=d[15]=0,this.blocks=d,this.buffer8=l;else if(a){var r=new ArrayBuffer(68);this.buffer8=new Uint8Array(r),this.blocks=new Uint32Array(r)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}var r="input is invalid type",e="object"==typeof window,i=e?window:{};i.JS_MD5_NO_WINDOW&&(e=!1);var s=!e&&"object"==typeof self,h=!i.JS_MD5_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;h?i=global:s&&(i=self);var f=!i.JS_MD5_NO_COMMON_JS&&"object"==typeof module&&module.exports,o="function"==typeof define&&define.amd,a=!i.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,n="0123456789abcdef".split(""),u=[128,32768,8388608,-2147483648],y=[0,8,16,24],c=["hex","array","digest","buffer","arrayBuffer","base64"],p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),d=[],l;if(a){var A=new ArrayBuffer(68);l=new Uint8Array(A),d=new Uint32Array(A)}!i.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!a||!i.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var b=function(r){return function(e){return new t(!0).update(e)[r]()}},v=function(){var r=b("hex");h&&(r=w(r)),r.create=function(){return new t},r.update=function(t){return r.create().update(t)};for(var e=0;e<c.length;++e){var i=c[e];r[i]=b(i)}return r},w=function(t){var e=eval("require('crypto')"),i=eval("require('buffer').Buffer"),s=function(s){if("string"==typeof s)return e.createHash("md5").update(s,"utf8").digest("hex");if(null===s||void 0===s)throw r;return s.constructor===ArrayBuffer&&(s=new Uint8Array(s)),Array.isArray(s)||ArrayBuffer.isView(s)||s.constructor===i?e.createHash("md5").update(new i(s)).digest("hex"):t(s)};return s};t.prototype.update=function(t){if(!this.finalized){var e,i=typeof t;if("string"!==i){if("object"!==i)throw r;if(null===t)throw r;if(a&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||a&&ArrayBuffer.isView(t)))throw r;e=!0}for(var s,h,f=0,o=t.length,n=this.blocks,u=this.buffer8;f<o;){if(this.hashed&&(this.hashed=!1,n[0]=n[16],n[16]=n[1]=n[2]=n[3]=n[4]=n[5]=n[6]=n[7]=n[8]=n[9]=n[10]=n[11]=n[12]=n[13]=n[14]=n[15]=0),e)if(a)for(h=this.start;f<o&&h<64;++f)u[h++]=t[f];else for(h=this.start;f<o&&h<64;++f)n[h>>2]|=t[f]<<y[3&h++];else if(a)for(h=this.start;f<o&&h<64;++f)(s=t.charCodeAt(f))<128?u[h++]=s:s<2048?(u[h++]=192|s>>6,u[h++]=128|63&s):s<55296||s>=57344?(u[h++]=224|s>>12,u[h++]=128|s>>6&63,u[h++]=128|63&s):(s=65536+((1023&s)<<10|1023&t.charCodeAt(++f)),u[h++]=240|s>>18,u[h++]=128|s>>12&63,u[h++]=128|s>>6&63,u[h++]=128|63&s);else for(h=this.start;f<o&&h<64;++f)(s=t.charCodeAt(f))<128?n[h>>2]|=s<<y[3&h++]:s<2048?(n[h>>2]|=(192|s>>6)<<y[3&h++],n[h>>2]|=(128|63&s)<<y[3&h++]):s<55296||s>=57344?(n[h>>2]|=(224|s>>12)<<y[3&h++],n[h>>2]|=(128|s>>6&63)<<y[3&h++],n[h>>2]|=(128|63&s)<<y[3&h++]):(s=65536+((1023&s)<<10|1023&t.charCodeAt(++f)),n[h>>2]|=(240|s>>18)<<y[3&h++],n[h>>2]|=(128|s>>12&63)<<y[3&h++],n[h>>2]|=(128|s>>6&63)<<y[3&h++],n[h>>2]|=(128|63&s)<<y[3&h++]);this.lastByteIndex=h,this.bytes+=h-this.start,h>=64?(this.start=h-64,this.hash(),this.hashed=!0):this.start=h}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},t.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,r=this.lastByteIndex;t[r>>2]|=u[3&r],r>=56&&(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},t.prototype.hash=function(){var t,r,e,i,s,h,f=this.blocks;this.first?r=((r=((t=((t=f[0]-680876937)<<7|t>>>25)-271733879<<0)^(e=((e=(-271733879^(i=((i=(-1732584194^2004318071&t)+f[1]-117830708)<<12|i>>>20)+t<<0)&(-271733879^t))+f[2]-1126478375)<<17|e>>>15)+i<<0)&(i^t))+f[3]-1316259209)<<22|r>>>10)+e<<0:(t=this.h0,r=this.h1,e=this.h2,r=((r+=((t=((t+=((i=this.h3)^r&(e^i))+f[0]-680876936)<<7|t>>>25)+r<<0)^(e=((e+=(r^(i=((i+=(e^t&(r^e))+f[1]-389564586)<<12|i>>>20)+t<<0)&(t^r))+f[2]+606105819)<<17|e>>>15)+i<<0)&(i^t))+f[3]-1044525330)<<22|r>>>10)+e<<0),r=((r+=((t=((t+=(i^r&(e^i))+f[4]-176418897)<<7|t>>>25)+r<<0)^(e=((e+=(r^(i=((i+=(e^t&(r^e))+f[5]+1200080426)<<12|i>>>20)+t<<0)&(t^r))+f[6]-1473231341)<<17|e>>>15)+i<<0)&(i^t))+f[7]-45705983)<<22|r>>>10)+e<<0,r=((r+=((t=((t+=(i^r&(e^i))+f[8]+1770035416)<<7|t>>>25)+r<<0)^(e=((e+=(r^(i=((i+=(e^t&(r^e))+f[9]-1958414417)<<12|i>>>20)+t<<0)&(t^r))+f[10]-42063)<<17|e>>>15)+i<<0)&(i^t))+f[11]-1990404162)<<22|r>>>10)+e<<0,r=((r+=((t=((t+=(i^r&(e^i))+f[12]+1804603682)<<7|t>>>25)+r<<0)^(e=((e+=(r^(i=((i+=(e^t&(r^e))+f[13]-40341101)<<12|i>>>20)+t<<0)&(t^r))+f[14]-1502002290)<<17|e>>>15)+i<<0)&(i^t))+f[15]+1236535329)<<22|r>>>10)+e<<0,r=((r+=((i=((i+=(r^e&((t=((t+=(e^i&(r^e))+f[1]-165796510)<<5|t>>>27)+r<<0)^r))+f[6]-1069501632)<<9|i>>>23)+t<<0)^t&((e=((e+=(t^r&(i^t))+f[11]+643717713)<<14|e>>>18)+i<<0)^i))+f[0]-373897302)<<20|r>>>12)+e<<0,r=((r+=((i=((i+=(r^e&((t=((t+=(e^i&(r^e))+f[5]-701558691)<<5|t>>>27)+r<<0)^r))+f[10]+38016083)<<9|i>>>23)+t<<0)^t&((e=((e+=(t^r&(i^t))+f[15]-660478335)<<14|e>>>18)+i<<0)^i))+f[4]-405537848)<<20|r>>>12)+e<<0,r=((r+=((i=((i+=(r^e&((t=((t+=(e^i&(r^e))+f[9]+568446438)<<5|t>>>27)+r<<0)^r))+f[14]-1019803690)<<9|i>>>23)+t<<0)^t&((e=((e+=(t^r&(i^t))+f[3]-187363961)<<14|e>>>18)+i<<0)^i))+f[8]+1163531501)<<20|r>>>12)+e<<0,r=((r+=((i=((i+=(r^e&((t=((t+=(e^i&(r^e))+f[13]-1444681467)<<5|t>>>27)+r<<0)^r))+f[2]-51403784)<<9|i>>>23)+t<<0)^t&((e=((e+=(t^r&(i^t))+f[7]+1735328473)<<14|e>>>18)+i<<0)^i))+f[12]-1926607734)<<20|r>>>12)+e<<0,r=((r+=((h=(i=((i+=((s=r^e)^(t=((t+=(s^i)+f[5]-378558)<<4|t>>>28)+r<<0))+f[8]-2022574463)<<11|i>>>21)+t<<0)^t)^(e=((e+=(h^r)+f[11]+1839030562)<<16|e>>>16)+i<<0))+f[14]-35309556)<<23|r>>>9)+e<<0,r=((r+=((h=(i=((i+=((s=r^e)^(t=((t+=(s^i)+f[1]-1530992060)<<4|t>>>28)+r<<0))+f[4]+1272893353)<<11|i>>>21)+t<<0)^t)^(e=((e+=(h^r)+f[7]-155497632)<<16|e>>>16)+i<<0))+f[10]-1094730640)<<23|r>>>9)+e<<0,r=((r+=((h=(i=((i+=((s=r^e)^(t=((t+=(s^i)+f[13]+681279174)<<4|t>>>28)+r<<0))+f[0]-358537222)<<11|i>>>21)+t<<0)^t)^(e=((e+=(h^r)+f[3]-722521979)<<16|e>>>16)+i<<0))+f[6]+76029189)<<23|r>>>9)+e<<0,r=((r+=((h=(i=((i+=((s=r^e)^(t=((t+=(s^i)+f[9]-640364487)<<4|t>>>28)+r<<0))+f[12]-421815835)<<11|i>>>21)+t<<0)^t)^(e=((e+=(h^r)+f[15]+530742520)<<16|e>>>16)+i<<0))+f[2]-995338651)<<23|r>>>9)+e<<0,r=((r+=((i=((i+=(r^((t=((t+=(e^(r|~i))+f[0]-198630844)<<6|t>>>26)+r<<0)|~e))+f[7]+1126891415)<<10|i>>>22)+t<<0)^((e=((e+=(t^(i|~r))+f[14]-1416354905)<<15|e>>>17)+i<<0)|~t))+f[5]-57434055)<<21|r>>>11)+e<<0,r=((r+=((i=((i+=(r^((t=((t+=(e^(r|~i))+f[12]+1700485571)<<6|t>>>26)+r<<0)|~e))+f[3]-1894986606)<<10|i>>>22)+t<<0)^((e=((e+=(t^(i|~r))+f[10]-1051523)<<15|e>>>17)+i<<0)|~t))+f[1]-2054922799)<<21|r>>>11)+e<<0,r=((r+=((i=((i+=(r^((t=((t+=(e^(r|~i))+f[8]+1873313359)<<6|t>>>26)+r<<0)|~e))+f[15]-30611744)<<10|i>>>22)+t<<0)^((e=((e+=(t^(i|~r))+f[6]-1560198380)<<15|e>>>17)+i<<0)|~t))+f[13]+1309151649)<<21|r>>>11)+e<<0,r=((r+=((i=((i+=(r^((t=((t+=(e^(r|~i))+f[4]-145523070)<<6|t>>>26)+r<<0)|~e))+f[11]-1120210379)<<10|i>>>22)+t<<0)^((e=((e+=(t^(i|~r))+f[2]+718787259)<<15|e>>>17)+i<<0)|~t))+f[9]-343485551)<<21|r>>>11)+e<<0,this.first?(this.h0=t+1732584193<<0,this.h1=r-271733879<<0,this.h2=e-1732584194<<0,this.h3=i+271733878<<0,this.first=!1):(this.h0=this.h0+t<<0,this.h1=this.h1+r<<0,this.h2=this.h2+e<<0,this.h3=this.h3+i<<0)},t.prototype.hex=function(){this.finalize();var t=this.h0,r=this.h1,e=this.h2,i=this.h3;return n[t>>4&15]+n[15&t]+n[t>>12&15]+n[t>>8&15]+n[t>>20&15]+n[t>>16&15]+n[t>>28&15]+n[t>>24&15]+n[r>>4&15]+n[15&r]+n[r>>12&15]+n[r>>8&15]+n[r>>20&15]+n[r>>16&15]+n[r>>28&15]+n[r>>24&15]+n[e>>4&15]+n[15&e]+n[e>>12&15]+n[e>>8&15]+n[e>>20&15]+n[e>>16&15]+n[e>>28&15]+n[e>>24&15]+n[i>>4&15]+n[15&i]+n[i>>12&15]+n[i>>8&15]+n[i>>20&15]+n[i>>16&15]+n[i>>28&15]+n[i>>24&15]},t.prototype.toString=t.prototype.hex,t.prototype.digest=function(){this.finalize();var t=this.h0,r=this.h1,e=this.h2,i=this.h3;return[255&t,t>>8&255,t>>16&255,t>>24&255,255&r,r>>8&255,r>>16&255,r>>24&255,255&e,e>>8&255,e>>16&255,e>>24&255,255&i,i>>8&255,i>>16&255,i>>24&255]},t.prototype.array=t.prototype.digest,t.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),r=new Uint32Array(t);return r[0]=this.h0,r[1]=this.h1,r[2]=this.h2,r[3]=this.h3,t},t.prototype.buffer=t.prototype.arrayBuffer,t.prototype.base64=function(){for(var t,r,e,i="",s=this.array(),h=0;h<15;) (…) method in t
/plugin/fetchmedia/lib/
H A Dbundle.js1buffer)[0]}),Et=!!q&&!!q.prototype.set&&u(function(){new q(1).set({})}),Ot=function(t,n){if(void 0…
/plugin/fetchmedia/
H A Dyarn.lock722 buffer-xor "^1.0.2"
776 buffer-xor@^1.0.2:
780 buffer@^4.3.0:
867 safe-buffer "^5.0.1"
997 safe-buffer "^5.0.1"
1797 is-buffer@^1.1.5:
1989 is-buffer "^1.1.5"
1995 is-buffer "^1.1.5"
2182 buffer "^4.3.0"
2414 safe-buffer "^5.0.1"
[all …]
/plugin/findologicxmlexport/vendor/hoa/compiler/
H A DLl1.php628 $buffer = abs($nextAction);
630 if (($buffer & 1) == 0) {
631 $this->buffers[($buffer - 2) / 2] = null;
633 $buffer = ($buffer - 1) / 2;
635 if (!(isset($this->buffers[$buffer]))) {
636 $this->buffers[$buffer] = null;
639 $this->buffers[$buffer] .= $nextChar;
/plugin/findologicxmlexport/vendor/hoa/iterator/
H A DBuffer.php159 $buffer = $this->getBuffer();
161 $buffer->next();
164 if (false === $buffer->valid()) {
171 $buffer->shift();
176 $buffer->push([
182 $buffer->setIteratorMode($buffer::IT_MODE_LIFO | $buffer::IT_MODE_KEEP);
183 $buffer->rewind();
184 $buffer->setIteratorMode($buffer::IT_MODE_FIFO | $buffer::IT_MODE_KEEP);
214 if (true === $buffer->isEmpty()) {
215 $buffer->push([
[all …]
H A DREADME.md395 $buffer->rewind();
396 echo $buffer->current(); // a
398 $buffer->next();
399 echo $buffer->current(); // b
401 $buffer->next();
402 echo $buffer->current(); // c
404 $buffer->previous();
405 echo $buffer->current(); // b
407 $buffer->previous();
408 echo $buffer->current(); // a
[all …]
/plugin/findologicxmlexport/vendor/hoa/iterator/Test/Unit/
H A DBuffer.php66 ->let($buffer = $this->invoke($result)->getBuffer())
67 ->object($buffer)
69 ->boolean($buffer->isEmpty())
/plugin/findologicxmlexport/vendor/hoa/stream/
H A DBucket.php94 * @param string $buffer Stream buffer.
96 public function __construct(&$brigade, $is = self::IS_A_BRIGADE, $buffer = '') argument
103 $this->setBucket(stream_bucket_new($brigade, $buffer));
H A DCHANGELOG.md18 * Stream: Reset buffer size when re-opening. (Ivan Enderlin, 2017-02-10T09:54:31+01:00)
H A DREADME.md30 mode, buffer size, metadata etc.,
104 * `Bufferable`, for streams with at least one internal buffer,
502 works on the `_buffer` attribute. This buffer contains the whole
503 content of the stream. This is really a buffer. Why would it be
H A DStream.php488 * @param int $buffer Number of bytes to buffer. If zero, write
495 public function setStreamBuffer($buffer) argument
498 $out = 0 === stream_set_write_buffer($this->getStream(), $buffer);
501 $this->_bufferSize = $buffer;
/plugin/findologicxmlexport/vendor/hoa/stream/Test/Unit/
H A DBucket.php79 $buffer = 'bar'
90 ->isEqualTo($buffer)
92 ->isEqualTo(strlen($buffer))
117 $buffer = 'bazqux'
128 ->isEqualTo($buffer)
130 ->isEqualTo(strlen($buffer))
140 $buffer = 'bar',
141 $bucket = new SUT($stream, SUT::IS_A_STREAM, $buffer)
146 ->isEqualTo($buffer)
155 $buffer = 'bar',
[all …]
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Driver/
H A DXdebug.php105 $buffer = file_get_contents($file);
106 $lines = substr_count($buffer, "\n");
108 if (substr($buffer, -1) !== "\n") {
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Report/
H A DClover.php239 $buffer = $xmlDocument->saveXML();
246 file_put_contents($target, $buffer);
249 return $buffer;
H A DCrap4j.php131 $buffer = $document->saveXML();
138 file_put_contents($target, $buffer);
141 return $buffer;
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Report/Html/
H A DRenderer.php209 $buffer = sprintf(
215 $buffer .= ' <li>(<a href="dashboard.html">Dashboard</a>)</li>' . "\n";
218 return $buffer;
282 $buffer = sprintf(
290 $buffer .= sprintf(
296 return $buffer;
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/
H A DFile.php138 $buffer = '';
164 $buffer .= $this->renderItemTemplate(
205 $buffer .= $this->renderFunctionOrMethodItem(
213 return $buffer;
228 $buffer = '';
231 $buffer .= $this->renderFunctionOrMethodItem(
237 return $buffer;
409 $buffer = file_get_contents($file);
410 $tokens = token_get_all($buffer);
414 $fileEndsWithNewLine = substr($buffer, -1) == "\n";
[all …]
/plugin/findologicxmlexport/vendor/phpunit/php-token-stream/src/Token/
H A DStream.php128 $buffer = '';
131 $buffer .= $token;
134 return $buffer;
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/
H A DGenerator.php944 $buffer = 'class ';
950 $buffer .= sprintf(
957 $buffer .= ', ';
960 $buffer .= $mockClassName['namespaceName'] . '\\';
963 $buffer .= $mockClassName['originalClassName'];
966 $buffer .= sprintf(
975 return $buffer;
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/
H A DTestCase.php313 $buffer = sprintf(
319 return $buffer . $this->getDataSetAsString();
1984 $buffer = '';
1988 $buffer .= sprintf(' with data set #%d', $this->dataName);
1990 $buffer .= sprintf(' with data set "%s"', $this->dataName);
1996 $buffer .= sprintf(' (%s)', $exporter->shortenedRecursiveExport($this->data));
2000 return $buffer;
H A DTestFailure.php86 $buffer = $e->toString();
89 $buffer = $buffer . $e->getComparisonFailure()->getDiff();
92 if (!empty($buffer)) {
93 $buffer = trim($buffer) . "\n";
96 $buffer = $e->getMessage() . "\n";
98 $buffer = $e->getClassName() . ': ' . $e->getMessage() . "\n";
100 $buffer = get_class($e) . ': ' . $e->getMessage() . "\n";
103 return $buffer;
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/TextUI/
H A DResultPrinter.php597 * @param string $buffer
601 protected function formatWithColor($color, $buffer) argument
604 return $buffer;
608 $lines = explode("\n", $buffer);
631 * @param string $buffer
634 protected function writeWithColor($color, $buffer, $lf = true) argument
636 $this->write($this->formatWithColor($color, $buffer));
647 * @param string $buffer
649 protected function writeProgressWithColor($color, $buffer) argument
651 $buffer = $this->formatWithColor($color, $buffer);
[all …]

12345678910>>...13