MCPcopy Create free account
hub / github.com/antirez/disque / dictGenHashFunction

Function dictGenHashFunction

src/dict.c:103–144  ·  view source on GitHub ↗

MurmurHash2, by Austin Appleby * Note - This code makes a few assumptions about how your machine behaves - * 1. We can read a 4-byte value from any address without crashing * 2. sizeof(int) == 4 * * And it has a few limitations - * * 1. It will not work incrementally. * 2. It will not produce the same results on little-endian and big-endian * machines. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

dictObjHashFunction · 0.70
dictSdsHashFunction · 0.70
dictEncObjHashFunction · 0.70
dictClusterNodeHashFunction · 0.70
dictJobHashFunction · 0.70
dictStringHashFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected