Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions | Variables
rolling_hash.h File Reference
#include <cstddef>
#include "base/logging.h"
#include "pagespeed/kernel/base/basictypes.h"

Go to the source code of this file.

Namespaces

 net_instaweb
 Unit-test framework for wget fetcher.
 

Functions

uint64 net_instaweb::RollingHash (const char *buf, size_t start, size_t n)
 Compute the rolling hash of buf[start : start + n - 1].
 
uint64 net_instaweb::NextRollingHash (const char *buf, size_t start, size_t n, uint64 prev)
 

Variables

const uint64 net_instaweb::kRollingHashCharTable [256]
 Per character hash values. Exported for use in NextRollingHash. More...