rotl32 static method

int rotl32(
  1. int n,
  2. int d
)

Implementation

static int rotl32(int n, int d) {
  return (n << d) | (n >> (32 - d));
}