#include <file.h>
Definition at line 26 of file file.h.
◆ MappedMemory()
dart::bin::MappedMemory::MappedMemory |
( |
void * |
address, |
|
|
intptr_t |
size, |
|
|
bool |
should_unmap = true |
|
) |
| |
|
inline |
Definition at line 28 of file file.h.
29 : should_unmap_(should_unmap), address_(
address), size_(
size) {}
◆ ~MappedMemory()
dart::bin::MappedMemory::~MappedMemory |
( |
| ) |
|
|
inline |
Definition at line 30 of file file.h.
30 {
31 if (should_unmap_) Unmap();
32 }
◆ address()
void * dart::bin::MappedMemory::address |
( |
| ) |
const |
|
inline |
◆ Leak()
void dart::bin::MappedMemory::Leak |
( |
| ) |
|
|
inline |
Definition at line 38 of file file.h.
38{ should_unmap_ = false; }
◆ size()
intptr_t dart::bin::MappedMemory::size |
( |
| ) |
const |
|
inline |
◆ start()
uword dart::bin::MappedMemory::start |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- third_party/dart-lang/sdk/runtime/bin/file.h