Qucs-core  0.0.19
Data Structures | Namespaces | Defines
hash.h File Reference
#include "hash.cpp"
Include dependency graph for hash.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  qucs::hashentry< type_t >
class  qucs::hashbucket< type_t >
class  qucs::hash< type_t >
class  qucs::hashiterator< type_t >

Namespaces

namespace  qucs

Defines

#define HASH_SHRINK   4
#define HASH_EXPAND   8
#define HASH_MIN_SIZE   4
#define HASH_SHRINK_LIMIT   (buckets >> 2)
#define HASH_EXPAND_LIMIT   ((buckets >> 1) + (buckets >> 2))
#define HASH_LOCATION(code)   ((code) & (buckets - 1))

Define Documentation

#define HASH_EXPAND   8

Definition at line 32 of file hash.h.

#define HASH_EXPAND_LIMIT   ((buckets >> 1) + (buckets >> 2))

Definition at line 35 of file hash.h.

#define HASH_LOCATION (   code)    ((code) & (buckets - 1))

Definition at line 36 of file hash.h.

#define HASH_MIN_SIZE   4

Definition at line 33 of file hash.h.

#define HASH_SHRINK   4

Definition at line 31 of file hash.h.

#define HASH_SHRINK_LIMIT   (buckets >> 2)

Definition at line 34 of file hash.h.