MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / exists

Method exists

src/main/java/core/packetproxy/common/BoyerMoore.java:83–87  ·  view source on GitHub ↗
(int[] bitset, int c)

Source from the content-addressed store, hash-verified

81 }
82
83 private boolean exists(int[] bitset, int c) {
84 int q = c >> 5;
85 int r = c & 0x1f;
86 return (bitset[q] & (1 << r)) != 0x00;
87 }
88
89 private void setBit(int[] bitset, int c) {
90 int q = c >> 5;

Callers 9

BoyerMooreMethod · 0.95
mainMethod · 0.80
createDBMethod · 0.80
PacketProxyCAPerUserMethod · 0.80
approveSelectionMethod · 0.80
loadJarsMethod · 0.80
LoggerMethod · 0.80
deletefileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected