openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/nss-pam-ldapd/0.9.8-r0/nss-pam-ldapd-0.9.8/common/dict.c
static uint32_t stringhash(const char* str)
{
    uint32_t hash = 5381;
    uint32_t c;
    while ((c = *str++) != '\0')
        hash = 33 * hash + c;
    return hash;
}
/* Simple hash function that computes the hash value of a string. */
Simple hash function that computes the hash value of a string.
Simple hash function that computes the hash value of a string .
static uint32_t stringhash(const char* str)
{
    uint32_t hash = 5381;
    uint32_t c;
    while ((c = *str++) != '\0')
        hash = 33 * hash + c;
    return hash;
}
static uint32_t stringhash ( const char * str ) { uint32_t hash = 5381 ; uint32_t c ; while ( ( c = * str ++ ) != ' \0 ' ) hash = 33 * hash + c ; return hash ; }
Simple hash function that computes the hash value of a string.
Simple hash function that computes the hash value of a string .