diff options
author | Jim Meyering <jim@meyering.net> | 1999-03-15 15:50:31 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-03-15 15:50:31 +0000 |
commit | 0a1a14a0958643bc5dabc2d0b0901dca08fca722 (patch) | |
tree | 2d4589b6aad75188449a745799487f488427a00a /src/hostname.c | |
parent | 674d2ec393f69b015b3ff80343a431b81f94322f (diff) | |
download | coreutils-0a1a14a0958643bc5dabc2d0b0901dca08fca722.tar.xz |
Revamp to allow fine-tuning to control when and by how
much the table grows and shrinks.
(next_prime): Don't assert.
(hash_reset_tuning): New function.
(check_tuning): New function.
(hash_initialize): Accept and use new tuning parameter.
(hash_rehash): Rewrite, updating for tuning.
(hash_insert): Honor tuning semantics.
(hash_delete): Likewise.
From François Pinard.
Diffstat (limited to 'src/hostname.c')
0 files changed, 0 insertions, 0 deletions