(file) Return to HashTable.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/HashTable.cpp between version 1.15 and 1.16

version 1.15, 2005/02/05 22:59:23 version 1.16, 2005/05/13 12:17:32
Line 251 
Line 251 
     Uint32 hashCode,     Uint32 hashCode,
     const void* key) const     const void* key) const
 { {
   #ifdef PEGASUS_OS_VMS
   //
   // This is to prevent a crash when the hash
   //  code hasn't been initialized!
   //
       if (_numChains == 0)
       {
         return 0;
       }
   #endif
     Uint32 i = hashCode % _numChains;     Uint32 i = hashCode % _numChains;
  
     for (_BucketBase* bucket = _chains[i]; bucket; bucket = bucket->next)     for (_BucketBase* bucket = _chains[i]; bucket; bucket = bucket->next)


Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2