Here.cc File Reference
#include "squid.h"
#include "base/Here.h"
#include <iostream>
Include dependency graph for Here.cc:

Go to the source code of this file.

Functions

static size_t BuildPrefixLength ()
 
static const char * SkipBuildPrefix (const char *path)
 
static SourceLocationId FileNameHash (const char *path)
 quickly computes a (weak) hash of a file name More...
 

Function Documentation

static size_t BuildPrefixLength ( )
static
Returns
the build prefix length or, if estimation is not possible, zero

Definition at line 21 of file Here.cc.

Referenced by SkipBuildPrefix().

static SourceLocationId FileNameHash ( const char *  path)
static

Definition at line 44 of file Here.cc.

References hash.

Referenced by SourceLocation::id().

static const char* SkipBuildPrefix ( const char *  path)
static
Returns
filename portion without the build prefix

Definition at line 36 of file Here.cc.

References BuildPrefixLength().

Referenced by SourceLocation::print().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors