maintains a 24-bit checksum over integer fields More...
#include <StoreSwapLogData.h>
![Collaboration graph](classSwapChecksum24__coll__graph.png)
Public Member Functions | |
SwapChecksum24 () | |
bool | operator== (const SwapChecksum24 &o) const |
bool | operator!= (const SwapChecksum24 &o) const |
void | set (uint32_t f1, uint32_t f2, uint32_t f3) |
compute and store checksum based on three 32bit integers More... | |
void | set (int32_t f1, uint64_t f2) |
compute and store checksum based on int32_t and uint64_t integers More... | |
std::ostream & | print (std::ostream &os) const |
Private Attributes | |
uint8_t | raw [3] |
Detailed Description
Definition at line 40 of file StoreSwapLogData.h.
Constructor & Destructor Documentation
◆ SwapChecksum24()
|
inline |
Definition at line 43 of file StoreSwapLogData.h.
References raw.
Member Function Documentation
◆ operator!=()
|
inline |
Definition at line 49 of file StoreSwapLogData.h.
◆ operator==()
|
inline |
Definition at line 45 of file StoreSwapLogData.h.
References raw.
◆ print()
std::ostream & SwapChecksum24::print | ( | std::ostream & | os | ) | const |
◆ set() [1/2]
void SwapChecksum24::set | ( | int32_t | f1, |
uint64_t | f2 | ||
) |
Same as 3-argument SwapChecksum24::set() but for int32_t and uint64_t.
Definition at line 38 of file StoreSwapLogData.cc.
References set().
◆ set() [2/2]
void SwapChecksum24::set | ( | uint32_t | f1, |
uint32_t | f2, | ||
uint32_t | f3 | ||
) |
Definition at line 20 of file StoreSwapLogData.cc.
References raw.
Referenced by StoreSwapLogData::finalize(), StoreSwapLogData::sane(), StoreSwapLogHeader::sane(), set(), and StoreSwapLogHeader::StoreSwapLogHeader().
Member Data Documentation
◆ raw
|
private |
Definition at line 63 of file StoreSwapLogData.h.
Referenced by operator==(), print(), set(), and SwapChecksum24().
The documentation for this class was generated from the following files:
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