Lines Matching defs:radix
188 int radix = (int) sqrt(num_destinations);
193 int src_x = id%radix;
194 int src_y = id/radix;
202 dest_x = radix - src_x - 1;
203 dest_y = radix - src_y - 1;
204 destination = dest_y*radix + dest_x;
224 dest_x = (src_x + 1) % radix;
226 destination = dest_y*radix + dest_x;
235 destination = dest_y*radix + dest_x;
237 dest_x = (src_x + (int) ceil(radix/2) - 1) % radix;
239 destination = dest_y*radix + dest_x;