Changeset 1013 for trunk/psLib/src/sysUtils/psHash.h
- Timestamp:
- Jun 11, 2004, 7:50:01 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psHash.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psHash.h
r1012 r1013 1 1 /** @file psHash.h 2 *3 2 * @brief Contains support for basic hashing functions. 3 * @ingroup HashTable 4 4 * 5 5 * This file will hold the prototypes for defining a hash table with arbitrary … … 7 7 * data from that hash table, and listing all keys defined in the hash table. 8 8 * 9 * @ingroup HashTable10 *11 9 * @author Robert Lupton, Princeton University 12 10 * @author George Gusciora, MHPCC 13 11 * 14 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-06-12 0 4:55:21 $12 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-06-12 05:50:01 $ 16 14 * 17 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 18 16 */ 19 20 17 #if !defined(PS_HASH_H) 21 18 #define PS_HASH_H … … 25 22 */ 26 23 #include "psList.h" 27 28 24 29 25 /** A bucket that holds an item of data. */ … … 40 36 typedef struct psHash 41 37 { 42 int nbucket; // < Number of buckets in hash table.43 psHashBucket **buckets; // < The bucket data.38 int nbucket; ///< Number of buckets in hash table. 39 psHashBucket **buckets; ///< The bucket data. 44 40 } 45 41 psHash; 46 42 47 43 /// Allocate hash buckets in table. 48 psHash *psHashAlloc(int nbucket); 44 psHash *psHashAlloc(int nbucket ///< The number of buckets to allocate. 45 ); 49 46 50 47 /// Free hash buckets from table.
Note:
See TracChangeset
for help on using the changeset viewer.
