Home
last modified time | relevance | path

Searched refs:skipReadBytes (Results 1 – 3 of 3) sorted by path

/plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/
H A 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/elasticsearch/vendor/ezimuel/guzzlestreams/src/
H A 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/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
H A 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));