Flutter Engine
The Flutter Engine
|
#include <hash_map.h>
Public Member Functions | |
MallocDirectChainedHashMap (intptr_t initial_size=MallocDirectChainedHashMap::kInitialSize) | |
MallocDirectChainedHashMap (const MallocDirectChainedHashMap &other) | |
Public Member Functions inherited from dart::BaseDirectChainedHashMap< KeyValueTrait, MallocAllocated, Malloc > | |
BaseDirectChainedHashMap (Malloc *allocator, intptr_t initial_size=kInitialSize) | |
BaseDirectChainedHashMap (const BaseDirectChainedHashMap &other) | |
intptr_t | Length () const |
~BaseDirectChainedHashMap () | |
void | Insert (typename KeyValueTrait::Pair kv) |
bool | Remove (typename KeyValueTrait::Key key) |
void | Update (typename KeyValueTrait::Pair kv) |
KeyValueTrait::Value | LookupValue (typename KeyValueTrait::Key key) const |
KeyValueTrait::Pair * | Lookup (typename KeyValueTrait::Key key) const |
bool | HasKey (typename KeyValueTrait::Key key) const |
intptr_t | Size () const |
bool | IsEmpty () const |
void | Clear () |
Iterator | GetIterator () const |
Public Member Functions inherited from dart::MallocAllocated | |
MallocAllocated () | |
void * | operator new (size_t size) |
void * | operator new[] (size_t size) |
void | operator delete (void *pointer) |
void | operator delete[] (void *pointer) |
Additional Inherited Members | |
Protected Member Functions inherited from dart::BaseDirectChainedHashMap< KeyValueTrait, MallocAllocated, Malloc > | |
void | Resize (intptr_t new_size) |
Protected Attributes inherited from dart::BaseDirectChainedHashMap< KeyValueTrait, MallocAllocated, Malloc > | |
Malloc *const | allocator_ |
uint32_t * | hash_table_ |
KeyValueTrait::Pair * | pairs_ |
uint32_t | hash_table_size_ |
uint32_t | pairs_size_ |
uint32_t | next_pair_index_ |
uint32_t | deleted_count_ |
Static Protected Attributes inherited from dart::BaseDirectChainedHashMap< KeyValueTrait, MallocAllocated, Malloc > | |
static constexpr intptr_t | kInitialSize |
static constexpr uint32_t | kEmpty |
static constexpr uint32_t | kDeleted |
static constexpr uint32_t | kMaxPairs |
Definition at line 331 of file hash_map.h.
|
inline |
Definition at line 334 of file hash_map.h.
|
inline |
Definition at line 342 of file hash_map.h.