v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cppgc::internal::MemoryRegion Class Referencefinal

#include <page-memory.h>

Collaboration diagram for cppgc::internal::MemoryRegion:

Public Member Functions

 MemoryRegion ()=default
 
 MemoryRegion (Address base, size_t size)
 
Address base () const
 
size_t size () const
 
Address end () const
 
bool Contains (ConstAddress addr) const
 
bool Contains (const MemoryRegion &other) const
 

Private Attributes

Address base_ = nullptr
 
size_t size_ = 0
 

Detailed Description

Definition at line 22 of file page-memory.h.

Constructor & Destructor Documentation

◆ MemoryRegion() [1/2]

cppgc::internal::MemoryRegion::MemoryRegion ( )
default

◆ MemoryRegion() [2/2]

cppgc::internal::MemoryRegion::MemoryRegion ( Address base,
size_t size )
inline

Definition at line 25 of file page-memory.h.

Member Function Documentation

◆ base()

Address cppgc::internal::MemoryRegion::base ( ) const
inline

Definition at line 30 of file page-memory.h.

Here is the caller graph for this function:

◆ Contains() [1/2]

bool cppgc::internal::MemoryRegion::Contains ( const MemoryRegion & other) const
inline

Definition at line 39 of file page-memory.h.

◆ Contains() [2/2]

bool cppgc::internal::MemoryRegion::Contains ( ConstAddress addr) const
inline

Definition at line 34 of file page-memory.h.

Here is the caller graph for this function:

◆ end()

Address cppgc::internal::MemoryRegion::end ( ) const
inline

Definition at line 32 of file page-memory.h.

◆ size()

size_t cppgc::internal::MemoryRegion::size ( ) const
inline

Definition at line 31 of file page-memory.h.

Member Data Documentation

◆ base_

Address cppgc::internal::MemoryRegion::base_ = nullptr
private

Definition at line 44 of file page-memory.h.

◆ size_

size_t cppgc::internal::MemoryRegion::size_ = 0
private

Definition at line 45 of file page-memory.h.


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