ref: 6c4171b1e9cf8e8793921aa04455d588f936e017 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; }