V8 Project
v8::internal::SeededNumberDictionaryShape Class Reference

#include <objects.h>

+ Inheritance diagram for v8::internal::SeededNumberDictionaryShape:
+ Collaboration diagram for v8::internal::SeededNumberDictionaryShape:

Static Public Member Functions

static uint32_t SeededHash (uint32_t key, uint32_t seed)
 
static uint32_t SeededHashForObject (uint32_t key, uint32_t seed, Object *object)
 
- Static Public Member Functions inherited from v8::internal::NumberDictionaryShape
static bool IsMatch (uint32_t key, Object *other)
 
static Handle< ObjectAsHandle (Isolate *isolate, uint32_t key)
 
- Static Public Member Functions inherited from v8::internal::BaseShape< uint32_t >
static uint32_t Hash (uint32_t key)
 
static uint32_t SeededHash (uint32_t key, uint32_t seed)
 
static uint32_t HashForObject (uint32_t key, Object *object)
 
static uint32_t SeededHashForObject (uint32_t key, uint32_t seed, Object *object)
 

Static Public Attributes

static const bool UsesSeed = true
 
static const int kPrefixSize = 2
 
- Static Public Attributes inherited from v8::internal::NumberDictionaryShape
static const int kEntrySize = 3
 
static const bool kIsEnumerable = false
 
- Static Public Attributes inherited from v8::internal::BaseShape< uint32_t >
static const bool UsesSeed
 

Detailed Description

Definition at line 3649 of file objects.h.

Member Function Documentation

◆ SeededHash()

uint32_t v8::internal::SeededNumberDictionaryShape::SeededHash ( uint32_t  key,
uint32_t  seed 
)
inlinestatic

Definition at line 6840 of file objects-inl.h.

6840  {
6841  return ComputeIntegerHash(key, seed);
6842 }
uint32_t ComputeIntegerHash(uint32_t key, uint32_t seed)
Definition: utils.h:249

References v8::internal::ComputeIntegerHash().

+ Here is the call graph for this function:

◆ SeededHashForObject()

uint32_t v8::internal::SeededNumberDictionaryShape::SeededHashForObject ( uint32_t  key,
uint32_t  seed,
Object object 
)
inlinestatic

Definition at line 6845 of file objects-inl.h.

6847  {
6848  DCHECK(other->IsNumber());
6849  return ComputeIntegerHash(static_cast<uint32_t>(other->Number()), seed);
6850 }
#define DCHECK(condition)
Definition: logging.h:205

References v8::internal::ComputeIntegerHash(), DCHECK, and v8::internal::Object::Number().

+ Here is the call graph for this function:

Member Data Documentation

◆ kPrefixSize

const int v8::internal::SeededNumberDictionaryShape::kPrefixSize = 2
static

Definition at line 3652 of file objects.h.

◆ UsesSeed

const bool v8::internal::SeededNumberDictionaryShape::UsesSeed = true
static

Definition at line 3651 of file objects.h.


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