v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::HashTableBase Class Reference

#include <hash-table.h>

Inheritance diagram for v8::internal::HashTableBase:
Collaboration diagram for v8::internal::HashTableBase:

Public Member Functions

int NumberOfElements () const
 
int NumberOfDeletedElements () const
 
int Capacity () const
 
InternalIndex::Range IterateEntries () const
 
void ElementAdded ()
 
void ElementRemoved ()
 
void ElementsRemoved (int n)
 
void SetInitialNumberOfElements (int nof)
 

Static Public Member Functions

static int ComputeCapacity (int at_least_space_for)
 

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 kMinCapacity = 4
 

Protected Member Functions

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

Static Protected Member Functions

static InternalIndex NextProbe (InternalIndex last, uint32_t number, uint32_t size)
 

Detailed Description

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

Member Function Documentation

◆ Capacity()

int v8::internal::HashTableBase::Capacity ( ) const
inline

Definition at line 62 of file hash-table-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ComputeCapacity()

int v8::internal::HashTableBase::ComputeCapacity ( int at_least_space_for)
inlinestatic

Definition at line 85 of file hash-table-inl.h.

Here is the call graph for this function:

◆ ElementAdded()

void v8::internal::HashTableBase::ElementAdded ( )
inline

Definition at line 70 of file hash-table-inl.h.

Here is the call graph for this function:

◆ ElementRemoved()

void v8::internal::HashTableBase::ElementRemoved ( )
inline

Definition at line 74 of file hash-table-inl.h.

Here is the call graph for this function:

◆ ElementsRemoved()

void v8::internal::HashTableBase::ElementsRemoved ( int n)
inline

Definition at line 79 of file hash-table-inl.h.

Here is the call graph for this function:

◆ IterateEntries()

InternalIndex::Range v8::internal::HashTableBase::IterateEntries ( ) const
inline

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

Here is the call graph for this function:

◆ NextProbe()

static InternalIndex v8::internal::HashTableBase::NextProbe ( InternalIndex last,
uint32_t number,
uint32_t size )
inlinestaticprotected

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

◆ NumberOfDeletedElements()

int v8::internal::HashTableBase::NumberOfDeletedElements ( ) const
inline

Definition at line 58 of file hash-table-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NumberOfElements()

int v8::internal::HashTableBase::NumberOfElements ( ) const
inline

Definition at line 54 of file hash-table-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetInitialNumberOfElements()

void v8::internal::HashTableBase::SetInitialNumberOfElements ( int nof)
inline

Definition at line 94 of file hash-table-inl.h.

Here is the call graph for this function:

◆ SetNumberOfDeletedElements()

void v8::internal::HashTableBase::SetNumberOfDeletedElements ( int nod)
inlineprotected

Definition at line 103 of file hash-table-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetNumberOfElements()

void v8::internal::HashTableBase::SetNumberOfElements ( int nof)
inlineprotected

Definition at line 99 of file hash-table-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ kCapacityIndex

const int v8::internal::HashTableBase::kCapacityIndex = 2
static

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

◆ kMinCapacity

const int v8::internal::HashTableBase::kMinCapacity = 4
static

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

◆ kNumberOfDeletedElementsIndex

const int v8::internal::HashTableBase::kNumberOfDeletedElementsIndex = 1
static

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

◆ kNumberOfElementsIndex

const int v8::internal::HashTableBase::kNumberOfElementsIndex = 0
static

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

◆ kPrefixStartIndex

const int v8::internal::HashTableBase::kPrefixStartIndex = 3
static

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


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