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

Function HUF_getDTableDesc

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

Source from the content-addressed store, hash-verified

21450typedef struct { BYTE maxTableLog; BYTE tableType; BYTE tableLog; BYTE reserved; } DTableDesc;
21451
21452static DTableDesc HUF_getDTableDesc(const HUF_DTable* table)
21453{
21454 DTableDesc dtd;
21455 memcpy(&dtd, table, sizeof(dtd));
21456 return dtd;
21457}
21458
21459
21460#ifndef HUF_FORCE_DECOMPRESS_X2

Calls 1

memcpyFunction · 0.50

Tested by

no test coverage detected