Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Attributes | Friends | List of all members
dart::DispatchTable Class Reference

#include <dispatch_table.h>

Public Member Functions

 DispatchTable (intptr_t length)
 
intptr_t length () const
 
const uwordArrayOrigin () const
 

Static Public Attributes

static constexpr intptr_t kOriginElement = 0
 
static constexpr intptr_t kLargestSmallOffset = 0
 

Friends

class Deserializer
 

Detailed Description

Definition at line 14 of file dispatch_table.h.

Constructor & Destructor Documentation

◆ DispatchTable()

dart::DispatchTable::DispatchTable ( intptr_t  length)
inlineexplicit

Definition at line 16 of file dispatch_table.h.

17 : length_(length), array_(new uword[length]()) {}
intptr_t length() const
uintptr_t uword
Definition: globals.h:501

Member Function Documentation

◆ ArrayOrigin()

const uword * dart::DispatchTable::ArrayOrigin ( ) const

Definition at line 11 of file dispatch_table.cc.

11 {
12 return &array_.get()[kOriginElement];
13}
static constexpr intptr_t kOriginElement

◆ length()

intptr_t dart::DispatchTable::length ( ) const
inline

Definition at line 19 of file dispatch_table.h.

19{ return length_; }

Friends And Related Function Documentation

◆ Deserializer

friend class Deserializer
friend

Definition at line 71 of file dispatch_table.h.

Member Data Documentation

◆ kLargestSmallOffset

constexpr intptr_t dart::DispatchTable::kLargestSmallOffset = 0
staticconstexpr

Definition at line 59 of file dispatch_table.h.

◆ kOriginElement

constexpr intptr_t dart::DispatchTable::kOriginElement = 0
staticconstexpr

Definition at line 39 of file dispatch_table.h.


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