(long hashVal, long size)
| 106 | } |
| 107 | |
| 108 | protected static long getIndex(long hashVal, long size) { |
| 109 | // shift right to remove sign bit and modulus the size of buffer |
| 110 | return (hashVal >>> 1) % size; |
| 111 | } |
| 112 | |
| 113 | public void save(File desc, File bits) throws IOException { |
| 114 | FileWriter writer = new FileWriter(desc, false); |
no outgoing calls
no test coverage detected