v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
void | VisitOneByteString (const uint8_t *chars, unsigned length) |
void | VisitTwoByteString (const uint16_t *chars, unsigned length) |
Public Member Functions inherited from StringHasher | |
StringHasher (int length, uint32_t seed) | |
INLINE (static uint32_t AddCharacterCore(uint32_t running_hash, uint16_t c)) | |
INLINE (static uint32_t GetHashCore(uint32_t running_hash)) | |
Static Public Member Functions | |
static uint32_t | Hash (String *string, uint32_t seed) |
Static Public Member Functions inherited from StringHasher | |
template<typename schar > | |
static uint32_t | HashSequentialString (const schar *chars, int length, uint32_t seed) |
static uint32_t | ComputeUtf8Hash (Vector< const char > chars, uint32_t seed, int *utf16_length_out) |
static uint32_t | MakeArrayIndexHash (uint32_t value, int length) |
Additional Inherited Members | |
Static Public Attributes inherited from StringHasher | |
static const int | kZeroHash = 27 |
Protected Member Functions inherited from StringHasher | |
uint32_t | GetHashField () |
bool | has_trivial_hash () |
template<typename Char > | |
void | AddCharacters (const Char *chars, int len) |
Definition at line 9033 of file objects.cc.
|
inlinestatic |
Definition at line 9035 of file objects.cc.
References ASSERT, StringHasher::GetHashField(), StringHasher::has_trivial_hash(), v8::internal::NULL, ConsStringIteratorOp::Operate(), and String::Visit().
|
inline |
Definition at line 9065 of file objects.cc.
References StringHasher::AddCharacters().
|
inline |
Definition at line 9069 of file objects.cc.
References StringHasher::AddCharacters().