|
Squid Web Cache v8/master
|
#include <iosfwd>Go to the source code of this file.
Classes | |
| class | SourceLocation |
| a source code location that is cheap to create, copy, and store More... | |
Macros | |
| #define | Here() SourceLocation(__func__, __FILE__, __LINE__) |
| source code location of the caller | |
Typedefs | |
| typedef uint32_t | SourceLocationId |
| semi-uniquely identifies a source code location; stable across Squid runs | |
| typedef SourceLocationId | FileNameHasher(const char *fileName) |
| returns a hash of a file name | |
| typedef SourceLocationId | FileNameHashCacher(const char *fileName, FileNameHasher hasher) |
a caching proxy for hasher results | |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const SourceLocation &location) |
| static SourceLocationId | UnitFileNameHashCacher (const char *fileName, FileNameHasher hasher) |
Variables | |
| static FileNameHashCacher | UnitFileNameHashCacher |
| #define Here | ( | ) | SourceLocation(__func__, __FILE__, __LINE__) |
| typedef SourceLocationId FileNameHashCacher(const char *fileName, FileNameHasher hasher) |
| typedef SourceLocationId FileNameHasher(const char *fileName) |
| typedef uint32_t SourceLocationId |
|
inline |
Definition at line 54 of file Here.h.
References SourceLocation::print().
|
static |
SourceLocation::id() speed optimization hack: Caches hasher results. The cache capacity is one filename hash. Each translation unit gets one cache.
|
static |