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

Function ptr_compare_0

mysys/ptr_cmp.c:110–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108
109
110static int ptr_compare_0(size_t *compare_length,uchar **a, uchar **b)
111{
112 reg3 int length= *compare_length;
113 reg1 uchar *first,*last;
114
115 first= *a; last= *b;
116 loop:
117 cmp(0);
118 cmp(1);
119 cmp(2);
120 cmp(3);
121 if ((length-=4))
122 {
123 first+=4;
124 last+=4;
125 goto loop;
126 }
127 return (0);
128}
129
130
131static int ptr_compare_1(size_t *compare_length,uchar **a, uchar **b)

Callers

nothing calls this directly

Calls 1

cmpFunction · 0.85

Tested by

no test coverage detected