MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / assign

Method assign

src/jrd/extds/ExtDS.cpp:2666–2677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2664{ }
2665
2666void CryptHash::assign(ICryptKeyCallback* callback)
2667{
2668 fb_assert(!isValid());
2669
2670 FbLocalStatus status;
2671
2672 int len = callback->getHashLength(&status);
2673 if (len > 0 && status.isSuccess())
2674 callback->getHashData(&status, m_value.getBuffer(len));
2675
2676 m_valid = (len >= 0) && status.isSuccess();
2677}
2678
2679bool CryptHash::operator==(const CryptHash& h) const
2680{

Callers 10

getBoundConnectionMethod · 0.45
preprocessMethod · 0.45
setRedirectMethod · 0.45
findBestOrderMethod · 0.45
RetrievalMethod · 0.45
makeInversionMethod · 0.45
StreamStateHolderMethod · 0.45
joinDependentStreamsMethod · 0.45
generateRetrievalMethod · 0.45

Calls 4

getHashLengthMethod · 0.45
isSuccessMethod · 0.45
getHashDataMethod · 0.45
getBufferMethod · 0.45

Tested by

no test coverage detected