Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'classllfio__v2__xxx_1_1mapped.html')
-rw-r--r--classllfio__v2__xxx_1_1mapped.html31
1 files changed, 19 insertions, 12 deletions
diff --git a/classllfio__v2__xxx_1_1mapped.html b/classllfio__v2__xxx_1_1mapped.html
index dd28051e..51709bf4 100644
--- a/classllfio__v2__xxx_1_1mapped.html
+++ b/classllfio__v2__xxx_1_1mapped.html
@@ -127,8 +127,8 @@ const <a class="el" href="classllfio__v2__xxx_1_1section__handle.html">section_h
const <a class="el" href="classllfio__v2__xxx_1_1map__handle.html">map_handle</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1mapped.html#a242f94515ea03ad443afe5ecefa297a0">map</a> () const noexcept</td></tr>
<tr class="memdesc:a242f94515ea03ad443afe5ecefa297a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the internal map handle. <br /></td></tr>
<tr class="separator:a242f94515ea03ad443afe5ecefa297a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:aa73a37d05f4864c72b66e7a2b2e8bc6b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1mapped.html#aa73a37d05f4864c72b66e7a2b2e8bc6b">mapped</a> (<a class="el" href="classllfio__v2__xxx_1_1mapped.html#a25d56aca213617d530ab3c9cb6f43df5">size_type</a> <a class="el" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a>, section_handle::flag _flag=section_handle::flag::readwrite)</td></tr>
-<tr class="separator:aa73a37d05f4864c72b66e7a2b2e8bc6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:afb5d860d3f7fc1d4bad147f0a121d144"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1mapped.html#afb5d860d3f7fc1d4bad147f0a121d144">mapped</a> (<a class="el" href="classllfio__v2__xxx_1_1mapped.html#a25d56aca213617d530ab3c9cb6f43df5">size_type</a> <a class="el" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a>, bool zeroed=false, section_handle::flag _flag=section_handle::flag::readwrite)</td></tr>
+<tr class="separator:afb5d860d3f7fc1d4bad147f0a121d144"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6396b66fe61498bf18eaed6df6f7a2b9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1mapped.html#a6396b66fe61498bf18eaed6df6f7a2b9">mapped</a> (<a class="el" href="classllfio__v2__xxx_1_1section__handle.html">section_handle</a> &amp;sh, <a class="el" href="classllfio__v2__xxx_1_1mapped.html#a25d56aca213617d530ab3c9cb6f43df5">size_type</a> <a class="el" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a>=(<a class="el" href="classllfio__v2__xxx_1_1mapped.html#a25d56aca213617d530ab3c9cb6f43df5">size_type</a>) -1, <a class="el" href="classllfio__v2__xxx_1_1mapped.html#acfd0ab21349fb0eb56172b81d6a7fa83">extent_type</a> byteoffset=0, section_handle::flag _flag=section_handle::flag::readwrite)</td></tr>
<tr class="separator:a6396b66fe61498bf18eaed6df6f7a2b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c0b040a5d05978636dd20289fe5d16a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1mapped.html#a0c0b040a5d05978636dd20289fe5d16a">mapped</a> (<a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a> &amp;backing, <a class="el" href="classllfio__v2__xxx_1_1mapped.html#a25d56aca213617d530ab3c9cb6f43df5">size_type</a> <a class="el" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a>=(<a class="el" href="classllfio__v2__xxx_1_1mapped.html#a25d56aca213617d530ab3c9cb6f43df5">size_type</a>) -1, <a class="el" href="classllfio__v2__xxx_1_1mapped.html#acfd0ab21349fb0eb56172b81d6a7fa83">extent_type</a> maximum_size=0, <a class="el" href="classllfio__v2__xxx_1_1mapped.html#acfd0ab21349fb0eb56172b81d6a7fa83">extent_type</a> byteoffset=0, section_handle::flag _flag=section_handle::flag::readwrite)</td></tr>
@@ -142,8 +142,8 @@ class llfio_v2_xxx::mapped&lt; T &gt;</h3>
<p>This opens a new <code>map_handle</code> (and if necessary a <code>section_handle</code>) onto the requested offset and length of the supplied source, and thus is an <em>owning</em> view of mapped memory. It can be moved, but not copied. If you wish to pass around a non-owning view, see <code>map_view&lt;T&gt;</code>.</p>
<p>Optionally can issue a blocking write barrier on destruction of the mapped view by setting the flag <code>section_handle::flag::barrier_on_close</code>, thus forcing any changes to data referred to by this to storage before the destructor returns. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
-<a id="aa73a37d05f4864c72b66e7a2b2e8bc6b"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#aa73a37d05f4864c72b66e7a2b2e8bc6b">&#9670;&nbsp;</a></span>mapped() <span class="overload">[1/3]</span></h2>
+<a id="afb5d860d3f7fc1d4bad147f0a121d144"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#afb5d860d3f7fc1d4bad147f0a121d144">&#9670;&nbsp;</a></span>mapped() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
@@ -162,6 +162,12 @@ template&lt;class T &gt; </div>
<tr>
<td class="paramkey"></td>
<td></td>
+ <td class="paramtype">bool&#160;</td>
+ <td class="paramname"><em>zeroed</em> = <code>false</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
<td class="paramtype">section_handle::flag&#160;</td>
<td class="paramname"><em>_flag</em> = <code>section_handle::flag::readwrite</code>&#160;</td>
</tr>
@@ -177,17 +183,18 @@ template&lt;class T &gt; </div>
</tr>
</table>
</div><div class="memdoc">
-<p>Create a view of new memory.</p>
+<p>Create a view of newly allocated unused memory, creating new memory if insufficient unused memory is available. Note that the memory mapped by this call may contain non-zero bits (recycled memory) unless <code>zeroed</code> is true.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">length</td><td>The number of items to map. </td></tr>
+ <tr><td class="paramname">zeroed</td><td>Whether to ensure that the viewed memory returned is all bits zero or not. </td></tr>
<tr><td class="paramname">_flag</td><td>The flags to pass to <code>map_handle::map()</code>. </td></tr>
</table>
</dd>
</dl>
-<div class="fragment"><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; : _maph(<a class="code" href="classllfio__v2__xxx_1_1map__handle.html#ab277e359769f7873b5ec6687e65b6ba9">map_handle::map</a>(<a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a> * <span class="keyword">sizeof</span>(T), _flag).value())</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; {</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; byte *addr = _maph.<a class="code" href="classllfio__v2__xxx_1_1map__handle.html#a7456b95e191ec373af61af6541dd4737">address</a>();</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keyword">static_cast&lt;</span>span&lt;T&gt; &amp;<span class="keyword">&gt;</span>(*this) = span&lt;T&gt;(<span class="keyword">reinterpret_cast&lt;</span>T *<span class="keyword">&gt;</span>(addr), <a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a>); <span class="comment">// NOLINT</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; }</div><div class="ttc" id="namespacellfio__v2__xxx_html_aa3676f0dd69f4b54cf7e14e3f86d32b9"><div class="ttname"><a href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">llfio_v2_xxx::length</a></div><div class="ttdeci">result&lt; section_handle::extent_type &gt; length(const section_handle &amp;self) noexcept</div><div class="ttdoc">Return the current maximum permitted extent of the memory section. </div><div class="ttdef"><b>Definition:</b> map_handle.hpp:594</div></div>
-<div class="ttc" id="classllfio__v2__xxx_1_1map__handle_html_a7456b95e191ec373af61af6541dd4737"><div class="ttname"><a href="classllfio__v2__xxx_1_1map__handle.html#a7456b95e191ec373af61af6541dd4737">llfio_v2_xxx::map_handle::address</a></div><div class="ttdeci">byte * address() const noexcept</div><div class="ttdoc">The address in memory where this mapped view resides. </div><div class="ttdef"><b>Definition:</b> map_handle.hpp:411</div></div>
-<div class="ttc" id="classllfio__v2__xxx_1_1map__handle_html_ab277e359769f7873b5ec6687e65b6ba9"><div class="ttname"><a href="classllfio__v2__xxx_1_1map__handle.html#ab277e359769f7873b5ec6687e65b6ba9">llfio_v2_xxx::map_handle::map</a></div><div class="ttdeci">static result&lt; map_handle &gt; map(size_type bytes, section_handle::flag _flag=section_handle::flag::readwrite) noexcept</div></div>
+<div class="fragment"><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; : _maph(<a class="code" href="classllfio__v2__xxx_1_1map__handle.html#adf0cad925c9d6accd5bd7fc3aa49884c">map_handle::map</a>(<a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a> * <span class="keyword">sizeof</span>(T), zeroed, _flag).value())</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; {</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; byte *addr = _maph.<a class="code" href="classllfio__v2__xxx_1_1map__handle.html#a7456b95e191ec373af61af6541dd4737">address</a>();</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keyword">static_cast&lt;</span>span&lt;T&gt; &amp;<span class="keyword">&gt;</span>(*this) = span&lt;T&gt;(<span class="keyword">reinterpret_cast&lt;</span>T *<span class="keyword">&gt;</span>(addr), <a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a>); <span class="comment">// NOLINT</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; }</div><div class="ttc" id="namespacellfio__v2__xxx_html_aa3676f0dd69f4b54cf7e14e3f86d32b9"><div class="ttname"><a href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">llfio_v2_xxx::length</a></div><div class="ttdeci">result&lt; section_handle::extent_type &gt; length(const section_handle &amp;self) noexcept</div><div class="ttdoc">Return the current maximum permitted extent of the memory section. </div><div class="ttdef"><b>Definition:</b> map_handle.hpp:595</div></div>
+<div class="ttc" id="classllfio__v2__xxx_1_1map__handle_html_a7456b95e191ec373af61af6541dd4737"><div class="ttname"><a href="classllfio__v2__xxx_1_1map__handle.html#a7456b95e191ec373af61af6541dd4737">llfio_v2_xxx::map_handle::address</a></div><div class="ttdeci">byte * address() const noexcept</div><div class="ttdoc">The address in memory where this mapped view resides. </div><div class="ttdef"><b>Definition:</b> map_handle.hpp:412</div></div>
+<div class="ttc" id="classllfio__v2__xxx_1_1map__handle_html_adf0cad925c9d6accd5bd7fc3aa49884c"><div class="ttname"><a href="classllfio__v2__xxx_1_1map__handle.html#adf0cad925c9d6accd5bd7fc3aa49884c">llfio_v2_xxx::map_handle::map</a></div><div class="ttdeci">static result&lt; map_handle &gt; map(size_type bytes, bool zeroed=false, section_handle::flag _flag=section_handle::flag::readwrite) noexcept</div></div>
</div><!-- fragment -->
</div>
</div>
@@ -248,8 +255,8 @@ template&lt;class T &gt; </div>
</table>
</dd>
</dl>
-<div class="fragment"><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; : <a class="code" href="classllfio__v2__xxx_1_1mapped.html#a9a6b8b22c06bf6e9362496cdcc3ac40d">mapped</a>((<a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a> == 0) ? <a class="code" href="classllfio__v2__xxx_1_1mapped.html#a9a6b8b22c06bf6e9362496cdcc3ac40d">mapped</a>() : <a class="code" href="classllfio__v2__xxx_1_1mapped.html#a9a6b8b22c06bf6e9362496cdcc3ac40d">mapped</a>(<span class="keyword">nullptr</span>, 0,</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;#ifdef _WIN32</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; byteoffset &amp; ~65535,</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;#<span class="keywordflow">else</span></div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <a class="code" href="namespacellfio__v2__xxx_1_1utils.html#a450a06ed496999f8e7f4cb1f424cbccc">utils::round_down_to_page_size</a>(byteoffset),</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;#endif</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; byteoffset, &amp;sh, (<a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a> == (<a class="code" href="classllfio__v2__xxx_1_1mapped.html#a25d56aca213617d530ab3c9cb6f43df5">size_type</a>) -1) ? 0 : <a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a> * <span class="keyword">sizeof</span>(T), _flag)) <span class="comment">// NOLINT</span></div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; {</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; }</div><div class="ttc" id="classllfio__v2__xxx_1_1mapped_html_a25d56aca213617d530ab3c9cb6f43df5"><div class="ttname"><a href="classllfio__v2__xxx_1_1mapped.html#a25d56aca213617d530ab3c9cb6f43df5">llfio_v2_xxx::mapped::size_type</a></div><div class="ttdeci">typename section_handle::size_type size_type</div><div class="ttdoc">The size type. </div><div class="ttdef"><b>Definition:</b> mapped.hpp:52</div></div>
-<div class="ttc" id="namespacellfio__v2__xxx_html_aa3676f0dd69f4b54cf7e14e3f86d32b9"><div class="ttname"><a href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">llfio_v2_xxx::length</a></div><div class="ttdeci">result&lt; section_handle::extent_type &gt; length(const section_handle &amp;self) noexcept</div><div class="ttdoc">Return the current maximum permitted extent of the memory section. </div><div class="ttdef"><b>Definition:</b> map_handle.hpp:594</div></div>
+<div class="fragment"><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; : <a class="code" href="classllfio__v2__xxx_1_1mapped.html#a9a6b8b22c06bf6e9362496cdcc3ac40d">mapped</a>((<a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a> == 0) ? <a class="code" href="classllfio__v2__xxx_1_1mapped.html#a9a6b8b22c06bf6e9362496cdcc3ac40d">mapped</a>() : <a class="code" href="classllfio__v2__xxx_1_1mapped.html#a9a6b8b22c06bf6e9362496cdcc3ac40d">mapped</a>(<span class="keyword">nullptr</span>, 0,</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;#ifdef _WIN32</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; byteoffset &amp; ~65535,</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;#<span class="keywordflow">else</span></div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <a class="code" href="namespacellfio__v2__xxx_1_1utils.html#a450a06ed496999f8e7f4cb1f424cbccc">utils::round_down_to_page_size</a>(byteoffset),</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;#endif</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; byteoffset, &amp;sh, (<a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a> == (<a class="code" href="classllfio__v2__xxx_1_1mapped.html#a25d56aca213617d530ab3c9cb6f43df5">size_type</a>) -1) ? 0 : <a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a> * <span class="keyword">sizeof</span>(T), _flag)) <span class="comment">// NOLINT</span></div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; {</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; }</div><div class="ttc" id="classllfio__v2__xxx_1_1mapped_html_a25d56aca213617d530ab3c9cb6f43df5"><div class="ttname"><a href="classllfio__v2__xxx_1_1mapped.html#a25d56aca213617d530ab3c9cb6f43df5">llfio_v2_xxx::mapped::size_type</a></div><div class="ttdeci">typename section_handle::size_type size_type</div><div class="ttdoc">The size type. </div><div class="ttdef"><b>Definition:</b> mapped.hpp:52</div></div>
+<div class="ttc" id="namespacellfio__v2__xxx_html_aa3676f0dd69f4b54cf7e14e3f86d32b9"><div class="ttname"><a href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">llfio_v2_xxx::length</a></div><div class="ttdeci">result&lt; section_handle::extent_type &gt; length(const section_handle &amp;self) noexcept</div><div class="ttdoc">Return the current maximum permitted extent of the memory section. </div><div class="ttdef"><b>Definition:</b> map_handle.hpp:595</div></div>
<div class="ttc" id="namespacellfio__v2__xxx_1_1utils_html_a450a06ed496999f8e7f4cb1f424cbccc"><div class="ttname"><a href="namespacellfio__v2__xxx_1_1utils.html#a450a06ed496999f8e7f4cb1f424cbccc">llfio_v2_xxx::utils::round_down_to_page_size</a></div><div class="ttdeci">T round_down_to_page_size(T i) noexcept</div><div class="ttdoc">Round a value to its next lowest page size multiple. </div><div class="ttdef"><b>Definition:</b> utils.hpp:51</div></div>
<div class="ttc" id="classllfio__v2__xxx_1_1mapped_html_a9a6b8b22c06bf6e9362496cdcc3ac40d"><div class="ttname"><a href="classllfio__v2__xxx_1_1mapped.html#a9a6b8b22c06bf6e9362496cdcc3ac40d">llfio_v2_xxx::mapped::mapped</a></div><div class="ttdeci">constexpr mapped()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> mapped.hpp:77</div></div>
</div><!-- fragment -->
@@ -319,8 +326,8 @@ template&lt;class T &gt; </div>
</table>
</dd>
</dl>
-<div class="fragment"><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; : <a class="code" href="classllfio__v2__xxx_1_1mapped.html#a9a6b8b22c06bf6e9362496cdcc3ac40d">mapped</a>((<a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a> == 0) ? <a class="code" href="classllfio__v2__xxx_1_1mapped.html#a9a6b8b22c06bf6e9362496cdcc3ac40d">mapped</a>() : <a class="code" href="classllfio__v2__xxx_1_1mapped.html#a9a6b8b22c06bf6e9362496cdcc3ac40d">mapped</a>(&amp;backing, maximum_size,</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;#ifdef _WIN32</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; byteoffset &amp; ~65535,</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;#<span class="keywordflow">else</span></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <a class="code" href="namespacellfio__v2__xxx_1_1utils.html#a450a06ed496999f8e7f4cb1f424cbccc">utils::round_down_to_page_size</a>(byteoffset),</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;#endif</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; byteoffset, <span class="keyword">nullptr</span>, (<a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a> == (<a class="code" href="classllfio__v2__xxx_1_1mapped.html#a25d56aca213617d530ab3c9cb6f43df5">size_type</a>) -1) ? 0 : <a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a> * <span class="keyword">sizeof</span>(T), _flag)) <span class="comment">// NOLINT</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; {</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; }</div><div class="ttc" id="classllfio__v2__xxx_1_1mapped_html_a25d56aca213617d530ab3c9cb6f43df5"><div class="ttname"><a href="classllfio__v2__xxx_1_1mapped.html#a25d56aca213617d530ab3c9cb6f43df5">llfio_v2_xxx::mapped::size_type</a></div><div class="ttdeci">typename section_handle::size_type size_type</div><div class="ttdoc">The size type. </div><div class="ttdef"><b>Definition:</b> mapped.hpp:52</div></div>
-<div class="ttc" id="namespacellfio__v2__xxx_html_aa3676f0dd69f4b54cf7e14e3f86d32b9"><div class="ttname"><a href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">llfio_v2_xxx::length</a></div><div class="ttdeci">result&lt; section_handle::extent_type &gt; length(const section_handle &amp;self) noexcept</div><div class="ttdoc">Return the current maximum permitted extent of the memory section. </div><div class="ttdef"><b>Definition:</b> map_handle.hpp:594</div></div>
+<div class="fragment"><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; : <a class="code" href="classllfio__v2__xxx_1_1mapped.html#a9a6b8b22c06bf6e9362496cdcc3ac40d">mapped</a>((<a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a> == 0) ? <a class="code" href="classllfio__v2__xxx_1_1mapped.html#a9a6b8b22c06bf6e9362496cdcc3ac40d">mapped</a>() : <a class="code" href="classllfio__v2__xxx_1_1mapped.html#a9a6b8b22c06bf6e9362496cdcc3ac40d">mapped</a>(&amp;backing, maximum_size,</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;#ifdef _WIN32</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; byteoffset &amp; ~65535,</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;#<span class="keywordflow">else</span></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <a class="code" href="namespacellfio__v2__xxx_1_1utils.html#a450a06ed496999f8e7f4cb1f424cbccc">utils::round_down_to_page_size</a>(byteoffset),</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;#endif</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; byteoffset, <span class="keyword">nullptr</span>, (<a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a> == (<a class="code" href="classllfio__v2__xxx_1_1mapped.html#a25d56aca213617d530ab3c9cb6f43df5">size_type</a>) -1) ? 0 : <a class="code" href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">length</a> * <span class="keyword">sizeof</span>(T), _flag)) <span class="comment">// NOLINT</span></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; {</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; }</div><div class="ttc" id="classllfio__v2__xxx_1_1mapped_html_a25d56aca213617d530ab3c9cb6f43df5"><div class="ttname"><a href="classllfio__v2__xxx_1_1mapped.html#a25d56aca213617d530ab3c9cb6f43df5">llfio_v2_xxx::mapped::size_type</a></div><div class="ttdeci">typename section_handle::size_type size_type</div><div class="ttdoc">The size type. </div><div class="ttdef"><b>Definition:</b> mapped.hpp:52</div></div>
+<div class="ttc" id="namespacellfio__v2__xxx_html_aa3676f0dd69f4b54cf7e14e3f86d32b9"><div class="ttname"><a href="namespacellfio__v2__xxx.html#aa3676f0dd69f4b54cf7e14e3f86d32b9">llfio_v2_xxx::length</a></div><div class="ttdeci">result&lt; section_handle::extent_type &gt; length(const section_handle &amp;self) noexcept</div><div class="ttdoc">Return the current maximum permitted extent of the memory section. </div><div class="ttdef"><b>Definition:</b> map_handle.hpp:595</div></div>
<div class="ttc" id="namespacellfio__v2__xxx_1_1utils_html_a450a06ed496999f8e7f4cb1f424cbccc"><div class="ttname"><a href="namespacellfio__v2__xxx_1_1utils.html#a450a06ed496999f8e7f4cb1f424cbccc">llfio_v2_xxx::utils::round_down_to_page_size</a></div><div class="ttdeci">T round_down_to_page_size(T i) noexcept</div><div class="ttdoc">Round a value to its next lowest page size multiple. </div><div class="ttdef"><b>Definition:</b> utils.hpp:51</div></div>
<div class="ttc" id="classllfio__v2__xxx_1_1mapped_html_a9a6b8b22c06bf6e9362496cdcc3ac40d"><div class="ttname"><a href="classllfio__v2__xxx_1_1mapped.html#a9a6b8b22c06bf6e9362496cdcc3ac40d">llfio_v2_xxx::mapped::mapped</a></div><div class="ttdeci">constexpr mapped()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> mapped.hpp:77</div></div>
</div><!-- fragment -->