Home
last modified time | relevance | path

Searched refs:tail (Results 1 – 2 of 2) sorted by relevance

/dokuwiki/inc/ChangeLog/
H A DChangeLogTrait.php113 * if success returns array(fp, array(changeloglines), $head, $tail, $eof)
127 $tail = 0;
144 $tail = $eof;
147 while ($tail - $head > $this->chunk_size) {
148 $finger = $head + intval(($tail - $head) / 2);
151 if ($finger == $head || $finger == $tail) {
158 $tail = $finger;
164 if ($tail - $head < 1) {
170 $lines = $this->readChunk($fp, $head, $tail);
176 $tail,
190 readChunk($fp, $head, $tail) global() argument
239 readAdjacentChunk($fp, $head, $tail, $direction) global() argument
[all...]
H A DChangeLog.php230 $tail = ftell($fp);
233 $finger = max($tail - $this->chunk_size, 0);
238 if ($nl > 0 && $tail <= $nl) {
247 $read_size = max($tail - $finger, 0); // found chunk size
268 $tail = $finger;
269 $finger = max($tail - $this->chunk_size, 0);
324 list($fp, $lines, $head, $tail, $eof) = $this->readloglines($rev);
359 && !(($tail == $eof && $direction > 0) || ($head == 0 && $direction < 0));
362 list($lines, $head, $tail) = $this->readAdjacentChunk($fp, $head, $tail,
[all...]