|  | v8
    V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++. | 
#include <layered-hash-map.h>
| Classes | |
| struct | Entry | 
| Public Member Functions | |
| LayeredHashMap (Zone *zone, uint32_t initial_capacity=64) | |
| void | StartLayer () | 
| void | DropLastLayer () | 
| void | InsertNewKey (Key key, Value value) | 
| bool | Contains (Key key) | 
| std::optional< Value > | Get (Key key) | 
| Private Member Functions | |
| void | ResizeIfNeeded () | 
| size_t | NextEntryIndex (size_t index) | 
| Entry * | FindEntryForKey (Key key, size_t hash=0) | 
| Entry * | InsertEntry (Entry entry) | 
| size_t | ComputeHash (Key key) | 
| Private Attributes | |
| size_t | mask_ | 
| size_t | entry_count_ | 
| base::Vector< Entry > | table_ | 
| ZoneVector< Entry * > | depths_heads_ | 
| Zone * | zone_ | 
| Static Private Attributes | |
| static constexpr double | kNeedResizePercentage = 0.75 | 
| static constexpr int | kGrowthFactor = 2 | 
Definition at line 39 of file layered-hash-map.h.
| 
 | explicit | 
| 
 | inlineprivate | 
Definition at line 62 of file layered-hash-map.h.
| bool v8::internal::compiler::turboshaft::LayeredHashMap< Key, Value >::Contains | ( | Key | key | ) | 
| void v8::internal::compiler::turboshaft::LayeredHashMap< Key, Value >::DropLastLayer | ( | ) | 
Definition at line 97 of file layered-hash-map.h.
| 
 | private | 
Definition at line 110 of file layered-hash-map.h.
| std::optional< Value > v8::internal::compiler::turboshaft::LayeredHashMap< Key, Value >::Get | ( | Key | key | ) | 
Definition at line 129 of file layered-hash-map.h.
| 
 | private | 
| void v8::internal::compiler::turboshaft::LayeredHashMap< Key, Value >::InsertNewKey | ( | Key | key, | 
| Value | value ) | 
Definition at line 118 of file layered-hash-map.h.
| 
 | inlineprivate | 
Definition at line 58 of file layered-hash-map.h.
| 
 | private | 
| void v8::internal::compiler::turboshaft::LayeredHashMap< Key, Value >::StartLayer | ( | ) | 
Definition at line 92 of file layered-hash-map.h.
| 
 | private | 
Definition at line 70 of file layered-hash-map.h.
| 
 | private | 
Definition at line 68 of file layered-hash-map.h.
| 
 | staticconstexprprivate | 
Definition at line 74 of file layered-hash-map.h.
| 
 | staticconstexprprivate | 
Definition at line 73 of file layered-hash-map.h.
| 
 | private | 
Definition at line 67 of file layered-hash-map.h.
| 
 | private | 
Definition at line 69 of file layered-hash-map.h.
| 
 | private | 
Definition at line 71 of file layered-hash-map.h.