![]() |
V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
|
Public Types | |
typedef bool(* | MatchFun) (void *, void *) |
![]() | |
typedef TemplateHashMapEntry< void *, void * > | Entry |
Public Member Functions | |
CustomMatcherTemplateHashMapImpl (MatchFun match, uint32_t capacity=Base::kDefaultHashMapCapacity, AllocationPolicy allocator=AllocationPolicy()) | |
CustomMatcherTemplateHashMapImpl (const CustomMatcherTemplateHashMapImpl< AllocationPolicy > *original, AllocationPolicy allocator=AllocationPolicy()) | |
![]() | |
TemplateHashMapImpl (uint32_t capacity=kDefaultHashMapCapacity, HashEqualityThenKeyMatcher< void *, bool(*)(void *, void *)> match=HashEqualityThenKeyMatcher< void *, bool(*)(void *, void *)>(), AllocationPolicy allocator=AllocationPolicy()) | |
TemplateHashMapImpl (const TemplateHashMapImpl< void *, void *, HashEqualityThenKeyMatcher< void *, bool(*)(void *, void *)>, AllocationPolicy > *original, AllocationPolicy allocator=AllocationPolicy()) | |
Entry * | Lookup (const void * &key, uint32_t hash) const |
Entry * | LookupOrInsert (const void * &key, uint32_t hash, AllocationPolicy allocator=AllocationPolicy()) |
Entry * | LookupOrInsert (const void * &key, uint32_t hash, const Func &value_func, AllocationPolicy allocator=AllocationPolicy()) |
Entry * | InsertNew (const void * &key, uint32_t hash, AllocationPolicy allocator=AllocationPolicy()) |
void * | Remove (const void * &key, uint32_t hash) |
void | Clear () |
void | Invalidate () |
uint32_t | occupancy () const |
uint32_t | capacity () const |
Entry * | Start () const |
Entry * | Next (Entry *entry) const |
void | Reset (AllocationPolicy allocator) |
Additional Inherited Members | |
![]() | |
static const uint32_t | kDefaultHashMapCapacity |
![]() | |
void | Initialize (uint32_t capacity, AllocationPolicy allocator) |