|
Squid Web Cache master
|
Public Member Functions | |
| VectorMap () | |
| unsigned int | size () const |
| unsigned char | findKeyIndex (Key const key) const |
| bool | indexUsed (unsigned char const index) const |
| unsigned int | insert (Key const key) |
Public Attributes | |
| Key | key_map [IND_MAP_SZ] |
| Value | values [IND_MAP_SZ] |
Private Attributes | |
| unsigned int | nextMapPosition |
Definition at line 87 of file delay_pools.cc.
| VectorMap< Key, Value >::VectorMap | ( | ) |
Definition at line 584 of file delay_pools.cc.
| unsigned char VectorMap< Key, Value >::findKeyIndex | ( | Key const | key | ) | const |
returns the used position, or the position to allocate
Definition at line 679 of file delay_pools.cc.
Referenced by VectorPool::id(), ClassCHostPool::id(), VectorPool::keyAllocated(), and ClassCHostPool::keyAllocated().
| bool VectorMap< Key, Value >::indexUsed | ( | unsigned char const | index | ) | const |
Definition at line 671 of file delay_pools.cc.
References size.
Referenced by VectorPool::keyAllocated(), and ClassCHostPool::keyAllocated().
Definition at line 596 of file delay_pools.cc.
References assert.
Referenced by VectorPool::id(), and ClassCHostPool::id().
Definition at line 589 of file delay_pools.cc.
Referenced by VectorPool::stats(), ClassCHostPool::stats(), VectorPool::update(), and ClassCHostPool::update().
| Key VectorMap< Key, Value >::key_map[IND_MAP_SZ] |
Definition at line 99 of file delay_pools.cc.
Referenced by VectorPool::stats(), and ClassCHostPool::stats().
Definition at line 103 of file delay_pools.cc.
| Value VectorMap< Key, Value >::values[IND_MAP_SZ] |
Definition at line 100 of file delay_pools.cc.
Referenced by VectorPool::id(), ClassCHostPool::id(), VectorPool::stats(), ClassCHostPool::stats(), VectorPool::update(), and ClassCHostPool::update().