openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/mtd-utils/2.1.0+AUTOINC+b5027be5f4-r0/git/ubifs-utils/mkfs.ubifs/devtable.c
static unsigned int r5_hash(void* s)
{
    unsigned int a = 0;
    const signed char* str = s;

    while (*str)
    {
        a += *str << 4;
        a += *str >> 4;
        a *= 11;
        str++;
    }

    return a;
}
/* Hash function used for hash tables */
Hash function used for hash tables
Hash function used for hash tables
static unsigned int r5_hash(void* s)
{
    unsigned int a = 0;
    const signed char* str = s;
    while (*str)
    {
        a += *str << 4;
        a += *str >> 4;
        a *= 11;
        str++;
    }
    return a;
}
static unsigned int r5_hash ( void * s ) { unsigned int a = 0 ; const signed char * str = s ; while ( * str ) { a += * str << 4 ; a += * str >> 4 ; a *= 11 ; str ++ ; } return a ; }
Hash function used for hash tables
Hash function used for hash tables