V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::HashTableBase Class Reference
Inheritance diagram for v8::internal::HashTableBase:
NON_EXPORTED_BASEFixedArray v8::internal::HashTable< CompilationCacheTable, CompilationCacheShape > v8::internal::HashTable< EphemeronHashTable, EphemeronHashTableShape > v8::internal::HashTable< GlobalDictionary, GlobalDictionaryShape > v8::internal::HashTable< NameDictionary, NameDictionaryShape > v8::internal::HashTable< NumberDictionary, NumberDictionaryShape > v8::internal::HashTable< ObjectHashSet, ObjectHashSetShape > v8::internal::HashTable< ObjectHashTable, ObjectHashTableShape > v8::internal::HashTable< SimpleNumberDictionary, SimpleNumberDictionaryShape > v8::internal::HashTable< StringSet, StringSetShape > v8::internal::HashTable< StringTable, StringTableShape > v8::internal::HashTable< Derived, Shape >

Public Member Functions

int NumberOfElements () const
 
int NumberOfDeletedElements () const
 
int Capacity () const
 
void ElementAdded ()
 
void ElementRemoved ()
 
void ElementsRemoved (int n)
 

Static Public Member Functions

static int ComputeCapacity (int at_least_space_for)
 
static V8_INLINE uint32_t GetProbeOffset (uint32_t n)
 

Static Public Attributes

static const int kNumberOfElementsIndex = 0
 
static const int kNumberOfDeletedElementsIndex = 1
 
static const int kCapacityIndex = 2
 
static const int kPrefixStartIndex = 3
 
static const int kNotFound = -1
 
static const int kMinCapacity = 4
 

Protected Member Functions

void SetNumberOfElements (int nof)
 
void SetNumberOfDeletedElements (int nod)
 

Static Protected Member Functions

static uint32_t GetProbe (uint32_t hash, uint32_t number, uint32_t size)
 
static uint32_t FirstProbe (uint32_t hash, uint32_t size)
 
static uint32_t NextProbe (uint32_t last, uint32_t number, uint32_t size)
 

Detailed Description

Definition at line 66 of file hash-table.h.


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