GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GHT_CREATE (3)

NAME

ght_create - create a new hash table

CONTENTS

Synopsis
Description
See Also
Author

SYNOPSIS

#include <ght_hash_table.h>

ght_hash_table_t *ght_create(unsigned int i_size);

DESCRIPTION

Create a new hash table with the size (number of buckets) i_size and return a pointer to it.

The number of buckets should be about as big as the number of elements you wish to store in the table for good performance. The number of buckets is rounded to the next higher power of two.

The hash table is created with ght_one_at_a_time_hash() as hash function, automatic rehashing disabled, malloc() as the memory allocator and no heuristics.

SEE ALSO

ght_insert(3), ght_get(3), ght_remove(3), ght_replace(3), ght_finalize(3), ght_first(3), ght_next(3), ght_set_alloc(3), ght_set_hash(3), ght_set_heuristics(3), ght_size(3), ght_table_size(3), ght_rehash(3).

libghthash is fully documented with Doxygen (in {prefix}/doc/libghthash/html/).

AUTHOR

This manual page was created by Simon Kagstrom <ska@bth.se>.

Search for    or go to Top of page |  Section 3 |  Main Index


libghthash GHT_CREATE (3) 2005-07-21

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.