Home
last modified time | relevance | path

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

/web-bugs/src/Horde/Text/Diff/Engine/
H A DNative.php149 protected function _diag ($xoff, $xlim, $yoff, $ylim, $nchunks) argument
176 $numer = $xlim - $xoff + $nchunks - 1;
178 for ($chunk = 0; $chunk < $nchunks; $chunk++) {
185 $x1 = $xoff + (int)(($numer + ($xlim - $xoff) * $chunk) / $nchunks);
210 for ($n = 0; $n < $nchunks - 1; $n++) {
211 $x1 = $xoff + (int)(($numer + ($xlim - $xoff) * $n) / $nchunks);
281 $nchunks = min(7, $xlim - $xoff, $ylim - $yoff) + 1;
283 = $this->_diag($xoff, $xlim, $yoff, $ylim, $nchunks);

Completed in 6 milliseconds