MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / ptr_compare_3

Function ptr_compare_3

mysys/ptr_cmp.c:174–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174static int ptr_compare_3(size_t *compare_length,uchar **a, uchar **b)
175{
176 reg3 int length= *compare_length-3;
177 reg1 uchar *first,*last;
178
179 first= *a +3 ; last= *b +3;
180 cmp(-3);
181 cmp(-2);
182 cmp(-1);
183 loop:
184 cmp(0);
185 cmp(1);
186 cmp(2);
187 cmp(3);
188 if ((length-=4))
189 {
190 first+=4;
191 last+=4;
192 goto loop;
193 }
194 return (0);
195}
196
197#endif /* !__sun */
198

Callers

nothing calls this directly

Calls 1

cmpFunction · 0.85

Tested by

no test coverage detected