MCPcopy Create free account
hub / github.com/antlr/codebuff / smear

Method smear

corpus/java/training/guava/collect/Hashing.java:46–48  ·  view source on GitHub ↗
(int hashCode)

Source from the content-addressed store, hash-verified

44 * hereby disclaims copyright to this source code.
45 */
46 static int smear(int hashCode) {
47 return C2 * Integer.rotateLeft(hashCode * C1, 15);
48 }
49
50 static int smearedHash(@Nullable Object o) {
51 return smear((o == null) ? 0 : o.hashCode());

Callers 15

constructMethod · 0.95
fromEntryArrayMethod · 0.95
getMethod · 0.95
fromEntryArrayMethod · 0.95
getMethod · 0.95
constructMethod · 0.95
fromEntryArrayMethod · 0.95
getMethod · 0.95
fromEntryArrayMethod · 0.95
getMethod · 0.95

Calls 1

rotateLeftMethod · 0.45

Tested by

no test coverage detected