v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::StringHasher Class Referencefinal

#include <string-hasher.h>

Collaboration diagram for v8::internal::StringHasher:

Public Member Functions

 StringHasher ()=delete
 

Static Public Member Functions

template<typename char_t >
static uint32_t HashSequentialString (const char_t *chars, uint32_t length, uint64_t seed)
 
static V8_INLINE uint32_t MakeArrayIndexHash (uint32_t value, uint32_t length)
 
static V8_INLINE uint32_t GetTrivialHash (uint32_t length)
 

Static Public Attributes

static const int kZeroHash = 27
 

Detailed Description

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

Constructor & Destructor Documentation

◆ StringHasher()

v8::internal::StringHasher::StringHasher ( )
delete

Member Function Documentation

◆ GetTrivialHash()

uint32_t v8::internal::StringHasher::GetTrivialHash ( uint32_t length)
static

Definition at line 90 of file string-hasher-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HashSequentialString()

template<typename char_t >
uint32_t v8::internal::StringHasher::HashSequentialString ( const char_t * chars,
uint32_t length,
uint64_t seed )
inlinestatic

Definition at line 223 of file string-hasher-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MakeArrayIndexHash()

uint32_t v8::internal::StringHasher::MakeArrayIndexHash ( uint32_t value,
uint32_t length )
static

Definition at line 100 of file string-hasher-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ kZeroHash

const int v8::internal::StringHasher::kZeroHash = 27
static

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


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