| 1988 | |
| 1989 | |
| 1990 | unsigned str_quickhash(const char *str) |
| 1991 | { |
| 1992 | unsigned hash = 5381; |
| 1993 | for(; *str; str++) |
| 1994 | hash = ((hash << 5) + hash) + (*str); /* hash * 33 + c */ |
| 1995 | return hash; |
| 1996 | } |
| 1997 | |
| 1998 | |
| 1999 | #if defined(__cplusplus) |
nothing calls this directly
no outgoing calls
no test coverage detected