hash.c 2
Sponsored Links
hash.c 2 Ranking & Summary
File size:
0.004 MB
Platform:
Any Platform
License:
BSD License
Price:
Downloads:
1265
Date added:
2006-09-22
Publisher:
David Crawshaw
hash.c 2 description
hash.c is a C hash table with quadratic probing. hash.c is very small and easy to use.
Compile: gcc -c hash.c
This hashtable uses C-strings for keys and quadratic probing instead of linked-list chains. It depends only on ANSI C and so should work anywhere.
API
hash * hash_new ( unsigned int size ) Create new hashtable.
void hash_destroy ( hash *h ) Free hashtable.
int hash_add ( hash *h , const char *key , void *value ) Add key/value pair.
void * hash_get ( hash *h , const char *key ) Return value matching given key.
void * hash_remove ( hash *h , const char *key ) Remove key from table, returing value.
unsigned int hash_size ( hash *h ) Returns total number of keys.
Enhancements:
- This release uses exponentiation instead of xor in hashing.
- It adds a hash_destroy function.
Compile: gcc -c hash.c
This hashtable uses C-strings for keys and quadratic probing instead of linked-list chains. It depends only on ANSI C and so should work anywhere.
API
hash * hash_new ( unsigned int size ) Create new hashtable.
void hash_destroy ( hash *h ) Free hashtable.
int hash_add ( hash *h , const char *key , void *value ) Add key/value pair.
void * hash_get ( hash *h , const char *key ) Return value matching given key.
void * hash_remove ( hash *h , const char *key ) Remove key from table, returing value.
unsigned int hash_size ( hash *h ) Returns total number of keys.
Enhancements:
- This release uses exponentiation instead of xor in hashing.
- It adds a hash_destroy function.
hash.c 2 Screenshot
hash.c 2 Keywords
c hash table
Quadratic probing
hash table
C hash
hash
hash.c
probing
h
table
c
hash.c 2
Libraries
Programming
Bookmark hash.c 2
hash.c 2 Copyright
WareSeeker periodically updates pricing and software information of hash.c 2 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of hash.c 2 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Sponsored Links
Related Information
hashbrown casserole
c hashtable get value
source code hash table
hash brown potato casserole
hash brown casserole recipe
hash brown casserole
hash tables in c source code
Hash function
c hash table implementation
corned beef hash recipe
c hash tables
Hash list
hashing
corned beef hash
ansi c hash table
hashbrown cassarole
c hash table library
c hash table bucket
Related Software
fb_mhash is a UDF library for Firebird/Interbase. Free Download
hashit is a generic hash library. Free Download
Hash::Case is a base class for hashes with key-casing requirements. Free Download
fb_shash is a UDF library for Firebird/Interbase. Free Download
strhash is a hash table library. Free Download
Set::Hash is a Perl module with hashes as objects with lots of handy methods and support for method chaining. Free Download
Hash::Type module contains pseudo-hashes as arrays tied to a "type" (list of fields). Free Download
Hash::Merge Perl module merges arbitrarily deep hashes into a single hash. Free Download
Latest Software
Popular Software
Favourite Software