Named SBuf::reserve() parameters. Defaults ask for and restrict nothing. More...
#include <SBuf.h>
![Collaboration graph](classSBufReservationRequirements__coll__graph.png)
Public Types | |
typedef SBuf::size_type | size_type |
Public Attributes | |
size_type | idealSpace = 0 |
if allocating anyway, provide this much space More... | |
size_type | minSpace = 0 |
allocate [at least this much] if spaceSize() is smaller More... | |
size_type | maxCapacity = SBuf::maxSize |
do not allocate more than this More... | |
bool | allowShared = true |
whether sharing our storage with others is OK More... | |
Detailed Description
Member Typedef Documentation
◆ size_type
Member Data Documentation
◆ allowShared
bool SBufReservationRequirements::allowShared = true |
Definition at line 713 of file SBuf.h.
Referenced by Server::maybeMakeSpaceAvailable(), SBuf::reserve(), and TestSBuf::testReserve().
◆ idealSpace
size_type SBufReservationRequirements::idealSpace = 0 |
Definition at line 710 of file SBuf.h.
Referenced by Server::maybeMakeSpaceAvailable(), SBuf::reserve(), and TestSBuf::testReserve().
◆ maxCapacity
size_type SBufReservationRequirements::maxCapacity = SBuf::maxSize |
Definition at line 712 of file SBuf.h.
Referenced by Server::maybeMakeSpaceAvailable(), SBuf::reserve(), and TestSBuf::testReserve().
◆ minSpace
size_type SBufReservationRequirements::minSpace = 0 |
Definition at line 711 of file SBuf.h.
Referenced by JoinContainerIntoSBuf(), Server::maybeMakeSpaceAvailable(), SBuf::reserve(), and TestSBuf::testReserve().
The documentation for this class was generated from the following file:
- src/sbuf/SBuf.h
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