| 101 | } |
| 102 | |
| 103 | inline NamedHashFunction<uint32_t>::HashFunction FindHashFunction32( |
| 104 | const char *name) { |
| 105 | std::size_t size = sizeof(kHashFunctions32) / sizeof(kHashFunctions32[0]); |
| 106 | for (std::size_t i = 0; i < size; ++i) { |
| 107 | if (std::strcmp(name, kHashFunctions32[i].name) == 0) { |
| 108 | return kHashFunctions32[i].function; |
| 109 | } |
| 110 | } |
| 111 | return nullptr; |
| 112 | } |
| 113 | |
| 114 | inline NamedHashFunction<uint64_t>::HashFunction FindHashFunction64( |
| 115 | const char *name) { |
no outgoing calls
no test coverage detected