![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <snapshot-data.h>
Public Member Functions | |
| SnapshotData (const Serializer *serializer) | |
| SnapshotData (const base::Vector< const uint8_t > snapshot) | |
| virtual base::Vector< const uint8_t > | Payload () const |
| base::Vector< const uint8_t > | RawData () const |
Public Member Functions inherited from v8::internal::SerializedData | |
| SerializedData (uint8_t *data, int size) | |
| SerializedData () | |
| SerializedData (SerializedData &&other) V8_NOEXCEPT | |
| SerializedData (const SerializedData &)=delete | |
| SerializedData & | operator= (const SerializedData &)=delete |
| virtual | ~SerializedData () |
| uint32_t | GetMagicNumber () const |
Protected Member Functions | |
| SnapshotData () | |
| void | Resize (uint32_t size) |
Protected Member Functions inherited from v8::internal::SerializedData | |
| void | SetHeaderValue (uint32_t offset, uint32_t value) |
| uint32_t | GetHeaderValue (uint32_t offset) const |
| void | AllocateData (uint32_t size) |
| void | SetMagicNumber () |
Static Protected Attributes | |
| static const uint32_t | kPayloadLengthOffset = kMagicNumberOffset + kUInt32Size |
| static const uint32_t | kHeaderSize = kPayloadLengthOffset + kUInt32Size |
Friends | |
| class | SnapshotCompression |
Additional Inherited Members | |
Public Types inherited from v8::internal::SerializedData | |
| using | ChunkSizeBits = base::BitField<uint32_t, 0, 31> |
| using | IsLastChunkBits = base::BitField<bool, 31, 1> |
Static Public Attributes inherited from v8::internal::SerializedData | |
| static constexpr uint32_t | kMagicNumberOffset = 0 |
| static constexpr uint32_t | kMagicNumber |
Protected Attributes inherited from v8::internal::SerializedData | |
| uint8_t * | data_ |
| uint32_t | size_ |
| bool | owns_data_ |
Definition at line 70 of file snapshot-data.h.
|
explicit |
|
inlineexplicit |
Definition at line 76 of file snapshot-data.h.
|
inlineprotected |
Definition at line 89 of file snapshot-data.h.
|
virtual |
Definition at line 45 of file snapshot-data.cc.
|
inline |
|
inlineprotected |
|
friend |
Definition at line 90 of file snapshot-data.h.
|
staticprotected |
Definition at line 101 of file snapshot-data.h.
|
staticprotected |
Definition at line 100 of file snapshot-data.h.