| 90 | }; |
| 91 | |
| 92 | inline NamedHashFunction<uint16_t>::HashFunction FindHashFunction16( |
| 93 | const char *name) { |
| 94 | std::size_t size = sizeof(kHashFunctions16) / sizeof(kHashFunctions16[0]); |
| 95 | for (std::size_t i = 0; i < size; ++i) { |
| 96 | if (std::strcmp(name, kHashFunctions16[i].name) == 0) { |
| 97 | return kHashFunctions16[i].function; |
| 98 | } |
| 99 | } |
| 100 | return nullptr; |
| 101 | } |
| 102 | |
| 103 | inline NamedHashFunction<uint32_t>::HashFunction FindHashFunction32( |
| 104 | const char *name) { |
no outgoing calls
no test coverage detected