Flutter Engine
The Flutter Engine
|
#include <hash_map.h>
Public Types | |
typedef IntKeyRawPointerValueTrait< V >::Key | Key |
typedef IntKeyRawPointerValueTrait< V >::Value | Value |
typedef IntKeyRawPointerValueTrait< V >::Pair | Pair |
Public Member Functions | |
IntMap () | |
IntMap (Zone *zone) | |
void | Insert (const Key &key, const Value &value) |
V | Lookup (const Key &key) const |
Pair * | LookupPair (const Key &key) const |
Public Member Functions inherited from dart::DirectChainedHashMap< IntKeyRawPointerValueTrait< V > > | |
DirectChainedHashMap () | |
DirectChainedHashMap (Zone *zone, intptr_t initial_size=DirectChainedHashMap::kInitialSize) | |
DirectChainedHashMap (const DirectChainedHashMap &other) | |
Public Member Functions inherited from dart::BaseDirectChainedHashMap< IntKeyRawPointerValueTrait< V >, ValueObject > | |
BaseDirectChainedHashMap (Zone *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::ValueObject | |
ValueObject () | |
~ValueObject () | |
Additional Inherited Members | |
Protected Member Functions inherited from dart::BaseDirectChainedHashMap< IntKeyRawPointerValueTrait< V >, ValueObject > | |
void | Resize (intptr_t new_size) |
Protected Attributes inherited from dart::BaseDirectChainedHashMap< IntKeyRawPointerValueTrait< V >, ValueObject > | |
Zone *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< IntKeyRawPointerValueTrait< V >, ValueObject > | |
static constexpr intptr_t | kInitialSize |
static constexpr uint32_t | kEmpty |
static constexpr uint32_t | kDeleted |
static constexpr uint32_t | kMaxPairs |
Definition at line 533 of file hash_map.h.
typedef IntKeyRawPointerValueTrait<V>::Key dart::IntMap< V >::Key |
Definition at line 539 of file hash_map.h.
typedef IntKeyRawPointerValueTrait<V>::Pair dart::IntMap< V >::Pair |
Definition at line 541 of file hash_map.h.
typedef IntKeyRawPointerValueTrait<V>::Value dart::IntMap< V >::Value |
Definition at line 540 of file hash_map.h.
|
inline |
Definition at line 535 of file hash_map.h.
|
inlineexplicit |
Definition at line 536 of file hash_map.h.
|
inline |
Definition at line 543 of file hash_map.h.
|
inline |
Definition at line 548 of file hash_map.h.
|
inline |
Definition at line 558 of file hash_map.h.