v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TwoCharHashTableKey Class Reference
Inheritance diagram for TwoCharHashTableKey:
Collaboration diagram for TwoCharHashTableKey:

Public Member Functions

 TwoCharHashTableKey (uint16_t c1, uint16_t c2, uint32_t seed)
 
bool IsMatch (Object *o)
 
uint32_t Hash ()
 
uint32_t HashForObject (Object *key)
 
ObjectAsObject (Heap *heap)
 
- Public Member Functions inherited from HashTableKey
virtual ~HashTableKey ()
 

Detailed Description

Definition at line 14786 of file objects.cc.

Constructor & Destructor Documentation

TwoCharHashTableKey ( uint16_t  c1,
uint16_t  c2,
uint32_t  seed 
)
inline

Member Function Documentation

Object* AsObject ( Heap heap)
inlinevirtual

Implements HashTableKey.

Definition at line 14831 of file objects.cc.

References v8::internal::NULL, and UNREACHABLE.

uint32_t Hash ( )
inlinevirtual

Implements HashTableKey.

Definition at line 14825 of file objects.cc.

uint32_t HashForObject ( Object key)
inlinevirtual

Implements HashTableKey.

Definition at line 14826 of file objects.cc.

References String::cast(), and Name::Hash().

bool IsMatch ( Object o)
inlinevirtual

Implements HashTableKey.

Definition at line 14817 of file objects.cc.

References String::cast(), and String::length().


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