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

Method getsym

app/src/main/java/cs/threephase/Edge3.java:228–236  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

226 static int[] FullEdgeMap = {0, 2, 4, 6, 1, 3, 7, 5, 8, 9, 10, 11};
227
228 int getsym() {
229 int cord1x = get(4);
230 int symcord1x = raw2sym[cord1x];
231 int symx = symcord1x & 0x7;
232 symcord1x >>= 3;
233 rotate(symx);
234 int cord2x = get(10) % N_RAW;
235 return symcord1x * N_RAW + cord2x;
236 }
237
238 int set(EdgeCube c) {
239 if (temp == null) {

Callers 2

searchMethod · 0.45
init3Method · 0.45

Calls 2

getMethod · 0.95
rotateMethod · 0.95

Tested by

no test coverage detected