v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl Struct Reference
Inheritance diagram for v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl:
Collaboration diagram for v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl:

Public Member Functions

 Impl (MatchFun match, AllocationPolicy allocator)
 
 Impl ()=default
 
 Impl (const Impl &) V8_NOEXCEPT=default
 
 Impl (Impl &&other) V8_NOEXCEPT
 
Imploperator= (const Impl &other) V8_NOEXCEPT=default
 
Imploperator= (Impl &&other) V8_NOEXCEPT
 
const MatchFun & match () const
 
MatchFun & match ()
 
const AllocationPolicy & allocator () const
 
AllocationPolicy & allocator ()
 

Public Attributes

Entrymap_ = nullptr
 
uint32_t capacity_ = 0
 
uint32_t occupancy_ = 0
 

Detailed Description

template<typename Key, typename Value, class MatchFun, class AllocationPolicy>
struct v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl

Definition at line 150 of file hashmap.h.

Constructor & Destructor Documentation

◆ Impl() [1/4]

template<typename Key , typename Value , class MatchFun , class AllocationPolicy >
v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl::Impl ( MatchFun match,
AllocationPolicy allocator )
inline

Definition at line 151 of file hashmap.h.

◆ Impl() [2/4]

template<typename Key , typename Value , class MatchFun , class AllocationPolicy >
v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl::Impl ( )
default

◆ Impl() [3/4]

template<typename Key , typename Value , class MatchFun , class AllocationPolicy >
v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl::Impl ( const Impl & )
default

◆ Impl() [4/4]

template<typename Key , typename Value , class MatchFun , class AllocationPolicy >
v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl::Impl ( Impl && other)
inline

Definition at line 156 of file hashmap.h.

Member Function Documentation

◆ allocator() [1/2]

template<typename Key , typename Value , class MatchFun , class AllocationPolicy >
AllocationPolicy & v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl::allocator ( )
inline

Definition at line 176 of file hashmap.h.

◆ allocator() [2/2]

template<typename Key , typename Value , class MatchFun , class AllocationPolicy >
const AllocationPolicy & v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl::allocator ( ) const
inline

Definition at line 175 of file hashmap.h.

Here is the caller graph for this function:

◆ match() [1/2]

template<typename Key , typename Value , class MatchFun , class AllocationPolicy >
MatchFun & v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl::match ( )
inline

Definition at line 173 of file hashmap.h.

◆ match() [2/2]

template<typename Key , typename Value , class MatchFun , class AllocationPolicy >
const MatchFun & v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl::match ( ) const
inline

Definition at line 172 of file hashmap.h.

Here is the caller graph for this function:

◆ operator=() [1/2]

template<typename Key , typename Value , class MatchFun , class AllocationPolicy >
Impl & v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl::operator= ( const Impl & other)
default

◆ operator=() [2/2]

template<typename Key , typename Value , class MatchFun , class AllocationPolicy >
Impl & v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl::operator= ( Impl && other)
inline

Definition at line 159 of file hashmap.h.

Member Data Documentation

◆ capacity_

template<typename Key , typename Value , class MatchFun , class AllocationPolicy >
uint32_t v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl::capacity_ = 0

Definition at line 179 of file hashmap.h.

◆ map_

template<typename Key , typename Value , class MatchFun , class AllocationPolicy >
Entry* v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl::map_ = nullptr

Definition at line 178 of file hashmap.h.

◆ occupancy_

template<typename Key , typename Value , class MatchFun , class AllocationPolicy >
uint32_t v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >::Impl::occupancy_ = 0

Definition at line 180 of file hashmap.h.


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