stub_CacheDigest.cc
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2022 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
15class CacheDigest;
17class StoreEntry;
18
19#include "CacheDigest.h"
20CacheDigest::CacheDigest(uint64_t, uint8_t) {STUB}
23void CacheDigest::clear() STUB
24void CacheDigest::updateCapacity(uint64_t) STUB
25bool CacheDigest::contains(const cache_key *) const STUB_RETVAL(false)
26void CacheDigest::add(const cache_key *) STUB
27void CacheDigest::remove(const cache_key *) STUB
28double CacheDigest::usedMaskPercent() const STUB_RETVAL(0.0)
32uint32_t CacheDigest::CalcMaskSize(uint64_t, uint8_t) STUB_RETVAL(1)
33
void cacheDigestGuessStatsReport(const CacheDigestGuessStats *stats, StoreEntry *sentry, const SBuf &label)
Definition: CacheDigest.cc:209
void cacheDigestGuessStatsUpdate(CacheDigestGuessStats *stats, int real_hit, int guess_hit)
Definition: CacheDigest.cc:191
void cacheDigestReport(CacheDigest *cd, const SBuf &label, StoreEntry *e)
Definition: CacheDigest.cc:245
#define false
Definition: GnuRegex.c:240
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define STUB_RETVAL(x)
Definition: STUB.h:41
CacheDigest(uint64_t capacity, uint8_t bpe)
Definition: CacheDigest.cc:50
CacheDigest * clone() const
produce a new identical copy of the digest object
Definition: CacheDigest.cc:68
Definition: SBuf.h:94
unsigned char cache_key
Store key.
Definition: forward.h:29

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors