ref: 75859a6c2f7458ff82bd61ad1f031837155cb03e 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; }