MCPcopy Create free account
hub / github.com/ElementsProject/elements / close

Method close

src/test/fuzz/util.cpp:610–615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608}
609
610int FuzzedFileProvider::close(void* cookie)
611{
612 FuzzedFileProvider* fuzzed_file = (FuzzedFileProvider*)cookie;
613 SetFuzzedErrNo(fuzzed_file->m_fuzzed_data_provider);
614 return fuzzed_file->m_fuzzed_data_provider.ConsumeIntegralInRange<int>(-1, 0);
615}

Callers 15

writeBlockMethod · 0.45
runMethod · 0.45
linearize-data.pyFile · 0.45
tree_sha512sumFunction · 0.45
_requestMethod · 0.45
read_file_linesFunction · 0.45
write_file_linesFunction · 0.45
IsSQLiteFileFunction · 0.45
CloseMethod · 0.45
OpenMethod · 0.45
CloseDbMethod · 0.45

Calls 1

SetFuzzedErrNoFunction · 0.85

Tested by

no test coverage detected