Debian Codegraph @

dik/trans/twist.c

raw symbols SCIP
1 #cxx . . $ `<file>/dik/trans/twist.c`/ifndef ROT2
2 #define TWIST_MAGICcxx . . $ `dik/trans/twist.c:2:9`! 168
3 #else /* ROT2 */
4 #define TWIST_MAGIC 324
5 #endif /* ROT2 */
6
7 static unsigned short twists_pointercxx . . $ twists_pointer.[MAX_TWISTScxx . . $ `dik/trans/twist.a:16:9`!];
8 static char twists_weightscxx . . $ twists_weights.[TWIST_MAGICcxx . . $ `dik/trans/twist.c:2:9`!];
9 static unsigned short twists_presentscxx . . $ twists_presents.[TWIST_MAGICcxx . . $ `dik/trans/twist.c:2:9`!];
10 static int twists_magic_countercxx . . $ twists_magic_counter.;
11 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
12 static char twists_rotatecxx . . $ twists_rotate.[MAX_TWISTScxx . . $ `dik/trans/twist.a:16:9`!][MIcxx . . $ `dik/trans/inv.a:3:9`!];
13 #endif /* EQUIV */
14
15 static void init_twists1cxx . . $ init_twists1(d878ad36e69247c7).()
16 {
17 int i, j, k;
18 int t0, t1, t2, t3, t4, t5, t6, t7;
19 int nt0, nt1, nt2, nt3, nt4, nt5, nt6, nt7;
20 int counted, val;
21 #define inccxx . . $ `dik/trans/twist.c:21:9`!(i, j) ((i+j) % 3)
22 #define paramscxx . . $ `dik/trans/twist.c:22:9`! nt0,nt1,nt2,nt3,nt4,nt5,nt6,nt7
23 #define params1cxx . . $ `dik/trans/twist.c:23:9`! &nt0,&nt1,&nt2,&nt3,&nt4,&nt5,&nt6,&nt7
24
25 counted = 0;
26 for(i = 0; i < MAX_TWISTScxx . . $ `dik/trans/twist.a:16:9`!; i++) {
27 twists_pointercxx . . $ twists_pointer.[i] = 65535;
28 }
29 t0 = t1 = t2 = t3 = t4 = t5 = t6 = t7 = 0;
30 for(i = 0; i < MAX_TWISTScxx . . $ `dik/trans/twist.a:16:9`!; i++) {
31 if(twists_pointercxx . . $ twists_pointer.[i] != 65535) {
32 twists_weightscxx . . $ twists_weights.[twists_pointercxx . . $ twists_pointer.[i]]++;
33 goto fin;
34 }
35 twists_presentscxx . . $ twists_presents.[counted] = i;
36 twists_pointercxx . . $ twists_pointer.[i] = counted;
37 twists_weightscxx . . $ twists_weights.[counted] = 1;
38 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
39 twists_rotatecxx . . $ twists_rotate.[i][0] = 1;
40 k = 0;
41 #endif /* EQUIV */
42 nt0 = t0;
43 nt1 = t1;
44 nt2 = t2;
45 nt3 = t3;
46 nt4 = t4;
47 nt5 = t5;
48 nt6 = t6;
49 nt7 = t7;
50 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
51 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
52 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
53 twists_pointercxx . . $ twists_pointer.[j] = counted;
54 }
55 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
56 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
57 #endif /* EQUIV */
58 #ifndef ROT2
59 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
60 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
61 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
62 twists_pointercxx . . $ twists_pointer.[j] = counted;
63 }
64 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
65 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
66 #endif /* EQUIV */
67 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
68 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
69 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
70 twists_pointercxx . . $ twists_pointer.[j] = counted;
71 }
72 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
73 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
74 #endif /* EQUIV */
75 #endif /* ROT2 */
76 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
77 rotate_rl_twistscxx . . $ rotate_rl_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
78 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
79 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
80 twists_pointercxx . . $ twists_pointer.[j] = counted;
81 }
82 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
83 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
84 #endif /* EQUIV */
85 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
86 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
87 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
88 twists_pointercxx . . $ twists_pointer.[j] = counted;
89 }
90 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
91 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
92 #endif /* EQUIV */
93 #ifndef ROT2
94 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
95 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
96 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
97 twists_pointercxx . . $ twists_pointer.[j] = counted;
98 }
99 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
100 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
101 #endif /* EQUIV */
102 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
103 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
104 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
105 twists_pointercxx . . $ twists_pointer.[j] = counted;
106 }
107 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
108 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
109 #endif /* EQUIV */
110 #endif /* ROT2 */
111 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
112 rotate_rl_twistscxx . . $ rotate_rl_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
113 flip_twistscxx . . $ flip_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
114 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
115 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
116 twists_pointercxx . . $ twists_pointer.[j] = counted;
117 }
118 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
119 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
120 #endif /* EQUIV */
121 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
122 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
123 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
124 twists_pointercxx . . $ twists_pointer.[j] = counted;
125 }
126 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
127 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
128 #endif /* EQUIV */
129 #ifndef ROT2
130 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
131 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
132 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
133 twists_pointercxx . . $ twists_pointer.[j] = counted;
134 }
135 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
136 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
137 #endif /* EQUIV */
138 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
139 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
140 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
141 twists_pointercxx . . $ twists_pointer.[j] = counted;
142 }
143 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
144 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
145 #endif /* EQUIV */
146 #endif /* ROT2 */
147 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
148 rotate_rl_twistscxx . . $ rotate_rl_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
149 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
150 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
151 twists_pointercxx . . $ twists_pointer.[j] = counted;
152 }
153 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
154 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
155 #endif /* EQUIV */
156 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
157 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
158 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
159 twists_pointercxx . . $ twists_pointer.[j] = counted;
160 }
161 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
162 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
163 #endif /* EQUIV */
164 #ifndef ROT2
165 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
166 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
167 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
168 twists_pointercxx . . $ twists_pointer.[j] = counted;
169 }
170 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
171 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
172 #endif /* EQUIV */
173 rotate_ud_twistscxx . . $ rotate_ud_twists(7981ee1c0af8ff9f).(params1cxx . . $ `dik/trans/twist.c:23:9`!);
174 j = twist_valcxx . . $ twist_val(c049a217637a5ac6).(paramscxx . . $ `dik/trans/twist.c:22:9`!);
175 if(twists_pointercxx . . $ twists_pointer.[j] == 65535) {
176 twists_pointercxx . . $ twists_pointer.[j] = counted;
177 }
178 #ifdef EQUIVcxx . . $ `dik/size333c.c:3:9`!
179 twists_rotatecxx . . $ twists_rotate.[j][++k] = 1;
180 #endif /* EQUIV */
181 #endif /* ROT2 */
182 counted++;
183 fin:
184 t0 = inccxx . . $ `dik/trans/twist.c:21:9`!(t0,1);
185 if(t0 == 0) {
186 t1 = inccxx . . $ `dik/trans/twist.c:21:9`!(t1,1);
187 if(t1 == 0) {
188 t2 = inccxx . . $ `dik/trans/twist.c:21:9`!(t2,1);
189 if(t2 == 0) {
190 t3 = inccxx . . $ `dik/trans/twist.c:21:9`!(t3,1);
191 if(t3 == 0) {
192 t4 = inccxx . . $ `dik/trans/twist.c:21:9`!(t4,1);
193 if(t4 == 0) {
194 t5 = inccxx . . $ `dik/trans/twist.c:21:9`!(t5,1);
195 if(t5 == 0) {
196 t6 = inccxx . . $ `dik/trans/twist.c:21:9`!(t6,1);
197 }
198 }
199 }
200 }
201 }
202 }
203 j = (t0 + t1 + t2 + t3 + t4 + t5 + t6) % 3;
204 t7 = 3 - j;
205 if(t7 == 3) {
206 t7 = 0;
207 }
208 }
209 #ifdef VERBOSEcxx . . $ `<built-in>:413:9`!
210 fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "\tLeft = %d\n", counted);
211 #endif /* VERBOSE */
212 twists_magic_countercxx . . $ twists_magic_counter. = counted;
213 }
214 #undef inccxx . . $ `dik/trans/twist.c:21:9`!
215 #undef paramscxx . . $ `dik/trans/twist.c:22:9`!
216 #undef params1cxx . . $ `dik/trans/twist.c:23:9`!
217