bridge/class-master/depend/pari/src/language/hash.c
/* hashvalue's underlying hash function */
hashvalue's underlying hash function
hashvalue ' s underlying hash function
ulong
hash_str2(const char *s)
{
  ulong n = 0, c;
  while ( (c = (ulong)*s++) ) n = (n<<1) ^ c;
  return n;
}
ulong hash_str2 ( const char * s ) { ulong n = 0 , c ; while ( ( c = ( ulong ) * s ++ ) ) n = ( n << 1 ) ^ c ; return n ; }
hashvalue's underlying hash function
hashvalue ' s underlying hash function