stub_CacheDigest.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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;
16 class CacheDigestGuessStats;
17 class StoreEntry;
18 
19 #include "CacheDigest.h"
20 CacheDigest::CacheDigest(uint64_t, uint8_t) {STUB}
22 CacheDigest *CacheDigest::clone() const STUB_RETVAL(nullptr)
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)
29 void cacheDigestGuessStatsUpdate(CacheDigestGuessStats *, int, int) STUB
30 void cacheDigestGuessStatsReport(const CacheDigestGuessStats *, StoreEntry *, const char *) STUB
31 void cacheDigestReport(CacheDigest *, const char *, StoreEntry *) STUB
32 uint32_t CacheDigest::CalcMaskSize(uint64_t, uint8_t) STUB_RETVAL(1)
33 
unsigned char cache_key
Store key.
Definition: forward.h:29
void cacheDigestReport(CacheDigest *cd, const char *label, StoreEntry *e)
Definition: CacheDigest.cc:256
void cacheDigestGuessStatsReport(const CacheDigestGuessStats *stats, StoreEntry *sentry, const char *label)
Definition: CacheDigest.cc:220
#define STUB_RETVAL(x)
Definition: STUB.h:41
CacheDigest(uint64_t capacity, uint8_t bpe)
Definition: CacheDigest.cc:50
#define STUB
macro to stub a void function.
Definition: STUB.h:33
void cacheDigestGuessStatsUpdate(CacheDigestGuessStats *stats, int real_hit, int guess_hit)
Definition: CacheDigest.cc:202
CacheDigest * clone() const
produce a new identical copy of the digest object
Definition: CacheDigest.cc:68
#define false
Definition: GnuRegex.c:233

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors