Searched refs:nchunks (Results 1 – 1 of 1) sorted by relevance
| /dokuwiki/inc/ |
| H A D | DifferenceEngine.php | 234 * @param integer $nchunks 238 function _diag($xoff, $xlim, $yoff, $ylim, $nchunks) { argument 260 $numer = $xlim - $xoff + $nchunks - 1; 262 for ($chunk = 0; $chunk < $nchunks; $chunk++) { 267 $x1 = $xoff + (int)(($numer + ($xlim-$xoff)*$chunk) / $nchunks); 295 for ($n = 0; $n < $nchunks - 1; $n++) { 296 $x1 = $xoff + (int)(($numer + ($xlim - $xoff) * $n) / $nchunks); 366 $nchunks = min(7, $xlim - $xoff, $ylim - $yoff) + 1; 368 = $this->_diag($xoff,$xlim,$yoff, $ylim,$nchunks);
|