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

Method hashLong

src/jvm/clojure/lang/Murmur3.java:58–70  ·  view source on GitHub ↗
(long input)

Source from the content-addressed store, hash-verified

56}
57
58public 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
72public static int hashUnencodedChars(CharSequence input){
73 int h1 = seed;

Callers 3

hasheqMethod · 0.95
hasheqFromMethod · 0.95
hasheqMethod · 0.95

Calls 3

mixK1Method · 0.95
mixH1Method · 0.95
fmixMethod · 0.95

Tested by

no test coverage detected