![Inheritance graph](classVectorMap__inherit__graph.png)
![Collaboration graph](classVectorMap__coll__graph.png)
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 |
Detailed Description
template<class Key, class Value>
class VectorMap< Key, Value >
Definition at line 87 of file delay_pools.cc.
Constructor & Destructor Documentation
◆ VectorMap()
Definition at line 584 of file delay_pools.cc.
Member Function Documentation
◆ findKeyIndex()
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().
◆ indexUsed()
bool VectorMap< Key, Value >::indexUsed | ( | unsigned char const | index | ) | const |
Definition at line 671 of file delay_pools.cc.
Referenced by VectorPool::keyAllocated(), and ClassCHostPool::keyAllocated().
◆ insert()
Definition at line 596 of file delay_pools.cc.
Referenced by VectorPool::id(), and ClassCHostPool::id().
◆ size()
Definition at line 589 of file delay_pools.cc.
Referenced by VectorPool::stats(), ClassCHostPool::stats(), VectorPool::update(), and ClassCHostPool::update().
Member Data Documentation
◆ key_map
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().
◆ nextMapPosition
Definition at line 103 of file delay_pools.cc.
◆ values
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().
The documentation for this class was generated from the following file:
- src/delay_pools.cc
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products