![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <cached-unordered-map.h>
Public Types | |
using | Key = typename MapT::key_type |
using | Mapped = typename MapT::mapped_type |
Public Member Functions | |
Mapped & | operator[] (const Key &key) |
MapT::size_type | erase (const Key &key) |
MapT::iterator | find (const Key &key) |
MapT::iterator | begin () |
MapT::iterator | end () |
MapT::const_iterator | begin () const |
MapT::const_iterator | end () const |
bool | contains (const Key &key) const |
void | clear () |
bool | empty () const |
MapT | Take () |
Private Types | |
using | MapT = absl::flat_hash_map<_Key, _Value, _Hash> |
Private Attributes | |
Key | last_key_ = nullptr |
Mapped * | last_mapped_ = nullptr |
MapT | map_ |
Definition at line 17 of file cached-unordered-map.h.
using heap::base::CachedUnorderedMap< _Key, _Value, _Hash >::Key = typename MapT::key_type |
Definition at line 21 of file cached-unordered-map.h.
using heap::base::CachedUnorderedMap< _Key, _Value, _Hash >::Mapped = typename MapT::mapped_type |
Definition at line 22 of file cached-unordered-map.h.
|
private |
Definition at line 18 of file cached-unordered-map.h.
|
inline |
Definition at line 57 of file cached-unordered-map.h.
|
inline |
Definition at line 59 of file cached-unordered-map.h.
|
inline |
Definition at line 64 of file cached-unordered-map.h.
|
inline |
Definition at line 62 of file cached-unordered-map.h.
|
inline |
Definition at line 70 of file cached-unordered-map.h.
|
inline |
Definition at line 58 of file cached-unordered-map.h.
|
inline |
Definition at line 60 of file cached-unordered-map.h.
|
inline |
Definition at line 45 of file cached-unordered-map.h.
|
inline |
Definition at line 55 of file cached-unordered-map.h.
|
inline |
Definition at line 24 of file cached-unordered-map.h.
|
inline |
Definition at line 72 of file cached-unordered-map.h.
|
private |
Definition at line 82 of file cached-unordered-map.h.
|
private |
Definition at line 83 of file cached-unordered-map.h.
|
private |
Definition at line 84 of file cached-unordered-map.h.