rotateWordLeft method

int rotateWordLeft(
  1. int x,
  2. int y
)

Implementation

int rotateWordLeft(int x, int y) {
  x &= 0xffff;
  return (x << y) | (x >> (16 - y));
}