Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::DirectChainedHashMap< KeyValueTrait > Class Template Reference

#include <hash_map.h>

Inheritance diagram for dart::DirectChainedHashMap< KeyValueTrait >:
dart::BaseDirectChainedHashMap< KeyValueTrait, ValueObject > dart::ValueObject dart::IntMap< VmType * > dart::IntMap< dart::LocalVariable * > dart::IntMap< dart::LocalScope * > dart::IntMap< dart::JoinEntryInstr * >

Public Member Functions

 DirectChainedHashMap ()
 
 DirectChainedHashMap (Zone *zone, intptr_t initial_size=DirectChainedHashMap::kInitialSize)
 
 DirectChainedHashMap (const DirectChainedHashMap &other)
 
- Public Member Functions inherited from dart::BaseDirectChainedHashMap< KeyValueTrait, 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< KeyValueTrait, ValueObject >
void Resize (intptr_t new_size)
 
- Protected Attributes inherited from dart::BaseDirectChainedHashMap< KeyValueTrait, 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< KeyValueTrait, ValueObject >
static constexpr intptr_t kInitialSize
 
static constexpr uint32_t kEmpty
 
static constexpr uint32_t kDeleted
 
static constexpr uint32_t kMaxPairs
 

Detailed Description

template<typename KeyValueTrait>
class dart::DirectChainedHashMap< KeyValueTrait >

Definition at line 306 of file hash_map.h.

Constructor & Destructor Documentation

◆ DirectChainedHashMap() [1/3]

template<typename KeyValueTrait >
dart::DirectChainedHashMap< KeyValueTrait >::DirectChainedHashMap ( )
inline

Definition at line 309 of file hash_map.h.

310 : BaseDirectChainedHashMap<KeyValueTrait, ValueObject>(
#define ASSERT_NOTNULL(ptr)
Definition assert.h:323
static ThreadState * Current()

◆ DirectChainedHashMap() [2/3]

template<typename KeyValueTrait >
dart::DirectChainedHashMap< KeyValueTrait >::DirectChainedHashMap ( Zone zone,
intptr_t  initial_size = DirectChainedHashMap< KeyValueTrait >::kInitialSize 
)
inlineexplicit

Definition at line 313 of file hash_map.h.

316 : BaseDirectChainedHashMap<KeyValueTrait, ValueObject>(
317 ASSERT_NOTNULL(zone),
318 initial_size) {}

◆ DirectChainedHashMap() [3/3]

template<typename KeyValueTrait >
dart::DirectChainedHashMap< KeyValueTrait >::DirectChainedHashMap ( const DirectChainedHashMap< KeyValueTrait > &  other)
inline

Definition at line 323 of file hash_map.h.

324 : BaseDirectChainedHashMap<KeyValueTrait, ValueObject>(other) {}

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