ref: 539338d3e3f1ac406cd5bf8863d217bcb648e7c2 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; }