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

Method ptr

dds/DCPS/MemoryPool.cpp:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41unsigned char*
42AllocHeader::ptr() const
43{
44 const unsigned char* buff = reinterpret_cast<const unsigned char*>(this + 1);
45 return const_cast<unsigned char*>(buff);
46}
47
48AllocHeader*
49AllocHeader::next_adjacent() {

Callers 15

ACE_TMAINFunction · 0.45
ACE_TMAINFunction · 0.45
createPublicationMethod · 0.45
write_w_timestampMethod · 0.45
addMethod · 0.45
removeMethod · 0.45
findMethod · 0.45
validate_indexMethod · 0.45
allocateMethod · 0.45
validate_poolMethod · 0.45
hkdfFunction · 0.45
target_intersectionMethod · 0.45

Calls

no outgoing calls

Tested by 11

ACE_TMAINFunction · 0.36
ACE_TMAINFunction · 0.36
test_setupMethod · 0.36
test_addMethod · 0.36
test_add_odd_sizeMethod · 0.36
test_add_same_sizeMethod · 0.36
test_add_largerMethod · 0.36
test_add_smallerMethod · 0.36
test_full_findMethod · 0.36
test_too_small_findMethod · 0.36
test_too_large_findMethod · 0.36