v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::CustomMatcherTemplateHashMapImpl< AllocationPolicy > Class Template Reference

#include <hashmap.h>

Inheritance diagram for v8::base::CustomMatcherTemplateHashMapImpl< AllocationPolicy >:
Collaboration diagram for v8::base::CustomMatcherTemplateHashMapImpl< AllocationPolicy >:

Public Types

using MatchFun = bool (*)(void*, void*)
 
- Public Types inherited from v8::base::TemplateHashMapImpl< void *, void *, HashEqualityThenKeyMatcher< void *, bool(*)(void *, void *)>, AllocationPolicy >
using Entry
 

Public Member Functions

 CustomMatcherTemplateHashMapImpl (MatchFun match, uint32_t capacity=Base::kDefaultHashMapCapacity, AllocationPolicy allocator=AllocationPolicy())
 
 CustomMatcherTemplateHashMapImpl (const CustomMatcherTemplateHashMapImpl *original, AllocationPolicy allocator=AllocationPolicy())
 
 CustomMatcherTemplateHashMapImpl (const CustomMatcherTemplateHashMapImpl &)=delete
 
CustomMatcherTemplateHashMapImploperator= (const CustomMatcherTemplateHashMapImpl &)=delete
 
- Public Member Functions inherited from v8::base::TemplateHashMapImpl< void *, void *, HashEqualityThenKeyMatcher< void *, bool(*)(void *, void *)>, AllocationPolicy >
 TemplateHashMapImpl (uint32_t capacity=kDefaultHashMapCapacity, HashEqualityThenKeyMatcher< void *, bool(*)(void *, void *)> match=HashEqualityThenKeyMatcher< void *, bool(*)(void *, void *)>(), AllocationPolicy allocator=AllocationPolicy())
 
 TemplateHashMapImpl (const TemplateHashMapImpl &)=delete
 
 TemplateHashMapImpl (const TemplateHashMapImpl *original, AllocationPolicy allocator=AllocationPolicy())
 
 TemplateHashMapImpl (TemplateHashMapImpl &&other) V8_NOEXCEPT=default
 
TemplateHashMapImploperator= (const TemplateHashMapImpl &)=delete
 
TemplateHashMapImploperator= (TemplateHashMapImpl &&other) V8_NOEXCEPT=default
 
 ~TemplateHashMapImpl ()
 
EntryLookup (const void *&key, uint32_t hash) const
 
EntryLookupOrInsert (const void *&key, uint32_t hash)
 
EntryLookupOrInsert (const void *&key, uint32_t hash, const Func &value_func)
 
EntryLookupOrInsert (const LookupKey &lookup_key, uint32_t hash, const KeyFunc &key_func, const ValueFunc &value_func)
 
EntryInsertNew (const void *&key, uint32_t hash)
 
void * Remove (const void *&key, uint32_t hash)
 
void Clear ()
 
void Invalidate ()
 
uint32_t occupancy () const
 
uint32_t capacity () const
 
EntryStart () const
 
EntryNext (Entry *entry) const
 
AllocationPolicy allocator () const
 

Private Types

using Base
 

Additional Inherited Members

- Static Public Attributes inherited from v8::base::TemplateHashMapImpl< void *, void *, HashEqualityThenKeyMatcher< void *, bool(*)(void *, void *)>, AllocationPolicy >
static const uint32_t kDefaultHashMapCapacity
 
- Protected Member Functions inherited from v8::base::TemplateHashMapImpl< void *, void *, HashEqualityThenKeyMatcher< void *, bool(*)(void *, void *)>, AllocationPolicy >
void Initialize (uint32_t capacity)
 

Detailed Description

template<typename AllocationPolicy>
class v8::base::CustomMatcherTemplateHashMapImpl< AllocationPolicy >

Definition at line 451 of file hashmap.h.

Member Typedef Documentation

◆ Base

template<typename AllocationPolicy >
using v8::base::CustomMatcherTemplateHashMapImpl< AllocationPolicy >::Base
private
Initial value:
void*, void*, HashEqualityThenKeyMatcher<void*, bool (*)(void*, void*)>,
AllocationPolicy>
TemplateHashMapImpl(uint32_t capacity=kDefaultHashMapCapacity, HashEqualityThenKeyMatcher< void *, bool(*)(void *, void *)> match=HashEqualityThenKeyMatcher< void *, bool(*)(void *, void *)>(), AllocationPolicy allocator=AllocationPolicy())
Definition hashmap.h:186

Definition at line 456 of file hashmap.h.

◆ MatchFun

template<typename AllocationPolicy >
using v8::base::CustomMatcherTemplateHashMapImpl< AllocationPolicy >::MatchFun = bool (*)(void*, void*)

Definition at line 461 of file hashmap.h.

Constructor & Destructor Documentation

◆ CustomMatcherTemplateHashMapImpl() [1/3]

template<typename AllocationPolicy >
v8::base::CustomMatcherTemplateHashMapImpl< AllocationPolicy >::CustomMatcherTemplateHashMapImpl ( MatchFun match,
uint32_t capacity = Base::kDefaultHashMapCapacity,
AllocationPolicy allocator = AllocationPolicy() )
inlineexplicit

Definition at line 463 of file hashmap.h.

◆ CustomMatcherTemplateHashMapImpl() [2/3]

template<typename AllocationPolicy >
v8::base::CustomMatcherTemplateHashMapImpl< AllocationPolicy >::CustomMatcherTemplateHashMapImpl ( const CustomMatcherTemplateHashMapImpl< AllocationPolicy > * original,
AllocationPolicy allocator = AllocationPolicy() )
inlineexplicit

Definition at line 469 of file hashmap.h.

◆ CustomMatcherTemplateHashMapImpl() [3/3]

template<typename AllocationPolicy >
v8::base::CustomMatcherTemplateHashMapImpl< AllocationPolicy >::CustomMatcherTemplateHashMapImpl ( const CustomMatcherTemplateHashMapImpl< AllocationPolicy > & )
delete

Member Function Documentation

◆ operator=()

template<typename AllocationPolicy >
CustomMatcherTemplateHashMapImpl & v8::base::CustomMatcherTemplateHashMapImpl< AllocationPolicy >::operator= ( const CustomMatcherTemplateHashMapImpl< AllocationPolicy > & )
delete

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