Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::BaseCStringSet< B, Allocator > Class Template Reference

#include <hash_map.h>

Inheritance diagram for dart::BaseCStringSet< B, Allocator >:
dart::BaseDirectChainedHashMap< CStringSetKeyValueTrait, B, Allocator > B A

Public Member Functions

 BaseCStringSet (Allocator *allocator)
 
- Public Member Functions inherited from dart::BaseDirectChainedHashMap< CStringSetKeyValueTrait, 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< CStringSetKeyValueTrait, B, Allocator >
void Resize (intptr_t new_size)
 
- Protected Attributes inherited from dart::BaseDirectChainedHashMap< CStringSetKeyValueTrait, B, Allocator >
Allocator *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< CStringSetKeyValueTrait, B, Allocator >
static constexpr intptr_t kInitialSize
 
static constexpr uint32_t kEmpty
 
static constexpr uint32_t kDeleted
 
static constexpr uint32_t kMaxPairs
 

Detailed Description

template<typename B, typename Allocator>
class dart::BaseCStringSet< B, Allocator >

Definition at line 437 of file hash_map.h.

Constructor & Destructor Documentation

◆ BaseCStringSet()

template<typename B , typename Allocator >
dart::BaseCStringSet< B, Allocator >::BaseCStringSet ( Allocator allocator)
inlineexplicit

Definition at line 440 of file hash_map.h.

441 : BaseDirectChainedHashMap<CStringSetKeyValueTrait, B, Allocator>(
442 allocator) {}

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