MCPcopy Create free account
hub / github.com/F-Stack/f-stack / MEM_read16

Function MEM_read16

freebsd/contrib/openzfs/module/zstd/lib/zstd.c:400–400  ·  view source on GitHub ↗

violates C standard, by lying on structure alignment. Only use if no other choice to achieve best performance on target platform */

Source from the content-addressed store, hash-verified

398/* violates C standard, by lying on structure alignment.
399Only use if no other choice to achieve best performance on target platform */
400MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; }
401MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; }
402MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; }
403MEM_STATIC size_t MEM_readST(const void* memPtr) { return *(const size_t*) memPtr; }

Callers 4

MEM_readLE16Function · 0.70
FSE_initCStateFunction · 0.70
ZSTD_countFunction · 0.70

Calls 1

memcpyFunction · 0.50

Tested by

no test coverage detected