Logo Search packages:      
Sourcecode: maq version File versions

template<class keytype_t>
void __lh3_hash_base_class< keytype_t >::clear ( void   )  [inline, inherited]

clear the hash table, but do not free the memory

Reimplemented in hash_set_char.

Definition at line 384 of file stdhash.hh.

Referenced by hash_set_char::clear().

                              {
            if (flags) {
                  for (hashint_t t = 0; t < ((n_capacity>>__lh3_FLAG_SHIFT) + 1); ++t)
                        flags[t] = __lh3_FLAG_DEFAULT;
            }
            n_size = 0;
      }


Generated by  Doxygen 1.6.0   Back to index