Home
last modified time | relevance | path

Searched refs:skipReadBytes (Results 1 – 4 of 4) sorted by relevance

/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/src/
DCachingStream.php18 private $skipReadBytes = 0; variable in GuzzleHttp\\Stream\\CachingStream
80 $remaining + $this->skipReadBytes
83 if ($this->skipReadBytes) {
85 $remoteData = substr($remoteData, $this->skipReadBytes);
86 $this->skipReadBytes = max(0, $this->skipReadBytes - $len);
104 $this->skipReadBytes += $overflow;
/plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/
DCachingStream.php21 private $skipReadBytes = 0; variable in GuzzleHttp\\Psr7\\CachingStream
97 $remaining + $this->skipReadBytes
100 if ($this->skipReadBytes) {
102 $remoteData = substr($remoteData, $this->skipReadBytes);
103 $this->skipReadBytes = max(0, $this->skipReadBytes - $len);
121 $this->skipReadBytes += $overflow;
/plugin/matrixnotifierwas/vendor/guzzlehttp/psr7/src/
DCachingStream.php21 private $skipReadBytes = 0; variable in GuzzleHttp\\Psr7\\CachingStream
102 $remaining + $this->skipReadBytes
105 if ($this->skipReadBytes) {
107 $remoteData = substr($remoteData, $this->skipReadBytes);
108 $this->skipReadBytes = max(0, $this->skipReadBytes - $len);
126 $this->skipReadBytes += $overflow;
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
DCachingStreamTest.php97 $skipReadBytes = new ReflectionProperty(CachingStream::class, 'skipReadBytes');
98 $skipReadBytes->setAccessible(true);
104 $this->assertEquals(5, $skipReadBytes->getValue($body));
107 $this->assertEquals(0, $skipReadBytes->getValue($body));
114 $this->assertEquals(0, $skipReadBytes->getValue($body));
121 $this->assertEquals(5, $skipReadBytes->getValue($body));