| 149 | } |
| 150 | |
| 151 | static void hs_dump(const std::vector<acl::hsrow*>& rows) |
| 152 | { |
| 153 | std::vector<acl::hsrow*>::const_iterator cit_row; |
| 154 | std::vector<const char*>::const_iterator cit_colum; |
| 155 | |
| 156 | cit_row = rows.begin(); |
| 157 | |
| 158 | for (; cit_row != rows.end(); cit_row++) |
| 159 | { |
| 160 | cit_colum = (*cit_row)->get_row().begin(); |
| 161 | |
| 162 | printf(">>results:\n"); |
| 163 | |
| 164 | for (; cit_colum != (*cit_row)->get_row().end(); |
| 165 | cit_colum++) |
| 166 | { |
| 167 | printf("\t|%s|", *cit_colum); |
| 168 | } |
| 169 | |
| 170 | printf("\n"); |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | static void hs_find(const char* addr, int num, bool enable_cache) |
| 175 | { |