V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::StringHasher Class Reference
Inheritance diagram for v8::internal::StringHasher:
v8::internal::IteratingStringHasher

Public Member Functions

 StringHasher (int length, uint64_t seed)
 
template<typename Char >
uint32_t ComputeRunningHash (uint32_t running_hash, const Char *chars, int length)
 

Static Public Member Functions

template<typename schar >
static uint32_t HashSequentialString (const schar *chars, int length, uint64_t seed)
 
static uint32_t ComputeUtf8Hash (Vector< const char > chars, uint64_t seed, int *utf16_length_out)
 
static uint32_t MakeArrayIndexHash (uint32_t value, int length)
 
static V8_INLINE uint32_t AddCharacterCore (uint32_t running_hash, uint16_t c)
 
static V8_INLINE uint32_t GetHashCore (uint32_t running_hash)
 
template<typename Char >
static V8_INLINE uint32_t ComputeRunningHash (uint32_t running_hash, const Char *chars, int length)
 

Static Public Attributes

static const int kZeroHash = 27
 

Protected Member Functions

uint32_t GetHashField ()
 
bool has_trivial_hash ()
 
template<typename Char >
void AddCharacters (const Char *chars, int len)
 

Detailed Description

Definition at line 19 of file string-hasher.h.


The documentation for this class was generated from the following files: