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

Function MEM_writeLE32

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

Source from the content-addressed store, hash-verified

560}
561
562MEM_STATIC void MEM_writeLE32(void* memPtr, U32 val32)
563{
564 if (MEM_isLittleEndian())
565 MEM_write32(memPtr, val32);
566 else
567 MEM_write32(memPtr, MEM_swap32(val32));
568}
569
570MEM_STATIC U64 MEM_readLE64(const void* memPtr)
571{

Callers 7

MEM_writeLESTFunction · 0.70
ZSTD_noCompressLiteralsFunction · 0.70
ZSTD_compressLiteralsFunction · 0.70
ZSTD_writeFrameHeaderFunction · 0.70
ZSTD_writeEpilogueFunction · 0.70

Calls 3

MEM_isLittleEndianFunction · 0.70
MEM_write32Function · 0.70
MEM_swap32Function · 0.70

Tested by

no test coverage detected