OLD | NEW |
1 /* | 1 /* |
2 ** 2001 September 22 | 2 ** 2001 September 22 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
6 ** | 6 ** |
7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
10 ** | 10 ** |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 h = strHash(pKey, nKey) % pH->htsize; | 268 h = strHash(pKey, nKey) % pH->htsize; |
269 } | 269 } |
270 } | 270 } |
271 if( pH->ht ){ | 271 if( pH->ht ){ |
272 insertElement(pH, &pH->ht[h], new_elem); | 272 insertElement(pH, &pH->ht[h], new_elem); |
273 }else{ | 273 }else{ |
274 insertElement(pH, 0, new_elem); | 274 insertElement(pH, 0, new_elem); |
275 } | 275 } |
276 return 0; | 276 return 0; |
277 } | 277 } |
OLD | NEW |