| 223 | } |
| 224 | |
| 225 | static bool LoadRecords() { |
| 226 | bool ret; |
| 227 | if (FLAGS_file.find(".vecs") != std::string::npos) { |
| 228 | ret = LoadFromVecsFile(); |
| 229 | } else { |
| 230 | ret = LoadFromTextFile(); |
| 231 | } |
| 232 | |
| 233 | return ret; |
| 234 | } |
| 235 | |
| 236 | static bool InitClient() { |
| 237 | if (FLAGS_protocol == "http") { |
no test coverage detected