V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::NumberDictionary Class Reference
Inheritance diagram for v8::internal::NumberDictionary:
v8::internal::Dictionary< NumberDictionary, NumberDictionaryShape > v8::internal::HashTable< NumberDictionary, NumberDictionaryShape > v8::internal::HashTableBase NON_EXPORTED_BASEFixedArray

Public Member Functions

void UpdateMaxNumberKey (uint32_t key, Handle< JSObject > dictionary_holder)
 
bool HasComplexElements ()
 
void CopyValuesTo (FixedArray elements)
 
bool requires_slow_elements ()
 
void set_requires_slow_elements ()
 
uint32_t max_number_key ()
 
- Public Member Functions inherited from v8::internal::Dictionary< NumberDictionary, NumberDictionaryShape >
ObjectValueAt (int entry)
 
void ValueAtPut (int entry, Object *value)
 
PropertyDetails DetailsAt (int entry)
 
void DetailsAtPut (Isolate *isolate, int entry, PropertyDetails value)
 
int NumberOfEnumerableProperties ()
 
ObjectSlowReverseLookup (Object *value)
 
void ClearEntry (Isolate *isolate, int entry)
 
void SetEntry (Isolate *isolate, int entry, Object *key, Object *value, PropertyDetails details)
 
- Public Member Functions inherited from v8::internal::HashTable< NumberDictionary, NumberDictionaryShape >
void IteratePrefix (ObjectVisitor *visitor)
 
void IterateElements (ObjectVisitor *visitor)
 
int FindEntry (ReadOnlyRoots roots, Key key, int32_t hash)
 
int FindEntry (Isolate *isolate, Key key)
 
void Rehash (Isolate *isolate)
 
bool ToKey (ReadOnlyRoots roots, int entry, Object **out_k)
 
ObjectKeyAt (int entry)
 
 STATIC_ASSERT (kEntrySize > 0)
 
bool HasSufficientCapacityToAdd (int number_of_additional_elements)
 
- Public Member Functions inherited from v8::internal::HashTableBase
int NumberOfElements () const
 
int NumberOfDeletedElements () const
 
int Capacity () const
 
void ElementAdded ()
 
void ElementRemoved ()
 
void ElementsRemoved (int n)
 

Static Public Member Functions

static V8_WARN_UNUSED_RESULT Handle< NumberDictionarySet (Isolate *isolate, Handle< NumberDictionary > dictionary, uint32_t key, Handle< Object > value, Handle< JSObject > dictionary_holder=Handle< JSObject >::null(), PropertyDetails details=PropertyDetails::Empty())
 
- Static Public Member Functions inherited from v8::internal::Dictionary< NumberDictionary, NumberDictionaryShape >
static V8_WARN_UNUSED_RESULT Handle< NumberDictionaryDeleteEntry (Isolate *isolate, Handle< NumberDictionary > dictionary, int entry)
 
static V8_WARN_UNUSED_RESULT Handle< NumberDictionaryShrink (Isolate *isolate, Handle< NumberDictionary > dictionary)
 
static V8_WARN_UNUSED_RESULT Handle< NumberDictionaryAdd (Isolate *isolate, Handle< NumberDictionary > dictionary, Key key, Handle< Object > value, PropertyDetails details, int *entry_out=nullptr)
 
- Static Public Member Functions inherited from v8::internal::HashTable< NumberDictionary, NumberDictionaryShape >
static V8_WARN_UNUSED_RESULT Handle< NumberDictionaryNew (Isolate *isolate, int at_least_space_for, PretenureFlag pretenure=NOT_TENURED, MinimumCapacity capacity_option=USE_DEFAULT_MINIMUM_CAPACITY)
 
static bool IsKey (ReadOnlyRoots roots, Object *k)
 
static constexpr int EntryToIndex (int entry)
 
static V8_WARN_UNUSED_RESULT Handle< NumberDictionaryEnsureCapacity (Isolate *isolate, Handle< NumberDictionary > table, int n, PretenureFlag pretenure=NOT_TENURED)
 
- Static Public Member Functions inherited from v8::internal::HashTableBase
static int ComputeCapacity (int at_least_space_for)
 
static V8_INLINE uint32_t GetProbeOffset (uint32_t n)
 

Static Public Attributes

static const int kMaxNumberKeyIndex = kPrefixStartIndex
 
static const int kEntryValueIndex = 1
 
static const int kEntryDetailsIndex = 2
 
static const int kRequiresSlowElementsMask = 1
 
static const int kRequiresSlowElementsTagSize = 1
 
static const uint32_t kRequiresSlowElementsLimit = (1 << 29) - 1
 
static const uint32_t kPreferFastElementsSizeFactor = 3
 
- Static Public Attributes inherited from v8::internal::HashTable< NumberDictionary, NumberDictionaryShape >
static const int kElementsStartIndex
 
static const int kEntrySize
 
static const int kEntryKeyIndex
 
static const int kElementsStartOffset
 
static const int kMaxCapacity
 
static const int kMinShrinkCapacity
 
static const int kMaxRegularCapacity
 
- Static Public Attributes inherited from v8::internal::HashTableBase
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
 

Additional Inherited Members

- Public Types inherited from v8::internal::Dictionary< NumberDictionary, NumberDictionaryShape >
typedef NumberDictionaryShape ::Key Key
 
- Public Types inherited from v8::internal::HashTable< NumberDictionary, NumberDictionaryShape >
typedef NumberDictionaryShape ShapeT
 
typedef NumberDictionaryShape ::Key Key
 
- Protected Member Functions inherited from v8::internal::HashTable< NumberDictionary, NumberDictionaryShape >
uint32_t FindInsertionEntry (uint32_t hash)
 
- Protected Member Functions inherited from v8::internal::HashTableBase
void SetNumberOfElements (int nof)
 
void SetNumberOfDeletedElements (int nod)
 
- Static Protected Member Functions inherited from v8::internal::Dictionary< NumberDictionary, NumberDictionaryShape >
static V8_WARN_UNUSED_RESULT Handle< NumberDictionaryAtPut (Isolate *isolate, Handle< NumberDictionary > dictionary, Key key, Handle< Object > value, PropertyDetails details)
 
- Static Protected Member Functions inherited from v8::internal::HashTable< NumberDictionary, NumberDictionaryShape >
static V8_WARN_UNUSED_RESULT Handle< NumberDictionaryNewInternal (Isolate *isolate, int capacity, PretenureFlag pretenure)
 
static V8_WARN_UNUSED_RESULT Handle< NumberDictionaryShrink (Isolate *isolate, Handle< NumberDictionary > table, int additionalCapacity=0)
 
- Static Protected Member Functions inherited from v8::internal::HashTableBase
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 315 of file dictionary.h.


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