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

Method done

src/dsql/DsqlBatch.cpp:914–925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

912}
913
914void DsqlBatch::DataCache::done()
915{
916 if (m_cache.getCount() && m_used)
917 {
918 fb_assert(m_space);
919
920 const FB_UINT64 writtenBytes = m_space->write(m_used, m_cache.begin(), m_cache.getCount());
921 fb_assert(writtenBytes == m_cache.getCount());
922 m_used += m_cache.getCount();
923 m_cache.clear();
924 }
925}
926
927ULONG DsqlBatch::DataCache::get(UCHAR** buffer)
928{

Callers 15

pkcs_1_mgf1Function · 0.45
pkcs_1_pss_decodeFunction · 0.45
pkcs_1_pss_encodeFunction · 0.45
hash_memory_multiFunction · 0.45
hash_filehandleFunction · 0.45
hash_memoryFunction · 0.45
ccm_doneFunction · 0.45
ccm_testFunction · 0.45
ccm_memoryFunction · 0.45
gcm_doneFunction · 0.45
s_ocb_doneFunction · 0.45
yarrow_add_entropyFunction · 0.45

Calls 4

getCountMethod · 0.45
writeMethod · 0.45
beginMethod · 0.45
clearMethod · 0.45

Tested by 2

ccm_testFunction · 0.36
prng_testFunction · 0.36