MCPcopy Create free account
hub / github.com/Compiled-Code/eac-mapper / size

Method size

dependencies/vdm/util/util.hpp:38–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 static constexpr uint16_t cm_resource_memory_large_64{ 0x800 };
37
38 uint64_t size()const noexcept
39 {
40 if (flags & cm_resource_memory_large_40)
41 return uint64_t{ sizeButNotExactly } << 8;
42 else if (flags & cm_resource_memory_large_48)
43 return uint64_t{ sizeButNotExactly } << 16;
44 else if (flags & cm_resource_memory_large_64)
45 return uint64_t{ sizeButNotExactly } << 32;
46 else
47 return uint64_t{ sizeButNotExactly };
48 }
49 };
50 static_assert(sizeof(PhysicalMemoryPage) == 20);
51#pragma pack (pop)

Callers 1

util.hppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected