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

Function ERR_isError

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

Source from the content-addressed store, hash-verified

808#define ZSTD_ERROR(name) ((size_t)-PREFIX(name))
809
810ERR_STATIC unsigned ERR_isError(size_t code) { return (code > ERROR(maxCode)); }
811
812ERR_STATIC ERR_enum ERR_getErrorCode(size_t code) { if (!ERR_isError(code)) return (ERR_enum)0; return (ERR_enum) (0-code); }
813

Callers 10

ERR_getErrorCodeFunction · 0.70
FSE_isErrorFunction · 0.70
HUF_isErrorFunction · 0.70
ZSTD_isErrorFunction · 0.70
HIST_isErrorFunction · 0.70
ZSTD_compressLiteralsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected