v8  3.14.5(node0.10.28)
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 11085 of file objects.cc.

Constructor & Destructor Documentation

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

Definition at line 11087 of file objects.cc.

Member Function Documentation

MaybeObject* AsObject ( )
inlinevirtual
uint32_t HashForObject ( Object other)
inlinevirtual

Implements HashTableKey.

Definition at line 11105 of file objects.cc.

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

bool IsMatch ( Object string)
inlinevirtual

Implements HashTableKey.

Definition at line 11090 of file objects.cc.

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

Field Documentation

int chars_

Definition at line 11117 of file objects.cc.

Referenced by Utf8SymbolKey::AsObject(), and Utf8SymbolKey::Hash().

uint32_t hash_field_

Definition at line 11116 of file objects.cc.

Referenced by Utf8SymbolKey::AsObject(), and Utf8SymbolKey::Hash().

uint32_t seed_

Definition at line 11118 of file objects.cc.

Referenced by Utf8SymbolKey::Hash().

Vector<const char> string_

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