This commit is contained in:
rozmansi
2024-01-02 11:12:57 +00:00
parent cfd2d06065
commit 96275804b7
712 changed files with 30422 additions and 28677 deletions

View File

@@ -3,12 +3,14 @@
<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="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>stdex: UnitTests/ring.cpp Source File</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>
<script type="text/javascript" src="clipboard.js"></script>
<script type="text/javascript" src="cookie.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>
@@ -30,7 +32,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
@@ -42,14 +44,14 @@ var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
$(function() { codefold.init(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
@@ -126,7 +128,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="keywordtype">int</span> seed = 0;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keywordflow">for</span> (;;) {</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="keywordtype">int</span>* ptr; <span class="keywordtype">size_t</span> num_read;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> tie(ptr, num_read) = ring.<a class="code hl_function" href="classstdex_1_1ring.html#a9b6571832cc636d98885af61651a0998">front</a>();</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> tie(ptr, num_read) = ring.<a class="code hl_function" href="classstdex_1_1ring.html#ad49cdfeb722bc80d51ba1db7e53e9366">front</a>();</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keywordflow">if</span> (!ptr) _Unlikely_</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordflow">if</span> (num_read &gt; 7)</div>
@@ -140,11 +142,11 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> };</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span>}</div>
<div class="ttc" id="aclassstdex_1_1ring_html"><div class="ttname"><a href="classstdex_1_1ring.html">stdex::ring</a></div><div class="ttdoc">Ring buffer.</div><div class="ttdef"><b>Definition</b> ring.hpp:23</div></div>
<div class="ttc" id="aclassstdex_1_1ring_html_a9b6571832cc636d98885af61651a0998"><div class="ttname"><a href="classstdex_1_1ring.html#a9b6571832cc636d98885af61651a0998">stdex::ring::front</a></div><div class="ttdeci">std::tuple&lt; T *, size_t &gt; front()</div><div class="ttdoc">Peeks the data at the ring head. Use pop() after the data was consumed.</div><div class="ttdef"><b>Definition</b> ring.hpp:72</div></div>
<div class="ttc" id="aclassstdex_1_1ring_html_ad49cdfeb722bc80d51ba1db7e53e9366"><div class="ttname"><a href="classstdex_1_1ring.html#ad49cdfeb722bc80d51ba1db7e53e9366">stdex::ring::front</a></div><div class="ttdeci">std::tuple&lt; T *, size_t &gt; front()</div><div class="ttdoc">Peeks the data at the ring head. Use pop() after the data was consumed.</div><div class="ttdef"><b>Definition</b> ring.hpp:72</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Dec 11 2023 10:34:14 for stdex 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
Generated on Tue Jan 2 2024 11:12:54 for stdex by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
</small></address>
</body>
</html>