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

Function MEM_read16

freebsd/contrib/zstd/lib/common/mem.h:166–166  ·  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

164/* violates C standard, by lying on structure alignment.
165Only use if no other choice to achieve best performance on target platform */
166MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; }
167MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; }
168MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; }
169MEM_STATIC size_t MEM_readST(const void* memPtr) { return *(const size_t*) memPtr; }

Callers 5

MEM_readLE16Function · 0.70
FSE_initCStateFunction · 0.70
ZSTD_countFunction · 0.50
ZDICT_analyzePosFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected