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

Public Member Functions

 Utf8SymbolKey (Vector< const char > string, uint32_t seed)
 
bool IsMatch (Object *string)
 
uint32_t Hash ()
 
uint32_t HashForObject (Object *other)
 
MaybeObject * AsObject ()
 
- Public Member Functions inherited from HashTableKey
virtual ~HashTableKey ()
 

Data Fields

Vector< const char > string_
 
uint32_t hash_field_
 
int chars_
 
uint32_t seed_
 

Detailed Description

Definition at line 10847 of file objects.cc.

Constructor & Destructor Documentation

Utf8SymbolKey ( Vector< const char >  string,
uint32_t  seed 
)
inlineexplicit

Definition at line 10849 of file objects.cc.

Member Function Documentation

MaybeObject* AsObject ( )
inlinevirtual

Implements HashTableKey.

Definition at line 10871 of file objects.cc.

uint32_t Hash ( )
inlinevirtual
uint32_t HashForObject ( Object other)
inlinevirtual

Implements HashTableKey.

Definition at line 10867 of file objects.cc.

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

bool IsMatch ( Object string)
inlinevirtual

Implements HashTableKey.

Definition at line 10852 of file objects.cc.

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

Field Documentation

int chars_

Definition at line 10879 of file objects.cc.

uint32_t hash_field_

Definition at line 10878 of file objects.cc.

uint32_t seed_

Definition at line 10880 of file objects.cc.

Vector<const char> string_

Definition at line 10877 of file objects.cc.


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