Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
dart::WeakAcqRelStorageTraits Struct Reference

#include <hash_table.h>

Inheritance diagram for dart::WeakAcqRelStorageTraits:
dart::WeakArrayStorageTraits

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::WeakArrayStorageTraits
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::WeakArrayStorageTraits
using ArrayHandle = WeakArray
 
using ArrayPtr = dart::WeakArrayPtr
 
- Static Public Attributes inherited from dart::WeakArrayStorageTraits
static constexpr intptr_t ArrayCid = kWeakArrayCid
 

Detailed Description

Definition at line 91 of file hash_table.h.

Member Function Documentation

◆ At()

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

Definition at line 92 of file hash_table.h.

92 {
93 return array->AtAcquire(index);
94 }

◆ SetAt()

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

Definition at line 96 of file hash_table.h.

96 {
97 array->SetAtRelease(index, value);
98 }

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