v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <objects-inl.h>
Public Member Functions | |
Utf8StringKey (Vector< const char > string, uint32_t seed) | |
virtual bool | IsMatch (Object *string) |
virtual uint32_t | Hash () |
virtual uint32_t | HashForObject (Object *other) |
virtual MaybeObject * | AsObject (Heap *heap) |
Public Member Functions inherited from HashTableKey | |
virtual | ~HashTableKey () |
Data Fields | |
Vector< const char > | string_ |
uint32_t | hash_field_ |
int | chars_ |
uint32_t | seed_ |
Definition at line 562 of file objects-inl.h.
|
inlineexplicit |
Definition at line 564 of file objects-inl.h.
|
inlinevirtual |
Implements HashTableKey.
Definition at line 583 of file objects-inl.h.
References Heap::AllocateInternalizedStringFromUtf8(), Utf8StringKey::chars_, Utf8StringKey::Hash(), Utf8StringKey::hash_field_, and Utf8StringKey::string_.
|
inlinevirtual |
Implements HashTableKey.
Definition at line 571 of file objects-inl.h.
References ASSERT, Utf8StringKey::chars_, StringHasher::ComputeUtf8Hash(), Utf8StringKey::hash_field_, Name::kHashShift, Utf8StringKey::seed_, and Utf8StringKey::string_.
Referenced by Utf8StringKey::AsObject().
|
inlinevirtual |
Implements HashTableKey.
Definition at line 579 of file objects-inl.h.
References String::cast(), and Name::Hash().
|
inlinevirtual |
Implements HashTableKey.
Definition at line 567 of file objects-inl.h.
References String::cast(), String::IsUtf8EqualTo(), and Utf8StringKey::string_.
int chars_ |
Definition at line 592 of file objects-inl.h.
Referenced by Utf8StringKey::AsObject(), and Utf8StringKey::Hash().
uint32_t hash_field_ |
Definition at line 591 of file objects-inl.h.
Referenced by Utf8StringKey::AsObject(), and Utf8StringKey::Hash().
uint32_t seed_ |
Definition at line 593 of file objects-inl.h.
Referenced by Utf8StringKey::Hash().
Vector<const char> string_ |
Definition at line 590 of file objects-inl.h.
Referenced by Utf8StringKey::AsObject(), Utf8StringKey::Hash(), and Utf8StringKey::IsMatch().