ref: 3c6c5a02710e4d7a3da6121e9bfb8d2bc0d786dd dir: /src/libscc/genhash.c/
unsigned genhash(char *name) { unsigned h; char c; for (h = 0; c = *name; ++name) h = h*33 ^ c; return h; }