(long input)
| 56 | } |
| 57 | |
| 58 | public static int hashLong(long input){ |
| 59 | if(input == 0) return 0; |
| 60 | int low = (int) input; |
| 61 | int high = (int) (input >>> 32); |
| 62 | |
| 63 | int k1 = mixK1(low); |
| 64 | int h1 = mixH1(seed, k1); |
| 65 | |
| 66 | k1 = mixK1(high); |
| 67 | h1 = mixH1(h1, k1); |
| 68 | |
| 69 | return fmix(h1, 8); |
| 70 | } |
| 71 | |
| 72 | public static int hashUnencodedChars(CharSequence input){ |
| 73 | int h1 = seed; |