![]() |
v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include "v8.h"#include "api.h"#include "debug.h"#include "execution.h"#include "factory.h"#include "macro-assembler.h"#include "objects.h"#include "global-handles.h"#include "cctest.h"
Go to the source code of this file.
Data Structures | |
| class | ObjectHashTableTest |
Functions | |
| TEST (ObjectHashTable) | |
| TEST (HashTableRehash) | |
| TEST | ( | ObjectHashTable | ) |
Definition at line 42 of file test-dictionary.cc.
References CHECK, CHECK_EQ, CHECK_NE, Heap::CollectGarbage(), Isolate::factory(), Context::GetIsolate(), JSReceiver::GetOrCreateIdentityHash(), CcTest::heap(), CcTest::i_isolate(), HashTable< ObjectHashTableShape< 2 >, Object * >::kNotFound, v8::internal::NEW_SPACE, Factory::NewJSArray(), Factory::NewObjectHashTable(), and ObjectHashTable::Put().
| TEST | ( | HashTableRehash | ) |
Definition at line 122 of file test-dictionary.cc.
References ObjectHashTableTest::capacity(), CHECK_EQ, Isolate::factory(), Smi::FromInt(), Context::GetIsolate(), CcTest::i_isolate(), ObjectHashTableTest::insert(), ObjectHashTableTest::lookup(), Factory::NewObjectHashTable(), and HashTable< Shape, Key >::Rehash().