Files
rippled/structripple_1_1SlabAllocator_1_1SlabBlock.html
2025-11-04 00:36:48 -08:00

525 lines
30 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ripple::SlabAllocator&lt; Type &gt;::SlabBlock Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="classripple_1_1SlabAllocator.html">SlabAllocator</a></li><li class="navelem"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structripple_1_1SlabAllocator_1_1SlabBlock-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">ripple::SlabAllocator&lt; Type &gt;::SlabBlock Struct Reference</div></div>
</div><!--header-->
<div class="contents">
<p>A block of memory that is owned by a slab allocator.
<a href="structripple_1_1SlabAllocator_1_1SlabBlock.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for ripple::SlabAllocator&lt; Type &gt;::SlabBlock:</div>
<div class="dyncontent">
<div class="center"><img src="structripple_1_1SlabAllocator_1_1SlabBlock__coll__graph.png" border="0" usemap="#aripple_1_1SlabAllocator_3_01Type_01_4_1_1SlabBlock_coll__map" alt="Collaboration graph"/></div>
<map name="aripple_1_1SlabAllocator_3_01Type_01_4_1_1SlabBlock_coll__map" id="aripple_1_1SlabAllocator_3_01Type_01_4_1_1SlabBlock_coll__map">
<area shape="rect" title="A block of memory that is owned by a slab allocator." alt="" coords="82,211,237,251"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title=" " alt="" coords="5,5,97,31"/>
<area shape="poly" title=" " alt="" coords="60,43,76,92,100,147,122,180,145,209,140,212,118,183,96,149,71,94,55,45"/>
<area shape="rect" href="structripple_1_1SlabAllocator_1_1SlabBlock.html" title="A block of memory that is owned by a slab allocator." alt="" coords="159,108,314,148"/>
<area shape="poly" title=" " alt="" coords="84,35,206,106,203,110,82,40"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="132,5,227,31"/>
<area shape="poly" title=" " alt="" coords="165,44,147,74,134,109,131,136,135,163,152,209,147,211,130,164,126,136,129,107,143,71,160,41"/>
<area shape="poly" title=" " alt="" coords="194,42,229,106,224,109,190,44"/>
<area shape="poly" title=" " alt="" coords="216,161,176,212,172,209,212,157"/>
<area shape="poly" title=" " alt="" coords="329,119,341,128,333,136,315,140,314,134,330,131,335,128,326,123"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="317,5,405,31"/>
<area shape="poly" title=" " alt="" coords="379,41,391,65,401,93,404,122,394,149,362,182,322,204,279,219,238,227,237,222,278,214,320,199,358,177,389,147,398,122,396,94,386,67,374,44"/>
<area shape="poly" title=" " alt="" coords="339,42,260,110,257,106,336,38"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aae3b881e26f20ed039f89906952ee9ba" id="r_aae3b881e26f20ed039f89906952ee9ba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html#aae3b881e26f20ed039f89906952ee9ba">SlabBlock</a> (<a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> *next, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> *data, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> <a class="el" href="classripple_1_1SlabAllocator.html#a6d6d7d449e67409f252d02bdf3af20fe">size</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> item)</td></tr>
<tr class="separator:aae3b881e26f20ed039f89906952ee9ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfeb156b3aabe7e20995c2ef0291829d" id="r_adfeb156b3aabe7e20995c2ef0291829d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html#adfeb156b3aabe7e20995c2ef0291829d">~SlabBlock</a> ()</td></tr>
<tr class="separator:adfeb156b3aabe7e20995c2ef0291829d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbdf9cfef60136abf24d8778e72487d9" id="r_adbdf9cfef60136abf24d8778e72487d9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html#adbdf9cfef60136abf24d8778e72487d9">SlabBlock</a> (<a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> const &amp;other)=delete</td></tr>
<tr class="separator:adbdf9cfef60136abf24d8778e72487d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41304305a62494bccb36844c088879ec" id="r_a41304305a62494bccb36844c088879ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html#a41304305a62494bccb36844c088879ec">operator=</a> (<a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> const &amp;other)=delete</td></tr>
<tr class="separator:a41304305a62494bccb36844c088879ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fdbf7befe4aef1abc3a3038f5351dca" id="r_a5fdbf7befe4aef1abc3a3038f5351dca"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html#a5fdbf7befe4aef1abc3a3038f5351dca">SlabBlock</a> (<a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> &amp;&amp;other)=delete</td></tr>
<tr class="separator:a5fdbf7befe4aef1abc3a3038f5351dca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc9167178ec20048b5f0d626d4face10" id="r_afc9167178ec20048b5f0d626d4face10"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html#afc9167178ec20048b5f0d626d4face10">operator=</a> (<a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> &amp;&amp;other)=delete</td></tr>
<tr class="separator:afc9167178ec20048b5f0d626d4face10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0857c5a2b90481de09acad1f7efedd74" id="r_a0857c5a2b90481de09acad1f7efedd74"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html#a0857c5a2b90481de09acad1f7efedd74">own</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> const *p) const noexcept</td></tr>
<tr class="memdesc:a0857c5a2b90481de09acad1f7efedd74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the given pointer belongs to this allocator. <br /></td></tr>
<tr class="separator:a0857c5a2b90481de09acad1f7efedd74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4144237273edd77728808494ea467a9" id="r_af4144237273edd77728808494ea467a9"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html#af4144237273edd77728808494ea467a9">allocate</a> () noexcept</td></tr>
<tr class="separator:af4144237273edd77728808494ea467a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d97e4d8de0778cd8f11a7c26c2f5301" id="r_a3d97e4d8de0778cd8f11a7c26c2f5301"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html#a3d97e4d8de0778cd8f11a7c26c2f5301">deallocate</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> *ptr) noexcept</td></tr>
<tr class="memdesc:a3d97e4d8de0778cd8f11a7c26c2f5301"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return an item to this allocator's freelist. <br /></td></tr>
<tr class="separator:a3d97e4d8de0778cd8f11a7c26c2f5301"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a531411f3231aa0ae9aa735da7c739ce4" id="r_a531411f3231aa0ae9aa735da7c739ce4"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html#a531411f3231aa0ae9aa735da7c739ce4">m_</a></td></tr>
<tr class="separator:a531411f3231aa0ae9aa735da7c739ce4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae86708a8fd44754f5955cae59a42d0ae" id="r_ae86708a8fd44754f5955cae59a42d0ae"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html#ae86708a8fd44754f5955cae59a42d0ae">l_</a> = nullptr</td></tr>
<tr class="separator:ae86708a8fd44754f5955cae59a42d0ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c8358e65cf81019737a66dffe0887af" id="r_a1c8358e65cf81019737a66dffe0887af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html#a1c8358e65cf81019737a66dffe0887af">next_</a></td></tr>
<tr class="separator:a1c8358e65cf81019737a66dffe0887af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8db542e10fce31f924163e4cc3d04a62" id="r_a8db542e10fce31f924163e4cc3d04a62"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> const *const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html#a8db542e10fce31f924163e4cc3d04a62">p_</a> = nullptr</td></tr>
<tr class="separator:a8db542e10fce31f924163e4cc3d04a62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafc185f1180caa56ca93985bd66a1d24" id="r_aafc185f1180caa56ca93985bd66a1d24"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html#aafc185f1180caa56ca93985bd66a1d24">size_</a></td></tr>
<tr class="separator:aafc185f1180caa56ca93985bd66a1d24"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename Type&gt;<br />
struct ripple::SlabAllocator&lt; Type &gt;::SlabBlock</div><p>A block of memory that is owned by a slab allocator. </p>
<p class="definition">Definition at line <a class="el" href="SlabAllocator_8h_source.html#l00037">37</a> of file <a class="el" href="SlabAllocator_8h_source.html">SlabAllocator.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aae3b881e26f20ed039f89906952ee9ba" name="aae3b881e26f20ed039f89906952ee9ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae3b881e26f20ed039f89906952ee9ba">&#9670;&#160;</a></span>SlabBlock() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1SlabAllocator.html">ripple::SlabAllocator</a>&lt; Type &gt;::SlabBlock::SlabBlock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> *&#160;</td>
<td class="paramname"><em>next</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> *&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>&#160;</td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>&#160;</td>
<td class="paramname"><em>item</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SlabAllocator_8h_source.html#l00054">54</a> of file <a class="el" href="SlabAllocator_8h_source.html">SlabAllocator.h</a>.</p>
</div>
</div>
<a id="adfeb156b3aabe7e20995c2ef0291829d" name="adfeb156b3aabe7e20995c2ef0291829d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfeb156b3aabe7e20995c2ef0291829d">&#9670;&#160;</a></span>~SlabBlock()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1SlabAllocator.html">ripple::SlabAllocator</a>&lt; Type &gt;::SlabBlock::~SlabBlock </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SlabAllocator_8h_source.html#l00074">74</a> of file <a class="el" href="SlabAllocator_8h_source.html">SlabAllocator.h</a>.</p>
</div>
</div>
<a id="adbdf9cfef60136abf24d8778e72487d9" name="adbdf9cfef60136abf24d8778e72487d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbdf9cfef60136abf24d8778e72487d9">&#9670;&#160;</a></span>SlabBlock() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1SlabAllocator.html">ripple::SlabAllocator</a>&lt; Type &gt;::SlabBlock::SlabBlock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> const &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a5fdbf7befe4aef1abc3a3038f5351dca" name="a5fdbf7befe4aef1abc3a3038f5351dca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fdbf7befe4aef1abc3a3038f5351dca">&#9670;&#160;</a></span>SlabBlock() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1SlabAllocator.html">ripple::SlabAllocator</a>&lt; Type &gt;::SlabBlock::SlabBlock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> &amp;&amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a41304305a62494bccb36844c088879ec" name="a41304305a62494bccb36844c088879ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41304305a62494bccb36844c088879ec">&#9670;&#160;</a></span>operator=() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> &amp; <a class="el" href="classripple_1_1SlabAllocator.html">ripple::SlabAllocator</a>&lt; Type &gt;::SlabBlock::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> const &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="afc9167178ec20048b5f0d626d4face10" name="afc9167178ec20048b5f0d626d4face10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc9167178ec20048b5f0d626d4face10">&#9670;&#160;</a></span>operator=() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> &amp; <a class="el" href="classripple_1_1SlabAllocator.html">ripple::SlabAllocator</a>&lt; Type &gt;::SlabBlock::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a> &amp;&amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a0857c5a2b90481de09acad1f7efedd74" name="a0857c5a2b90481de09acad1f7efedd74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0857c5a2b90481de09acad1f7efedd74">&#9670;&#160;</a></span>own()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classripple_1_1SlabAllocator.html">ripple::SlabAllocator</a>&lt; Type &gt;::SlabBlock::own </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> const *&#160;</td>
<td class="paramname"><em>p</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Determines whether the given pointer belongs to this allocator. </p>
<p class="definition">Definition at line <a class="el" href="SlabAllocator_8h_source.html#l00091">91</a> of file <a class="el" href="SlabAllocator_8h_source.html">SlabAllocator.h</a>.</p>
</div>
</div>
<a id="af4144237273edd77728808494ea467a9" name="af4144237273edd77728808494ea467a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4144237273edd77728808494ea467a9">&#9670;&#160;</a></span>allocate()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> * <a class="el" href="classripple_1_1SlabAllocator.html">ripple::SlabAllocator</a>&lt; Type &gt;::SlabBlock::allocate </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SlabAllocator_8h_source.html#l00097">97</a> of file <a class="el" href="SlabAllocator_8h_source.html">SlabAllocator.h</a>.</p>
</div>
</div>
<a id="a3d97e4d8de0778cd8f11a7c26c2f5301" name="a3d97e4d8de0778cd8f11a7c26c2f5301"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d97e4d8de0778cd8f11a7c26c2f5301">&#9670;&#160;</a></span>deallocate()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classripple_1_1SlabAllocator.html">ripple::SlabAllocator</a>&lt; Type &gt;::SlabBlock::deallocate </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> *&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return an item to this allocator's freelist. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ptr</td><td>The pointer to the chunk of memory being deallocated.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This is a dangerous, private interface; the item being returned should belong to this allocator. Debug builds will check and assert if this is not the case. Release builds will not. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SlabAllocator_8h_source.html#l00127">127</a> of file <a class="el" href="SlabAllocator_8h_source.html">SlabAllocator.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a531411f3231aa0ae9aa735da7c739ce4" name="a531411f3231aa0ae9aa735da7c739ce4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a531411f3231aa0ae9aa735da7c739ce4">&#9670;&#160;</a></span>m_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> <a class="el" href="classripple_1_1SlabAllocator.html">ripple::SlabAllocator</a>&lt; Type &gt;::SlabBlock::m_</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SlabAllocator_8h_source.html#l00040">40</a> of file <a class="el" href="SlabAllocator_8h_source.html">SlabAllocator.h</a>.</p>
</div>
</div>
<a id="ae86708a8fd44754f5955cae59a42d0ae" name="ae86708a8fd44754f5955cae59a42d0ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae86708a8fd44754f5955cae59a42d0ae">&#9670;&#160;</a></span>l_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a>* <a class="el" href="classripple_1_1SlabAllocator.html">ripple::SlabAllocator</a>&lt; Type &gt;::SlabBlock::l_ = nullptr</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SlabAllocator_8h_source.html#l00043">43</a> of file <a class="el" href="SlabAllocator_8h_source.html">SlabAllocator.h</a>.</p>
</div>
</div>
<a id="a1c8358e65cf81019737a66dffe0887af" name="a1c8358e65cf81019737a66dffe0887af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c8358e65cf81019737a66dffe0887af">&#9670;&#160;</a></span>next_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1SlabAllocator_1_1SlabBlock.html">SlabBlock</a>* <a class="el" href="classripple_1_1SlabAllocator.html">ripple::SlabAllocator</a>&lt; Type &gt;::SlabBlock::next_</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SlabAllocator_8h_source.html#l00046">46</a> of file <a class="el" href="SlabAllocator_8h_source.html">SlabAllocator.h</a>.</p>
</div>
</div>
<a id="a8db542e10fce31f924163e4cc3d04a62" name="a8db542e10fce31f924163e4cc3d04a62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8db542e10fce31f924163e4cc3d04a62">&#9670;&#160;</a></span>p_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> const* const <a class="el" href="classripple_1_1SlabAllocator.html">ripple::SlabAllocator</a>&lt; Type &gt;::SlabBlock::p_ = nullptr</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SlabAllocator_8h_source.html#l00049">49</a> of file <a class="el" href="SlabAllocator_8h_source.html">SlabAllocator.h</a>.</p>
</div>
</div>
<a id="aafc185f1180caa56ca93985bd66a1d24" name="aafc185f1180caa56ca93985bd66a1d24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafc185f1180caa56ca93985bd66a1d24">&#9670;&#160;</a></span>size_</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> const <a class="el" href="classripple_1_1SlabAllocator.html">ripple::SlabAllocator</a>&lt; Type &gt;::SlabBlock::size_</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SlabAllocator_8h_source.html#l00052">52</a> of file <a class="el" href="SlabAllocator_8h_source.html">SlabAllocator.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>