This commit is contained in:
seelabs
2021-11-19 13:45:43 +00:00
parent e4e2fce0b3
commit ef77e7e117
3534 changed files with 54687 additions and 52679 deletions

View File

@@ -246,7 +246,7 @@ $(function() {
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="agroup__SHAMap_html_gac9adec7146a8bea60fe6acf6c1ed98d1"><div class="ttname"><a href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">ripple::SHAMapTreeNode::cowid</a></div><div class="ttdeci">std::uint32_t cowid() const</div><div class="ttdoc">Returns the SHAMap that owns this node.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00197">SHAMapTreeNode.h:197</a></div></div>
<div class="ttc" id="agroup__SHAMap_html_gac9adec7146a8bea60fe6acf6c1ed98d1"><div class="ttname"><a href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">ripple::SHAMapTreeNode::cowid</a></div><div class="ttdeci">std::uint32_t cowid() const</div><div class="ttdoc">Returns the SHAMap that owns this node.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00116">SHAMapTreeNode.h:116</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a5f4b0002303fdffed19ea5019f8070f8"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a5f4b0002303fdffed19ea5019f8070f8">ripple::SHAMapInnerNode::serializeWithPrefix</a></div><div class="ttdeci">void serializeWithPrefix(Serializer &amp;) const override</div><div class="ttdoc">Serialize the node in a format appropriate for hashing.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8cpp_source.html#l00248">SHAMapInnerNode.cpp:248</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a11f313e4e571af4bd75a5a3f7abeceee"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a11f313e4e571af4bd75a5a3f7abeceee">ripple::SHAMapInnerNode::isInner</a></div><div class="ttdeci">bool isInner() const override</div><div class="ttdoc">Determines if this is an inner node.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8h_source.html#l00129">SHAMapInnerNode.h:129</a></div></div>
<div class="ttc" id="abitset_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/bitset.html">bitset</a></div></div>
@@ -261,14 +261,14 @@ $(function() {
<div class="ttc" id="aclassripple_1_1Slice_html"><div class="ttname"><a href="classripple_1_1Slice.html">ripple::Slice</a></div><div class="ttdoc">An immutable linear range of bytes.</div><div class="ttdef"><b>Definition:</b> <a href="Slice_8h_source.html#l00044">Slice.h:44</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_ad1efe48ac7bf6f3b4a10ad9c26573bec"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#ad1efe48ac7bf6f3b4a10ad9c26573bec">ripple::SHAMapInnerNode::makeFullInner</a></div><div class="ttdeci">static std::shared_ptr&lt; SHAMapTreeNode &gt; makeFullInner(Slice data, SHAMapHash const &amp;hash, bool hashValid)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8cpp_source.html#l00130">SHAMapInnerNode.cpp:130</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_ad1d3440e82f822d85cc57734a16dc524"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#ad1d3440e82f822d85cc57734a16dc524">ripple::SHAMapInnerNode::canonicalizeChild</a></div><div class="ttdeci">virtual std::shared_ptr&lt; SHAMapTreeNode &gt; canonicalizeChild(int branch, std::shared_ptr&lt; SHAMapTreeNode &gt; node)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8cpp_source.html#l00363">SHAMapInnerNode.cpp:363</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae0356b1de00f841c554c830be509dd58"><div class="ttname"><a href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">ripple::SHAMapNodeType</a></div><div class="ttdeci">SHAMapNodeType</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00127">SHAMapTreeNode.h:127</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae0356b1de00f841c554c830be509dd58"><div class="ttname"><a href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">ripple::SHAMapNodeType</a></div><div class="ttdeci">SHAMapNodeType</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00046">SHAMapTreeNode.h:46</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a73212411125e46812e0e19f2e307b155"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a73212411125e46812e0e19f2e307b155">ripple::SHAMapInnerNode::updateHash</a></div><div class="ttdeci">void updateHash() override</div><div class="ttdoc">Recalculate the hash of this node.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8cpp_source.html#l00194">SHAMapInnerNode.cpp:194</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a42a7132ff24a6edf8ca1e022f61826d9"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a42a7132ff24a6edf8ca1e022f61826d9">ripple::SHAMapInnerNode::branchFactor</a></div><div class="ttdeci">static constexpr unsigned int branchFactor</div><div class="ttdoc">Each inner node has 16 children (the 'radix tree' part of the map)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8h_source.html#l00044">SHAMapInnerNode.h:44</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a1a5be285c023d39777772c86322df101"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a1a5be285c023d39777772c86322df101">ripple::SHAMapInnerNode::shareChild</a></div><div class="ttdeci">void shareChild(int m, std::shared_ptr&lt; SHAMapTreeNode &gt; const &amp;child)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8cpp_source.html#l00321">SHAMapInnerNode.cpp:321</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html">ripple::SHAMapNodeID</a></div><div class="ttdoc">Identifies a node inside a SHAMap.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapNodeID_8h_source.html#l00033">SHAMapNodeID.h:33</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a636a12a32e96bbd6a7d32e580a55fd4f"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a636a12a32e96bbd6a7d32e580a55fd4f">ripple::SHAMapInnerNode::iterChildren</a></div><div class="ttdeci">void iterChildren(F &amp;&amp;f) const</div><div class="ttdoc">Call the f callback for all 16 (branchFactor) branches - even if the branch is empty.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8cpp_source.html#l00056">SHAMapInnerNode.cpp:56</a></div></div>
<div class="ttc" id="aclassripple_1_1TaggedPointer_html"><div class="ttname"><a href="classripple_1_1TaggedPointer.html">ripple::TaggedPointer</a></div><div class="ttdoc">TaggedPointer is a combination of a pointer and a mask stored in the lowest two bits.</div><div class="ttdef"><b>Definition:</b> <a href="TaggedPointer_8h_source.html#l00057">TaggedPointer.h:57</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapHash_html"><div class="ttname"><a href="classripple_1_1SHAMapHash.html">ripple::SHAMapHash</a></div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00048">SHAMapTreeNode.h:48</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapHash_html"><div class="ttname"><a href="classripple_1_1SHAMapHash.html">ripple::SHAMapHash</a></div><div class="ttdef"><b>Definition:</b> <a href="SHAMapHash_8h_source.html#l00032">SHAMapHash.h:32</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a5b4f103d62324f6efb4e21a8a6404c27"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a5b4f103d62324f6efb4e21a8a6404c27">ripple::SHAMapInnerNode::isEmptyBranch</a></div><div class="ttdeci">bool isEmptyBranch(int m) const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8h_source.html#l00195">SHAMapInnerNode.h:195</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a5c356c106a60a7f75bff902bd04cb505"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a5c356c106a60a7f75bff902bd04cb505">ripple::SHAMapInnerNode::iterNonEmptyChildIndexes</a></div><div class="ttdeci">void iterNonEmptyChildIndexes(F &amp;&amp;f) const</div><div class="ttdoc">Call the f callback for all non-empty branches.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8cpp_source.html#l00063">SHAMapInnerNode.cpp:63</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_aa91785cf9d4979e8dd4dd9c183ad9c5e"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#aa91785cf9d4979e8dd4dd9c183ad9c5e">ripple::SHAMapInnerNode::getString</a></div><div class="ttdeci">std::string getString(SHAMapNodeID const &amp;) const override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8cpp_source.html#l00270">SHAMapInnerNode.cpp:270</a></div></div>
@@ -277,7 +277,7 @@ $(function() {
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html">ripple::SHAMapInnerNode</a></div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8h_source.html#l00039">SHAMapInnerNode.h:39</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a64c8817ea46bb682a9d354590cd11449"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a64c8817ea46bb682a9d354590cd11449">ripple::SHAMapInnerNode::resizeChildArrays</a></div><div class="ttdeci">void resizeChildArrays(std::uint8_t toAllocate)</div><div class="ttdoc">Convert arrays stored in hashesAndChildren_ so they can store the requested number of children.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8cpp_source.html#l00069">SHAMapInnerNode.cpp:69</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a597b4db5c84297776d2e8ebdbe9e1b6f"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a597b4db5c84297776d2e8ebdbe9e1b6f">ripple::SHAMapInnerNode::isFullBelow</a></div><div class="ttdeci">bool isFullBelow(std::uint32_t generation) const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8h_source.html#l00201">SHAMapInnerNode.h:201</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html">ripple::SHAMapTreeNode</a></div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00134">SHAMapTreeNode.h:134</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html">ripple::SHAMapTreeNode</a></div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00053">SHAMapTreeNode.h:53</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a25aac316c799590fec7f818d5b5584b5"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a25aac316c799590fec7f818d5b5584b5">ripple::SHAMapInnerNode::getChildIndex</a></div><div class="ttdeci">std::optional&lt; int &gt; getChildIndex(int i) const</div><div class="ttdoc">Get the child's index inside the hashes or children array (stored in hashesAndChildren_.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8cpp_source.html#l00076">SHAMapInnerNode.cpp:76</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_ad83701be0c7a908a61601d1bcbf7ecb1"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#ad83701be0c7a908a61601d1bcbf7ecb1">ripple::SHAMapInnerNode::updateHashDeep</a></div><div class="ttdeci">void updateHashDeep()</div><div class="ttdoc">Recalculate the hash of all children and this node.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8cpp_source.html#l00209">SHAMapInnerNode.cpp:209</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a2cf4d1f797c61c9e2bb458b7b14056b6"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a2cf4d1f797c61c9e2bb458b7b14056b6">ripple::SHAMapInnerNode::SHAMapInnerNode</a></div><div class="ttdeci">SHAMapInnerNode(std::uint32_t cowid, std::uint8_t numAllocatedChildren=2)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapInnerNode_8cpp_source.html#l00045">SHAMapInnerNode.cpp:45</a></div></div>