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

Method init

app/src/main/java/solver/Petrus.java:43–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42 private static boolean ini = false;
43 public static void init() {
44 if (ini) return;
45 int i, j;
46 for (i = 0; i < 220; i++)
47 for (j = 0; j < 8; j++)
48 for (int k = 0; k < 6; k++) {
49 int d = edgemv(i, j, 3, k);
50 if (j < 6) epm[i * 6 + j][k] = (short) (d >> 3);
51 eom[i * 8 + j][k] = (short) ((d / 48) << 3 | d & 7);
52 }
53 ini = true;
54 }
55
56 private static boolean inip1 = false;
57 private static void initp1() {

Callers 2

initrMethod · 0.95
initp1Method · 0.95

Calls 1

edgemvMethod · 0.95

Tested by

no test coverage detected