MCPcopy Index your code
hub / github.com/clojure/clojure / hashInt

Method hashInt

src/jvm/clojure/lang/Murmur3.java:50–56  ·  view source on GitHub ↗
(int input)

Source from the content-addressed store, hash-verified

48private static final int C2 = 0x1b873593;
49
50public static int hashInt(int input){
51 if(input == 0) return 0;
52 int k1 = mixK1(input);
53 int h1 = mixH1(seed, k1);
54
55 return fmix(h1, 4);
56}
57
58public static int hashLong(long input){
59 if(input == 0) return 0;

Callers 1

hasheqMethod · 0.95

Calls 3

mixK1Method · 0.95
mixH1Method · 0.95
fmixMethod · 0.95

Tested by

no test coverage detected