| 244 | } |
| 245 | |
| 246 | static long long mstime(void) { |
| 247 | struct timeval tv; |
| 248 | long long mst; |
| 249 | |
| 250 | gettimeofday(&tv, NULL); |
| 251 | mst = ((long long)tv.tv_sec)*1000; |
| 252 | mst += tv.tv_usec/1000; |
| 253 | return mst; |
| 254 | } |
| 255 | |
| 256 | static uint64_t dictSdsHash(const void *key) { |
| 257 | return dictGenHashFunction((unsigned char*)key, sdslen((char*)key)); |
no outgoing calls
no test coverage detected