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

Method smear

output/java_guava/1.4.19/SmallCharMatcher.java:55–57  ·  view source on GitHub ↗
(int hashCode)

Source from the content-addressed store, hash-verified

53 */
54
55 static int smear(int hashCode) {
56 return C2 * Integer.rotateLeft(hashCode * C1, 15);
57 }
58
59 private boolean checkFilter(int c) {
60 return 1 == (1 & (filter >> c));

Callers 2

fromMethod · 0.95
matchesMethod · 0.95

Calls 1

rotateLeftMethod · 0.45

Tested by

no test coverage detected