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

Method align

src/dsql/DsqlBatch.cpp:903–912  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

901}
902
903void DsqlBatch::DataCache::align(ULONG alignment)
904{
905 ULONG a = getSize() % alignment;
906 if (a)
907 {
908 fb_assert(alignment <= sizeof(SINT64));
909 SINT64 zero = 0;
910 put(&zero, alignment - a);
911 }
912}
913
914void DsqlBatch::DataCache::done()
915{

Callers 4

addMethod · 0.45
blobPrepareMethod · 0.45
putSegmentMethod · 0.45
executeMethod · 0.45

Calls 1

putFunction · 0.50

Tested by

no test coverage detected