13template <
typename... Types>
44 template <
typename CharType>
50 static_assert(
sizeof(CharType) <= 4,
"StrCrc32 only works with CharType up to 32 bits.");
53 while (CharType
Ch = *Data++)
66 template <
typename CharType>
72 static_assert(
sizeof(CharType) <= 4,
"StrCrc32Len only works with CharType up to 32 bits.");
77 uint32 V = CRC ^ Data[Idx];
99 template <
typename CharType>
108 CharType
C = *Data++;
118 template <
typename CharType>
127 CharType
C = *Data++;
217 int32 Len = FPlatformString::Strlen(Data);
274template <
typename InKeyType,
bool bInAllowDuplicateKeys = false>
290 template <
typename ComparableKey>
296 template <
typename ComparableKey = KeyInitType>
306template <
typename InKeyType,
typename InValueType,
bool bInAllowDuplicateKeys = false>
322 template <
typename ComparableKey>
328 template <
typename ComparableKey = KeyInitType>
335#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_5
#define check(expr)
Definition AssertionMacros.h:314
#define checkf(expr, format,...)
Definition AssertionMacros.h:315
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
UE_FORCEINLINE_HINT const TCHAR * ToCStr(const TCHAR *Ptr)
Definition Crc.h:266
static CORE_API void Init()
Definition Crc.cpp:428
static uint32 Strihash_DEPRECATED(const CharType *Data)
static uint32 StrCrc32(const CharType *Data, uint32 CRC=0)
Definition Crc.h:45
static uint32 StrCrc_DEPRECATED(const int32 DataLen, const CharType *Data)
Definition Crc.h:119
static uint32 StrCrc_DEPRECATED(const CharType *Data)
Definition Crc.h:100
static uint32 StrCrc32Len(const CharType *Data, int32 Length, uint32 CRC=0)
Definition Crc.h:67
static CORE_API uint32 MemCrc_DEPRECATED(const void *Data, int32 Length, uint32 CRC=0)
Definition Crc.cpp:592
static CORE_API MemCrc32Functor MemCrc32Func
Definition Crc.h:30
uint32(* MemCrc32Functor)(const void *Data, int32 Length, uint32 CRC)
Definition Crc.h:29
static CORE_API uint32 CRCTable_DEPRECATED[256]
Definition Crc.h:40
static UE_FORCEINLINE_HINT uint32 MemCrc32(const void *Data, int32 Length, uint32 CRC=0)
Definition Crc.h:31
static uint32 Strihash_DEPRECATED(const int32 DataLen, const CharType *Data)
static CORE_API uint32 CRCTablesSB8_DEPRECATED[8][256]
Definition Crc.h:60
static uint32 TypeCrc32(const T &Data, uint32 CRC=0)
Definition Crc.h:38
static CORE_API uint32 CRCTablesSB8[8][256]
Definition Crc.h:208
TCallTraitsParamTypeHelper< T, PassByValue >::ParamType ParamType
Definition UnrealTypeTraits.h:275
static CharType ToUpper(CharType Char)
Definition Char.h:80
static UE_FORCEINLINE_HINT KeyInitType GetSetKey(ElementInitType Element)
Definition Crc.h:317
static constexpr bool bAllowDuplicateKeys
Definition Crc.h:315
static UE_FORCEINLINE_HINT uint32 GetKeyHash(ComparableKey Key)
Definition Crc.h:329
typename TTypeTraits< InKeyType >::ConstPointerType KeyInitType
Definition Crc.h:312
static UE_FORCEINLINE_HINT bool Matches(KeyInitType A, const ComparableKey &B)
Definition Crc.h:323
InKeyType KeyType
Definition Crc.h:311
typename TCallTraits< InKeyType >::ParamType ElementInitType
Definition Crc.h:281
InKeyType KeyType
Definition Crc.h:279
static constexpr bool bAllowDuplicateKeys
Definition Crc.h:283
static UE_FORCEINLINE_HINT uint32 GetKeyHash(ComparableKey Key)
Definition Crc.h:297
typename TTypeTraits< InKeyType >::ConstPointerType KeyInitType
Definition Crc.h:280
static UE_FORCEINLINE_HINT KeyInitType GetSetKey(ElementInitType Element)
Definition Crc.h:285
static UE_FORCEINLINE_HINT bool Matches(KeyInitType A, const ComparableKey &B)
Definition Crc.h:291
TCallTraits< T >::ParamType ConstInitType
Definition UnrealTypeTraits.h:336
TCallTraits< T >::ConstPointerType ConstPointerType
Definition UnrealTypeTraits.h:337