Home
last modified time | relevance | path

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

/dokuwiki/inc/ChangeLog/
H A DChangeLog.php14 protected $chunk_size; variable in dokuwiki\\ChangeLog\\ChangeLog
22 * @param int $chunk_size maximum block size read from file
24 public function __construct($id, $chunk_size = 8192) argument
34 $this->setChunkSize($chunk_size);
44 public function setChunkSize($chunk_size) argument
46 if (!is_numeric($chunk_size)) $chunk_size = 0;
48 $this->chunk_size = (int)max($chunk_size, 0);
162 if (filesize($file) < $this->chunk_size || $this->chunk_size == 0) {
416 if (filesize($file) < $this->chunk_size || $this->chunk_size == 0) {
483 while ($got < $chunk_size && !feof($fp)) {
[all …]
/dokuwiki/inc/HTTP/
H A DHTTPClient.php401 $chunk_size = '';
404 $chunk_size .= $byte;
405 … if (strlen($chunk_size) > 128) // set an abritrary limit on the size of chunks
409 $chunk_size = hexdec($chunk_size);
411 if($this->max_bodysize && $chunk_size+strlen($r_body) > $this->max_bodysize){
415 $chunk_size = $this->max_bodysize - strlen($r_body);
419 if ($chunk_size > 0) {
420 $r_body .= $this->readData($socket, $chunk_size, 'chunk');
423 } 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);
H A DIXR_Library.php236 … $chunk_size = 262144; // 256Kb, parse in chunks to avoid the RAM usage on very large messages
239 if(strlen($this->message) <= $chunk_size) {
242 $part = substr($this->message, 0, $chunk_size);
243 $this->message = substr($this->message, $chunk_size);