Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
dart::AcqRelStorageTraits Struct Reference

#include <hash_table.h>

Inheritance diagram for dart::AcqRelStorageTraits:
dart::ArrayStorageTraits

Static Public Member Functions

static ObjectPtr At (ArrayHandle *array, intptr_t index)
 
static void SetAt (ArrayHandle *array, intptr_t index, const Object &value)
 
- Static Public Member Functions inherited from dart::ArrayStorageTraits
static ArrayHandlePtrToHandle (ArrayPtr ptr)
 
static void SetHandle (ArrayHandle &dst, const ArrayHandle &src)
 
static void ClearHandle (ArrayHandle &handle)
 
static ArrayPtr New (Zone *zone, intptr_t length, Heap::Space space)
 
static bool IsImmutable (const ArrayHandle &handle)
 
static ObjectPtr At (ArrayHandle *array, intptr_t index)
 
static void SetAt (ArrayHandle *array, intptr_t index, const Object &value)
 

Additional Inherited Members

- Public Types inherited from dart::ArrayStorageTraits
using ArrayHandle = Array
 
using ArrayPtr = dart::ArrayPtr
 
- Static Public Attributes inherited from dart::ArrayStorageTraits
static constexpr intptr_t ArrayCid = kArrayCid
 

Detailed Description

Definition at line 81 of file hash_table.h.

Member Function Documentation

◆ At()

static ObjectPtr dart::AcqRelStorageTraits::At ( ArrayHandle array,
intptr_t  index 
)
inlinestatic

Definition at line 82 of file hash_table.h.

82 {
83 return array->AtAcquire(index);
84 }

◆ SetAt()

static void dart::AcqRelStorageTraits::SetAt ( ArrayHandle array,
intptr_t  index,
const Object value 
)
inlinestatic

Definition at line 86 of file hash_table.h.

86 {
87 array->SetAtRelease(index, value);
88 }
uint8_t value

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