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

Method larger_free

dds/DCPS/MemoryPool.cpp:117–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117FreeHeader*
118FreeHeader::larger_free(unsigned char* pool_base) const
119{
120 FreeHeader* result = NULL;
121 if (offset_larger_free_ != (std::numeric_limits<size_t>::max)()) {
122 result = reinterpret_cast<FreeHeader*>(pool_base + offset_larger_free_);
123 }
124 return result;
125}
126
127void
128FreeHeader::set_smaller_free(FreeHeader* next, unsigned char* pool_base)

Callers 6

remove_free_allocMethod · 0.80
validate_poolMethod · 0.80
validate_poolMethod · 0.80
test_add_removeMethod · 0.80
test_removesMethod · 0.80
list_removeMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_add_removeMethod · 0.64
test_removesMethod · 0.64