| 202 | Node ** HashTable; |
| 203 | |
| 204 | ValueType * Find(char const * str) const |
| 205 | { |
| 206 | auto fs = ToFixedString(str); |
| 207 | if (fs) { |
| 208 | auto item = HashTable[(uint64_t)fs.Str % HashSize]; |
| 209 | while (item != nullptr) { |
| 210 | if (fs.Str == item->Key.Str) { |
| 211 | return &item->Value; |
| 212 | } |
| 213 | |
| 214 | item = item->Next; |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | return nullptr; |
| 219 | } |
| 220 | }; |
| 221 | |
| 222 | template <class T> |
nothing calls this directly
no test coverage detected