xo-alloc2 xo-gc: assorted utest-guided cleanup ++ coverage
This commit is contained in:
parent
c206dd2e16
commit
eee261d573
2 changed files with 2 additions and 2 deletions
|
|
@ -78,7 +78,7 @@ namespace xo {
|
|||
/** Number of guard bytes **/
|
||||
size_type guard_z() const noexcept { return p_config_->guard_z_; }
|
||||
/** Value (fixed test pattern) of guard byte **/
|
||||
char guard_byte() const noexcept { return p_config_->guard_byte_; }
|
||||
uint8_t guard_byte() const noexcept { return p_config_->guard_byte_; }
|
||||
|
||||
///@}
|
||||
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ namespace xo {
|
|||
**/
|
||||
bool contains(const void * addr) const noexcept { return (lo_ <= addr) && (addr < hi_); }
|
||||
|
||||
/** Truee iff address @p addr is owned by this arena and in allocated regions **/
|
||||
/** True iff address @p addr is owned by this arena and in allocated regions **/
|
||||
bool contains_allocated(const void * addr) const noexcept { return (lo_ <= addr) && (addr < free_); }
|
||||
|
||||
/** true if arena is mapped i.e. has a reserved address range **/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue