Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::ZoneCStringSet Class Reference

#include <hash_map.h>

Inheritance diagram for dart::ZoneCStringSet:
dart::BaseCStringSet< ZoneAllocated, Zone > dart::BaseDirectChainedHashMap< KeyValueTrait, B, Allocator > B A

Public Member Functions

 ZoneCStringSet ()
 
 ZoneCStringSet (Zone *zone)
 
- Public Member Functions inherited from dart::BaseCStringSet< ZoneAllocated, Zone >
 BaseCStringSet (Zone *allocator)
 
- Public Member Functions inherited from dart::BaseDirectChainedHashMap< KeyValueTrait, B, Allocator >
 BaseDirectChainedHashMap (Allocator *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 B
 B ()
 
void setValues (int v) override
 
bool checkValues (int v) override
 
- Public Member Functions inherited from A
 A ()
 
virtual ~A ()
 
void * operator new (size_t size)
 
void operator delete (void *p)
 

Additional Inherited Members

- Static Public Member Functions inherited from A
static ACreate (SkRandom *r)
 
static void SetAllocator (size_t preallocSize, size_t minAllocSize)
 
static void ResetAllocator ()
 
static void ValidatePool ()
 
- Protected Member Functions inherited from dart::BaseDirectChainedHashMap< KeyValueTrait, B, Allocator >
void Resize (intptr_t new_size)
 
- Protected Attributes inherited from dart::BaseDirectChainedHashMap< KeyValueTrait, B, Allocator >
Allocator *const allocator_
 
uint32_t * hash_table_ = nullptr
 
KeyValueTrait::Pair * pairs_ = nullptr
 
uint32_t hash_table_size_ = 0
 
uint32_t pairs_size_ = 0
 
uint32_t next_pair_index_ = 0
 
uint32_t deleted_count_ = 0
 
- Static Protected Attributes inherited from dart::BaseDirectChainedHashMap< KeyValueTrait, B, Allocator >
static constexpr intptr_t kInitialSize = 16
 
static constexpr uint32_t kEmpty = kMaxUint32
 
static constexpr uint32_t kDeleted = kMaxUint32 - 1
 
static constexpr uint32_t kMaxPairs = kMaxUint32 - 2
 

Detailed Description

Definition at line 448 of file hash_map.h.

Constructor & Destructor Documentation

◆ ZoneCStringSet() [1/2]

dart::ZoneCStringSet::ZoneCStringSet ( )
inline

Definition at line 450 of file hash_map.h.

451 : BaseCStringSet<ZoneAllocated, Zone>(ThreadState::Current()->zone()) {}
static ThreadState * Current()

◆ ZoneCStringSet() [2/2]

dart::ZoneCStringSet::ZoneCStringSet ( Zone zone)
inlineexplicit

Definition at line 452 of file hash_map.h.

453 : BaseCStringSet<ZoneAllocated, Zone>(zone) {}

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