MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / print

Function print

tests/DCPS/Serializer/SerializerTest.cpp:145–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void print(const size_t& pos, const size_t& expectedPos,
146 size_t& prevPos, bool& readPosOk, std::string type)
147{
148 if (pos != expectedPos && readPosOk) {
149 std::cerr << "ERROR: Read " << type << " -- Prev position: " << prevPos << ". Read: "
150 << pos << ". Expected: " << expectedPos << std::endl;
151 readPosOk = false;
152 }
153 prevPos = pos;
154}
155
156bool extractions(Serializer& serializer, Values& values,
157 const Encoding& encoding, const bool checkPos)

Callers 15

extractionsFunction · 0.70
gdb_printFunction · 0.50
_std_valuesFunction · 0.50
set_a_varFunction · 0.50
generate_fake_filesFunction · 0.50
mainFunction · 0.50
memory_statsFunction · 0.50
printMethod · 0.50
parseFunction · 0.50
write_diffFunction · 0.50
massif-diff.pyFile · 0.50
initMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected