5#if WITH_VERSE_VM || defined(__INTELLISENSE__)
8#include "Containers/Array.h"
36 std::memset(
Table, 0, InitialCapacity *
sizeof(
uint64));
68 void AddImpl(FAllocationContext
Context, T Entry)
91 checkSlow(Capacity && (Capacity & (Capacity - 1)) == 0);
116 std::memset(
NewTable, 0, AllocationSize);
134 Table[I] = Entry.Key();
138 if (Entry.Key() ==
Table[I])
154 Bucket = Entry.Key();
165 std::memset(
Table, 0, InitialCapacity *
sizeof(
uint64));
194 static constexpr uint32 InitialCapacity = 4;
200 alignas(
alignof(T))
char InlineLog[InitialCapacity *
sizeof(T)];
227 return reinterpret_cast<uint64>(Ptr);
234 *
static_cast<EMode*
>(Ptr) =
static_cast<EMode
>(
Value);
243 using EMode = VPlaceholder::EMode;
252 void Add(FAllocationContext
Context, VPlaceholder::EMode& Mode)
292 void Abort(FAllocationContext
Context)
333 static_assert(
sizeof(OldValue) ==
sizeof(VValue));
334 static_assert(
sizeof(OldValue) ==
sizeof(
VCell*));
335 static_assert(
sizeof(OldValue) ==
sizeof(
TAux<void>));
343 template <
typename T,
typename = std::enable_if_t<std::is_convertible_v<T*, VCell*>>>
378 template <
typename T>
386#define VERSE_TRANSACTION_HAS_AUTORTFM_ID 1
388#define VERSE_TRANSACTION_HAS_AUTORTFM_ID 0
394 FTransaction*
Parent{
nullptr};
395 bool bHasStarted{
false};
400#if VERSE_TRANSACTION_HAS_AUTORTFM_ID
409 AutoRTFM::UnreachableIfClosed(
"#jira SOL-8415");
418 AutoRTFM::ForTheRuntime::StartTransaction();
420 Context.SetCurrentTransaction(
this);
421#if VERSE_TRANSACTION_HAS_AUTORTFM_ID
430 AutoRTFM::UnreachableIfClosed(
"#jira SOL-8415");
436#if VERSE_TRANSACTION_HAS_AUTORTFM_ID
440 AutoRTFM::ForTheRuntime::CommitTransaction();
451 AutoRTFM::UnreachableIfClosed(
"#jira SOL-8415");
462#if VERSE_TRANSACTION_HAS_AUTORTFM_ID
467 AutoRTFM::ForTheRuntime::RollbackTransaction();
470 AutoRTFM::ForTheRuntime::ClearTransactionStatus();
483 template <
typename T>
#define checkSlow(expr)
Definition AssertionMacros.h:332
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
return true
Definition ExternalRpcRegistry.cpp:601
UE_FORCEINLINE_HINT uint32 GetPtr() const
Definition LockFreeList.h:15
ToType BitCast(const FromType &From)
Definition TypeCompatibleBytes.h:167
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
#define V_FORCEINLINE
Definition VVMVerse.h:30
Mode
Definition AnimNode_TransitionPoseEvaluator.h:28
FORCEINLINE T * Get(const FObjectPtr &ObjectPtr)
Definition ObjectPtr.h:426
@ Start
Definition GeoEnum.h:100
@ false
Definition radaudio_common.h:23
U16 Index
Definition radfft.cpp:71