![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <fixed-array.h>
Classes | |
class | BodyDescriptor |
Public Types | |
using | Shape = TrustedByteArrayShape |
![]() | |
using | Shape |
using | Header |
Public Member Functions | |
uint32_t | get_int (int offset) const |
void | set_int (int offset, uint32_t value) |
![]() | |
ElementMemberT | get (int index) const |
void | set (int index, ElementMemberT value) |
int | AllocatedSize () const |
ElementMemberT * | begin () |
const ElementMemberT * | begin () const |
ElementMemberT * | end () |
const ElementMemberT * | end () const |
int | DataSize () const |
Handle< D > | Allocate (IsolateT *isolate, int length, std::optional< DisallowGarbageCollection > *no_gc_out, AllocationType allocation) |
Static Public Member Functions | |
template<class IsolateT > | |
static Handle< TrustedByteArray > | New (IsolateT *isolate, int capacity, AllocationType allocation_type=AllocationType::kTrusted) |
static constexpr int | LengthFor (int size_in_bytes) |
![]() | |
static constexpr int | SizeFor (int length) |
static constexpr int | OffsetOfElementAt (int index) |
static Tagged< TrustedByteArray > | FromAddressOfFirstElement (Address address) |
Private Types | |
using | Super |
Additional Inherited Members | |
![]() | |
static constexpr bool | kElementsAreMaybeObject |
static constexpr int | kElementSize |
static constexpr int | kMaxLength |
static constexpr int | kMaxRegularLength |
![]() | |
bool | IsInBounds (int index) const |
FLEXIBLE_ARRAY_MEMBER (ElementMemberT, values) | |
![]() | |
static Handle< TrustedByteArray > | Allocate (IsolateT *isolate, int length, std::optional< DisallowGarbageCollection > *no_gc_out, AllocationType allocation=AllocationType::kYoung) |
Definition at line 804 of file fixed-array.h.
Definition at line 811 of file fixed-array.h.
|
private |
Definition at line 807 of file fixed-array.h.
|
inline |
|
inlinestaticconstexpr |
|
inlinestatic |
Definition at line 781 of file fixed-array-inl.h.
|
inline |