Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDDS/OpenDDS
/ set_size
Method
set_size
dds/DCPS/MemoryPool.cpp:72–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
70
}
71
72
void
73
AllocHeader::set_size(size_t size)
74
{
75
if (is_free()) {
76
size *= static_cast<size_t>(-1);
77
}
78
alloc_size_ = (int)size;
79
}
80
81
void
82
AllocHeader::join_next() {
Callers
3
join_next
Method · 0.95
allocate
Method · 0.80
free_block
Method · 0.80
Calls
1
is_free
Function · 0.85
Tested by
no test coverage detected