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

Function BMK_runOutcome_error

freebsd/contrib/zstd/programs/benchfn.c:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83static BMK_runOutcome_t BMK_runOutcome_error(size_t errorResult)
84{
85 BMK_runOutcome_t b;
86 memset(&b, 0, sizeof(b));
87 b.error_tag_never_ever_use_directly = 1;
88 b.error_result_never_ever_use_directly = errorResult;
89 return b;
90}
91
92static BMK_runOutcome_t BMK_setValid_runTime(BMK_runTime_t runTime)
93{

Callers 1

BMK_benchFunctionFunction · 0.85

Calls 1

memsetFunction · 0.85

Tested by

no test coverage detected