stub_CacheDigest.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2025 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #include "squid.h"
10 #include "store_key_md5.h"
11 
12 #define STUB_API "CacheDigest.cc"
13 #include "tests/STUB.h"
14 
15 class CacheDigest;
17 class StoreEntry;
18 
19 #include "CacheDigest.h"
20 CacheDigest::CacheDigest(uint64_t, uint8_t) {STUB}
23 void CacheDigest::clear() STUB
24 void CacheDigest::updateCapacity(uint64_t) STUB
25 bool CacheDigest::contains(const cache_key *) const STUB_RETVAL(false)
26 void CacheDigest::add(const cache_key *) STUB
27 void CacheDigest::remove(const cache_key *) STUB
28 double CacheDigest::usedMaskPercent() const STUB_RETVAL(0.0)
32 uint32_t CacheDigest::CalcMaskSize(uint64_t, uint8_t) STUB_RETVAL(1)
33 
unsigned char cache_key
Store key.
Definition: forward.h:29
#define STUB_RETVAL(x)
Definition: STUB.h:42
Definition: SBuf.h:93
void cacheDigestGuessStatsReport(const CacheDigestGuessStats *stats, StoreEntry *sentry, const SBuf &label)
Definition: CacheDigest.cc:209
CacheDigest * clone() const
produce a new identical copy of the digest object
Definition: CacheDigest.cc:68
void cacheDigestReport(CacheDigest *cd, const SBuf &label, StoreEntry *e)
Definition: CacheDigest.cc:245
void cacheDigestGuessStatsUpdate(CacheDigestGuessStats *stats, int real_hit, int guess_hit)
Definition: CacheDigest.cc:191
#define STUB
macro to stub a void function.
Definition: STUB.h:34
CacheDigest(uint64_t capacity, uint8_t bpe)
Definition: CacheDigest.cc:50

 

Introduction

Documentation

Support

Miscellaneous