Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > Hash_impl
comparison PrivateHash.c @ 26:f0f5da84c4c4
rearrange to work with autoconf
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Tue, 25 Sep 2012 16:03:21 +0200 |
| parents | b032601956bb |
| children | 18a72865dd78 |
comparison
equal
deleted
inserted
replaced
| 14:8b7b11b6a1c8 | 15:974e2567be24 |
|---|---|
| 89 h = key->hashable[i] + h*31; | 89 h = key->hashable[i] + h*31; |
| 90 return h % hashSz; | 90 return h % hashSz; |
| 91 } | 91 } |
| 92 | 92 |
| 93 /*Copies the string that is the key*/ | 93 /*Copies the string that is the key*/ |
| 94 inline HashEntry * | 94 HashEntry * |
| 95 makeHashEntry( char * key ) | 95 makeHashEntry( char * key ) |
| 96 { HashEntry *hashEntry; | 96 { HashEntry *hashEntry; |
| 97 | 97 |
| 98 int32 len = strlen(key); | 98 int32 len = strlen(key); |
| 99 | 99 |
