pike.git / src / hashtable.c

version» Context lines:

pike.git/src/hashtable.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/ + /**/   #include "global.h"   #include "hashtable.h"   #include "stralloc.h"   #include "stuff.h"   #include "error.h"    - RCSID("$Id: hashtable.c,v 1.6 1999/04/17 13:48:01 grubba Exp $"); + RCSID("$Id: hashtable.c,v 1.7 2000/08/15 16:03:48 grubba Exp $");    - static unsigned INT32 gobble(struct pike_string *s) + static size_t gobble(struct pike_string *s)   { -  unsigned INT32 i; +  size_t i;    i=my_hash_string(s);    i+=i >> 3;    i+=i >> 7;    i+=i >> 12;    return i;   }      /*    * Search hash for a specific string.    */