Lines Matching defs:distance
240 * @param distance
245 public static int rotateLeft(int i, int distance) {
246 if (distance == 0) {
251 * implicitly masked with 0x1F, which the negation of 'distance' is
254 return ((i << distance) | (i >>> (-distance)));
263 * @param distance
268 public static int rotateRight(int i, int distance) {
269 if (distance == 0) {
274 * implicitly masked with 0x1F, which the negation of 'distance' is
277 return ((i >>> distance) | (i << (-distance)));