Home
last modified time | relevance | path

Searched refs:buffer (Results 51 – 75 of 302) sorted by last modified time

12345678910>>...13

/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/src/
H A DUtils.php58 $buffer = '';
66 $buffer .= $buf;
68 return $buffer;
77 $buffer .= $buf;
78 $len = strlen($buffer);
81 return $buffer;
154 * Read a line from the stream up to the maximum allowed buffer length
157 * @param int $maxLength Maximum buffer length
164 $buffer = '';
170 return $buffer;
[all...]
H A DPumpStream.php31 private $buffer; variable in GuzzleHttp\\Stream\\PumpStream
48 $this->buffer = new BufferStream();
114 $data = $this->buffer->read($length);
121 $data .= $this->buffer->read($remaining);
156 $this->buffer->write($data);
H A DAsyncReadStream.php14 * buffer, then the pump function is used to block until the requested number
17 * can send other transfers while waiting on the desired buffer size to be
26 /** @var callable|null Fn used to notify writers the buffer has drained */
32 /** @var int|null Highwater mark of the underlying buffer */
50 * meaning the buffer is now writable again because the size of the
51 * buffer is at an acceptable level (e.g., below the high water mark).
52 * The function accepts a single argument, the buffer stream object that
61 * @param StreamInterface $buffer Buffer that contains the data that has
65 * @throws \InvalidArgumentException if the buffer is not readable and
69 StreamInterface $buffer, argument
[all...]
H A DBufferStream.php7 * Provides a buffer stream that can be written to to fill a buffer, and read
8 * from to remove bytes from the buffer.
12 * preferred size of the buffer.
19 private $buffer = ''; variable in GuzzleHttp\\Stream\\BufferStream
23 * buffer size. If the size of the buffer exceeds the high
26 * until the buffer has been drained by reading from it.
40 $buffer = $this->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/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/achart/assets/
H A Djs-yaml.min.js2buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!… property in le.n
/plugin/ckgedit/ckeditor/plugins/image/dialogs/
H A Dimage.js.unc377 // Use the original element as a buffer from since we don't want
/plugin/html5video2/script/
H A Dvideo.min.js20buffer="",this.decoder=i||new TextDecoder("utf8"),this.regionList=[]}).prototype={reportOrThrowErr…
21buffer="",e}return vt(e,t),e.prototype.push=function(e){var t;for(this.buffer+=e,t=this.buffer.ind…
/plugin/stlviewer/stlviewer/
H A Dthree.min.js2buffer),r.delete(e))},update:function(e,i){if(e.isGLBufferAttribute){var a=r.get(e);(!a||a.version…
H A Die_polyfills.js47 function(b){var a=b&&b.buffer||b,c=l.call(a);if(c!==v&&c!==u&&void 0!==b)throw TypeError("Failed to…
/plugin/dokucrypt2/
H A Dscript.js1183 this.nbytes = 0; // Bytes left in buffer
1488 var buffer = []; variable
1674 buffer[index] = and(b, 0xff);
1676 transform(buffer, 0);
/plugin/davcal/vendor/sabre/vobject/
H A DChangeLog.md385 * Added: MimeDir parser can now continue parsing with the same stream buffer.
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
H A DFingersCrossedHandler.php57 protected $buffer = []; variable in Monolog\\Handler\\FingersCrossedHandler
124 $this->getHandler(end($this->buffer) ?: null)->handleBatch($this->buffer);
125 $this->buffer = [];
139 $this->buffer[] = $record;
140 if ($this->bufferSize > 0 && count($this->buffer) > $this->bufferSize) {
141 array_shift($this->buffer);
181 $this->buffer = [];
192 $this->buffer = array_filter($this->buffer, function ($record) use ($level) {
195 if (count($this->buffer) > 0) {
196 $this->getHandler(end($this->buffer))->handleBatch($this->buffer);
[all …]
H A DOverflowHandler.php59 private $buffer = []; variable in Monolog\\Handler\\OverflowHandler
105 $this->buffer[$level][] = $record;
112 foreach ($this->buffer[$level] ?? [] as $buffered) {
116 unset($this->buffer[$level]);
H A DBufferHandler.php41 protected $buffer = []; variable in Monolog\\Handler\\BufferHandler
77 array_shift($this->buffer);
87 $this->buffer[] = $record;
99 $this->handler->handleBatch($this->buffer);
126 $this->buffer = [];
H A DDeduplicationHandler.php89 foreach ($this->buffer as $record) {
100 $this->handler->handleBatch($this->buffer);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DSymmetricKey.php1354 $buffer = &$this->enbuffer;
1398 $buffer['ciphertext'] = substr($key, $start) . $buffer['ciphertext'];
1499 $buffer['xor'] = substr($key, $start) . $buffer['xor'];
1730 $buffer = &$this->debuffer;
1772 $buffer['ciphertext'] = substr($key, $start) . $buffer['ciphertext'];
1872 $buffer['xor'] = substr($key, $start) . $buffer['xor'];
1975 * @param array $buffer
2009 $buffer['ciphertext'] = substr($key, $start) . $buffer['ciphertext'];
2063 * @param array $buffer
2069 if (strlen($buffer['xor'])) {
[all …]
/plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/
H A DBufferStream.php20 private $buffer = ''; variable in GuzzleHttp\\Psr7\\BufferStream
41 $buffer = $this->buffer;
42 $this->buffer = '';
44 return $buffer;
49 $this->buffer = '';
61 return strlen($this->buffer);
91 return strlen($this->buffer) === 0;
108 $result = $this->buffer;
109 $this->buffer = '';
113 $this->buffer = substr($this->buffer, $length);
[all …]
H A DAppendStream.php189 $buffer = '';
213 $buffer .= $result;
214 $remaining = $length - strlen($buffer);
217 $this->pos += strlen($buffer);
219 return $buffer;
H A DPumpStream.php34 private $buffer; variable in GuzzleHttp\\Psr7\\PumpStream
51 $this->buffer = new BufferStream();
123 $data = $this->buffer->read($length);
130 $data .= $this->buffer->read($remaining);
165 $this->buffer->write($data);
H A DUtils.php85 $buffer = '';
94 $buffer .= $buf;
96 return $buffer;
106 $buffer .= $buf;
107 $len = strlen($buffer);
110 return $buffer;
249 $buffer = '';
255 return $buffer;
257 $buffer .= $byte;
264 return $buffer;
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DSalsa20.php340 $buffer = &$this->enbuffer;
342 $buffer = &$this->debuffer;
344 if (!strlen($buffer['ciphertext'])) {
347 $ciphertext = $text ^ Strings::shift($buffer['ciphertext'], strlen($text));
358 $iv = pack('V', $buffer['counter']) . $this->p2;
360 $buffer['counter'] += (strlen($text) >> 6) + 1; // ie. divide by 64
377 $temp = static::salsa20($this->p1 . pack('V', $buffer['counter']++) . $this->p2);
380 $buffer['ciphertext'] = substr($temp, $overflow);
381 } elseif (!strlen($buffer['ciphertext'])) {
383 $iv = pack('V', $buffer['counter']) . $this->p2;
[all …]
/plugin/authgooglesheets/vendor/guzzlehttp/psr7/
H A DREADME.md40 Provides a buffer stream that can be written to fill a buffer, and read
41 from to remove bytes from the buffer.
45 preferred size of the buffer.
50 // When more than 1024 bytes are in the buffer, it will begin returning
52 $buffer = new Psr7\BufferStream(1024);
470 Read a line from the stream up to the maximum allowed buffer length.
491 stream is read from, data from the iterator will fill a buffer and will be
492 continuously called until the buffer is equal to the requested read size.
493 Subsequent read calls will first read from the buffer and then call `next`
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH2.php3549 $buffer = $this->read_remaining_bytes($remaining_length);
3554 if (strlen($buffer)) {
3555 $raw .= $this->decrypt ? $this->decrypt->decrypt($buffer) : $buffer;
3679 $buffer = '';
3686 $buffer .= $temp;
3690 return $buffer;

12345678910>>...13