MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / close

Method close

src/test/fuzz/util.cpp:351–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351int FuzzedFileProvider::close(void* cookie)
352{
353 FuzzedFileProvider* fuzzed_file = (FuzzedFileProvider*)cookie;
354 SetFuzzedErrNo(fuzzed_file->m_fuzzed_data_provider);
355 return fuzzed_file->m_fuzzed_data_provider.ConsumeIntegralInRange<int>(-1, 0);
356}

Callers 15

writeBlockMethod · 0.45
runMethod · 0.45
tree_sha512sumFunction · 0.45
save_binaryFunction · 0.45
save_textFunction · 0.45
mainFunction · 0.45
IsSQLiteFileFunction · 0.45
DumpWalletFunction · 0.45
CreateFromDumpFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
showProgressMethod · 0.45

Calls 1

SetFuzzedErrNoFunction · 0.85

Tested by

no test coverage detected