<awangdev>Rehashing_1.java
public int hashcode(int key, int capacity) {
        if (key < 0) {
            return (key % capacity + capacity) % capacity;
        } else {
            return key % capacity;
        }
    }
public int sample_funcname ( int var_0 , int var_1 ) {
  if ( var_0 < 0 ) {
    return ( var_0 % var_1 + var_1 ) % var_1 ;
  }
  else {
    return var_0 % var_1 ;
  }
}
