MCPcopy Create free account
hub / github.com/MeigenChou/DCTimer-Android / count0xf

Method count0xf

app/src/main/java/cs/sq12phase/Search.java:136–140  ·  view source on GitHub ↗
(int val)

Source from the content-addressed store, hash-verified

134 }
135
136 private static int count0xf(int val) {
137 val &= val >> 1;
138 val &= val >> 2;
139 return Integer.bitCount(val & 0x11111111);
140 }
141
142 private boolean phase1Opt(int shape, int prunvalue, int maxl, int depth, int lm, int lastTurns) {
143 int i = count0xf((lastTurns ^ ~0x000000) & 0xff00ff)

Callers 1

phase1OptMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected