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

Method getClumpTag

src/common/classes/ClumpletReader.cpp:780–793  ·  view source on GitHub ↗

Methods which work with currently selected clumplet

Source from the content-addressed store, hash-verified

778
779// Methods which work with currently selected clumplet
780UCHAR ClumpletReader::getClumpTag() const
781{
782 const UCHAR* clumplet = getBuffer() + cur_offset;
783 const UCHAR* const buffer_end = getBufferEnd();
784
785 // Check for EOF
786 if (clumplet >= buffer_end)
787 {
788 usage_mistake("read past EOF");
789 return 0;
790 }
791
792 return clumplet[0];
793}
794
795FB_SIZE_T ClumpletReader::getClumpLength() const
796{

Callers 15

TDR_list_limboFunction · 0.80
accept_connectionFunction · 0.80
parseInfoMethod · 0.80
addServerKeysMethod · 0.80
MERGE_database_infoFunction · 0.80
setParamsFromDPBMethod · 0.80
BatchMethod · 0.80
setServerInfoMethod · 0.80
getInfoMethod · 0.80
loadClntMethod · 0.80
accept_connectionFunction · 0.80

Calls 1

getBufferFunction · 0.85

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64