v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <splay-tree.h>
Data Structures | |
class | BASE_EMBEDDED |
class | Node |
Public Types | |
typedef Config::Key | Key |
typedef Config::Value | Value |
Public Member Functions | |
SplayTree (AllocationPolicy allocator=AllocationPolicy()) | |
~SplayTree () | |
INLINE (void *operator new(size_t size, AllocationPolicy allocator=AllocationPolicy())) | |
INLINE (void operator delete(void *p)) | |
INLINE (void operator delete(void *p, AllocationPolicy policy)) | |
bool | Insert (const Key &key, Locator *locator) |
bool | Find (const Key &key, Locator *locator) |
bool | FindGreatestLessThan (const Key &key, Locator *locator) |
bool | FindGreatest (Locator *locator) |
bool | FindLeastGreaterThan (const Key &key, Locator *locator) |
bool | FindLeast (Locator *locator) |
bool | Move (const Key &old_key, const Key &new_key) |
bool | Remove (const Key &key) |
bool | is_empty () |
void | Splay (const Key &key) |
template<class Callback > | |
void | ForEach (Callback *callback) |
Protected Member Functions | |
void | ResetRoot () |
Definition at line 54 of file splay-tree.h.
typedef Config::Key Key |
Definition at line 56 of file splay-tree.h.
typedef Config::Value Value |
Definition at line 57 of file splay-tree.h.
|
inline |
Definition at line 61 of file splay-tree.h.
~SplayTree | ( | ) |
Definition at line 38 of file splay-tree-inl.h.
bool Find | ( | const Key & | key, |
Locator * | locator | ||
) |
Definition at line 94 of file splay-tree-inl.h.
Referenced by CodeMap::GetSharedId(), and CodeMap::MoveCode().
bool FindGreatest | ( | Locator * | locator | ) |
Definition at line 153 of file splay-tree-inl.h.
References v8::internal::NULL.
bool FindGreatestLessThan | ( | const Key & | key, |
Locator * | locator | ||
) |
Definition at line 105 of file splay-tree-inl.h.
References v8::internal::Compare().
Referenced by CodeMap::FindEntry().
bool FindLeast | ( | Locator * | locator | ) |
Definition at line 165 of file splay-tree-inl.h.
References v8::internal::NULL.
bool FindLeastGreaterThan | ( | const Key & | key, |
Locator * | locator | ||
) |
Definition at line 129 of file splay-tree-inl.h.
References v8::internal::Compare().
void ForEach | ( | Callback * | callback | ) |
Definition at line 288 of file splay-tree-inl.h.
Referenced by CodeMap::Print().
|
inline |
Definition at line 65 of file splay-tree.h.
|
inline |
Definition at line 69 of file splay-tree.h.
|
inline |
Definition at line 73 of file splay-tree.h.
bool Insert | ( | const Key & | key, |
Locator * | locator | ||
) |
Definition at line 45 of file splay-tree-inl.h.
References v8::internal::Compare().
Referenced by CodeMap::AddCode(), and CodeMap::GetSharedId().
|
inline |
Definition at line 107 of file splay-tree.h.
Definition at line 177 of file splay-tree-inl.h.
References v8::internal::Compare().
bool Remove | ( | const Key & | key | ) |
Definition at line 197 of file splay-tree-inl.h.
Referenced by CodeMap::MoveCode().
|
inlineprotected |
Definition at line 169 of file splay-tree.h.
Referenced by ZoneSplayTree< Config >::~ZoneSplayTree().
void Splay | ( | const Key & | key | ) |
Definition at line 227 of file splay-tree-inl.h.
References v8::internal::Compare(), and v8::internal::NULL.