#include <objects.h>
Public メソッド | |
StringHasher (int length) | |
bool | has_trivial_hash () |
void | AddCharacter (uc32 c) |
void | AddCharacterNoIndex (uc32 c) |
uint32_t | GetHashField () |
bool | is_array_index () |
bool | is_valid () |
void | invalidate () |
Private メソッド | |
uint32_t | array_index () |
uint32_t | GetHash () |
Private 変数 | |
int | length_ |
uint32_t | raw_running_hash_ |
uint32_t | array_index_ |
bool | is_array_index_ |
bool | is_first_char_ |
bool | is_valid_ |
v8::internal::StringHasher::StringHasher | ( | int | length | ) | [inline] |
objects-inl.h の 2199 行で定義されています。
void v8::internal::StringHasher::AddCharacter | ( | uc32 | c | ) | [inline] |
void v8::internal::StringHasher::AddCharacterNoIndex | ( | uc32 | c | ) | [inline] |
objects-inl.h の 2242 行で定義されています。
参照先 ASSERT, is_array_index(), と raw_running_hash_.
参照元 v8::internal::Heap::AllocateSubString(), と v8::internal::String::ComputeLengthAndHashField().
uint32_t v8::internal::StringHasher::array_index | ( | ) | [inline, private] |
uint32_t v8::internal::StringHasher::GetHash | ( | ) | [inline, private] |
uint32_t v8::internal::StringHasher::GetHashField | ( | ) |
objects.cc の 3962 行で定義されています。
参照先 array_index(), ASSERT, GetHash(), v8::internal::HashField(), is_array_index(), is_valid(), v8::internal::String::kMaxMediumStringSize, v8::internal::String::kMaxShortStringSize, v8::internal::String::kMediumLengthShift, v8::internal::String::kShortLengthShift, と length_.
参照元 v8::internal::Heap::AllocateSubString(), と v8::internal::String::ComputeLengthAndHashField().
bool v8::internal::StringHasher::has_trivial_hash | ( | ) | [inline] |
objects-inl.h の 2208 行で定義されています。
void v8::internal::StringHasher::invalidate | ( | ) | [inline] |
bool v8::internal::StringHasher::is_array_index | ( | ) | [inline] |
bool v8::internal::StringHasher::is_valid | ( | ) | [inline] |
uint32_t v8::internal::StringHasher::array_index_ [private] |
参照元 AddCharacter(), と array_index().
bool v8::internal::StringHasher::is_array_index_ [private] |
参照元 AddCharacter(), と is_array_index().
bool v8::internal::StringHasher::is_first_char_ [private] |
参照元 AddCharacter().
bool v8::internal::StringHasher::is_valid_ [private] |
参照元 invalidate(), と is_valid().
int v8::internal::StringHasher::length_ [private] |
uint32_t v8::internal::StringHasher::raw_running_hash_ [private] |
参照元 AddCharacter(), AddCharacterNoIndex(), と GetHash().