Home
last modified time | relevance | path

Searched refs:chunk_size (Results 1 – 5 of 5) sorted by relevance

/dokuwiki/inc/ChangeLog/
H A DChangeLogTrait.php89 protected $chunk_size; variable
95 * @param int $chunk_size maximum block size read from file
97 public function setChunkSize($chunk_size) argument
99 if (!is_numeric($chunk_size)) $chunk_size = 0;
101 $this->chunk_size = (int)max($chunk_size, 0);
130 if (filesize($file) < $this->chunk_size || $this->chunk_size == 0) {
147 while ($tail - $head > $this->chunk_size) {
196 while ($got < $chunk_size && !feof($fp)) {
197 $tmp = @fread($fp, max(min($this->chunk_size, $chunk_size - $got), 0));
251 $head = max($tail - $this->chunk_size, 0);
[all …]
H A DChangeLog.php25 * @param int $chunk_size maximum block size read from file
27 public function __construct($id, $chunk_size = 8192) argument
37 $this->setChunkSize($chunk_size);
217 if (filesize($logfile) < $this->chunk_size || $this->chunk_size == 0) {
233 $finger = max($tail - $this->chunk_size, 0);
239 $finger = max($finger - $this->chunk_size, 0);
250 $tmp = @fread($fp, max(min($this->chunk_size, $read_size - $got), 0));
269 $finger = max($tail - $this->chunk_size, 0);
/dokuwiki/vendor/kissifrot/php-ixr/src/Message/
H A DMessage.php71 … $chunk_size = 262144; // 256Kb, parse in chunks to avoid the RAM usage on very large messages
74 if (strlen($this->message) <= $chunk_size) {
77 $part = substr($this->message, 0, $chunk_size);
78 $this->message = substr($this->message, $chunk_size);
/dokuwiki/inc/HTTP/
H A DHTTPClient.php409 $chunk_size = '';
412 $chunk_size .= $byte;
413 … if (strlen($chunk_size) > 128) // set an abritrary limit on the size of chunks
417 $chunk_size = hexdec($chunk_size);
419 if($this->max_bodysize && $chunk_size+strlen($r_body) > $this->max_bodysize){
423 $chunk_size = $this->max_bodysize - strlen($r_body);
427 if ($chunk_size > 0) {
428 $r_body .= $this->readData($socket, $chunk_size, 'chunk');
431 } while ($chunk_size && !$abort);
/dokuwiki/inc/
H A Ddeprecated.php106 public function __construct($id, $chunk_size = 8192) argument
109 parent::__construct($id, $chunk_size);
120 public function __construct($id, $chunk_size = 8192) argument
123 parent::__construct($id, $chunk_size);