| 15 | extern "C" pid_t gettid(); |
| 16 | |
| 17 | bool FInternalKey(const char *key, size_t cch) |
| 18 | { |
| 19 | if (cch >= sizeof(INTERNAL_KEY_PREFIX)) |
| 20 | { |
| 21 | if (memcmp(key, keyprefix, sizeof(INTERNAL_KEY_PREFIX)-1) == 0) |
| 22 | return true; |
| 23 | } |
| 24 | return false; |
| 25 | } |
| 26 | |
| 27 | std::string getPrefix(unsigned int hashslot) |
| 28 | { |
no outgoing calls
no test coverage detected