MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / DEATH_UNLIKELY

Function DEATH_UNLIKELY

Sources/Shared/IO/PakFile.cpp:139–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 auto readU16 = [&]() -> std::uint16_t {
138 std::uint16_t value = s->ReadValueAsLE<std::uint16_t>();
139 if DEATH_UNLIKELY(isBigEndian) {
140 value = Memory::SwapBytes(value);
141 }
142 return value;
143 };
144

Callers 15

ReadMethod · 0.70
PakFileMethod · 0.70
DEATH_ASSERTFunction · 0.70
OpenFileMethod · 0.70
FindItemMethod · 0.70
FindItemByHashMethod · 0.70
IncrementMethod · 0.70
FinalizeMethod · 0.70
ReadMethod · 0.70
FileStream.cppFile · 0.70
WriteMethod · 0.70
GetSizeMethod · 0.70

Calls 1

SwapBytesFunction · 0.85

Tested by 2

ReadMethod · 0.40
WriteMethod · 0.40