arrow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [48/51] [partial] arrow-site git commit: Update Java and C++ API docs
Date Wed, 16 Aug 2017 20:55:05 GMT
http://git-wip-us.apache.org/repos/asf/arrow-site/blob/7c942e5c/docs/cpp/ae__kqueue_8c.html
----------------------------------------------------------------------
diff --git a/docs/cpp/ae__kqueue_8c.html b/docs/cpp/ae__kqueue_8c.html
index 0d41728..ad9eff9 100644
--- a/docs/cpp/ae__kqueue_8c.html
+++ b/docs/cpp/ae__kqueue_8c.html
@@ -3,17 +3,15 @@
 <head>
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.11"/>
-<title>Apache Arrow (C++): /home/uwe/Development/arrow/cpp/src/plasma/thirdparty/ae/ae_kqueue.c File Reference</title>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Apache Arrow (C++): /home/wesm/code/arrow/cpp/src/plasma/thirdparty/ae/ae_kqueue.c File 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>
-<script type="text/javascript">
-  $(document).ready(function() { init_search(); });
-</script>
 <link href="doxygen.css" rel="stylesheet" type="text/css" />
 </head>
 <body>
@@ -32,41 +30,19 @@
 </table>
 </div>
 <!-- end header part -->
-<!-- Generated by Doxygen 1.8.11 -->
+<!-- Generated by Doxygen 1.8.13 -->
 <script type="text/javascript">
 var searchBox = new SearchBox("searchBox", "search",false,'Search');
 </script>
-  <div id="navrow1" class="tabs">
-    <ul class="tablist">
-      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
-      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
-      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
-      <li><a href="annotated.html"><span>Classes</span></a></li>
-      <li class="current"><a href="files.html"><span>Files</span></a></li>
-      <li>
-        <div id="MSearchBox" class="MSearchBoxInactive">
-        <span class="left">
-          <img id="MSearchSelect" src="search/mag_sel.png"
-               onmouseover="return searchBox.OnSearchSelectShow()"
-               onmouseout="return searchBox.OnSearchSelectHide()"
-               alt=""/>
-          <input type="text" id="MSearchField" value="Search" accesskey="S"
-               onfocus="searchBox.OnSearchFieldFocus(true)" 
-               onblur="searchBox.OnSearchFieldFocus(false)" 
-               onkeyup="searchBox.OnSearchFieldChange(event)"/>
-          </span><span class="right">
-            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
-          </span>
-        </div>
-      </li>
-    </ul>
-  </div>
-  <div id="navrow2" class="tabs2">
-    <ul class="tablist">
-      <li><a href="files.html"><span>File&#160;List</span></a></li>
-      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
-    </ul>
-  </div>
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+  initMenu('',true,false,'search.php','Search');
+  $(document).ready(function() { init_search(); });
+});
+</script>
+<div id="main-nav"></div>
 <!-- window showing the filter options -->
 <div id="MSearchSelectWindow"
      onmouseover="return searchBox.OnSearchSelectShow()"
@@ -109,7 +85,9 @@ Typedefs</h2></td></tr>
 <tr class="separator:a1282562fc34c1e7727c8a283ab200df7"><td class="memSeparator" colspan="2">&#160;</td></tr>
 </table>
 <h2 class="groupheader">Typedef Documentation</h2>
-<a class="anchor" id="a1282562fc34c1e7727c8a283ab200df7"></a>
+<a id="a1282562fc34c1e7727c8a283ab200df7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1282562fc34c1e7727c8a283ab200df7">&#9670;&nbsp;</a></span>aeApiState</h2>
+
 <div class="memitem">
 <div class="memproto">
       <table class="memname">
@@ -126,7 +104,7 @@ Typedefs</h2></td></tr>
 <hr class="footer"/><address class="footer"><small>
 Generated by &#160;<a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.11
+</a> 1.8.13
 </small></address>
 </body>
 </html>

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/7c942e5c/docs/cpp/ae__select_8c.html
----------------------------------------------------------------------
diff --git a/docs/cpp/ae__select_8c.html b/docs/cpp/ae__select_8c.html
index 84e43f0..9a049b6 100644
--- a/docs/cpp/ae__select_8c.html
+++ b/docs/cpp/ae__select_8c.html
@@ -3,17 +3,15 @@
 <head>
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.11"/>
-<title>Apache Arrow (C++): /home/uwe/Development/arrow/cpp/src/plasma/thirdparty/ae/ae_select.c File Reference</title>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Apache Arrow (C++): /home/wesm/code/arrow/cpp/src/plasma/thirdparty/ae/ae_select.c File 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>
-<script type="text/javascript">
-  $(document).ready(function() { init_search(); });
-</script>
 <link href="doxygen.css" rel="stylesheet" type="text/css" />
 </head>
 <body>
@@ -32,41 +30,19 @@
 </table>
 </div>
 <!-- end header part -->
-<!-- Generated by Doxygen 1.8.11 -->
+<!-- Generated by Doxygen 1.8.13 -->
 <script type="text/javascript">
 var searchBox = new SearchBox("searchBox", "search",false,'Search');
 </script>
-  <div id="navrow1" class="tabs">
-    <ul class="tablist">
-      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
-      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
-      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
-      <li><a href="annotated.html"><span>Classes</span></a></li>
-      <li class="current"><a href="files.html"><span>Files</span></a></li>
-      <li>
-        <div id="MSearchBox" class="MSearchBoxInactive">
-        <span class="left">
-          <img id="MSearchSelect" src="search/mag_sel.png"
-               onmouseover="return searchBox.OnSearchSelectShow()"
-               onmouseout="return searchBox.OnSearchSelectHide()"
-               alt=""/>
-          <input type="text" id="MSearchField" value="Search" accesskey="S"
-               onfocus="searchBox.OnSearchFieldFocus(true)" 
-               onblur="searchBox.OnSearchFieldFocus(false)" 
-               onkeyup="searchBox.OnSearchFieldChange(event)"/>
-          </span><span class="right">
-            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
-          </span>
-        </div>
-      </li>
-    </ul>
-  </div>
-  <div id="navrow2" class="tabs2">
-    <ul class="tablist">
-      <li><a href="files.html"><span>File&#160;List</span></a></li>
-      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
-    </ul>
-  </div>
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+  initMenu('',true,false,'search.php','Search');
+  $(document).ready(function() { init_search(); });
+});
+</script>
+<div id="main-nav"></div>
 <!-- window showing the filter options -->
 <div id="MSearchSelectWindow"
      onmouseover="return searchBox.OnSearchSelectShow()"
@@ -108,7 +84,9 @@ Typedefs</h2></td></tr>
 <tr class="separator:a1282562fc34c1e7727c8a283ab200df7"><td class="memSeparator" colspan="2">&#160;</td></tr>
 </table>
 <h2 class="groupheader">Typedef Documentation</h2>
-<a class="anchor" id="a1282562fc34c1e7727c8a283ab200df7"></a>
+<a id="a1282562fc34c1e7727c8a283ab200df7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1282562fc34c1e7727c8a283ab200df7">&#9670;&nbsp;</a></span>aeApiState</h2>
+
 <div class="memitem">
 <div class="memproto">
       <table class="memname">
@@ -125,7 +103,7 @@ Typedefs</h2></td></tr>
 <hr class="footer"/><address class="footer"><small>
 Generated by &#160;<a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.11
+</a> 1.8.13
 </small></address>
 </body>
 </html>

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/7c942e5c/docs/cpp/allocator_8h.html
----------------------------------------------------------------------
diff --git a/docs/cpp/allocator_8h.html b/docs/cpp/allocator_8h.html
index 85d432b..81c94e1 100644
--- a/docs/cpp/allocator_8h.html
+++ b/docs/cpp/allocator_8h.html
@@ -89,7 +89,7 @@ Classes</h2></td></tr>
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
 Namespaces</h2></td></tr>
 <tr class="memitem:namespacearrow"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearrow.html">arrow</a></td></tr>
-<tr class="memdesc:namespacearrow"><td class="mdescLeft">&#160;</td><td class="mdescRight">Public API for the "Feather" file format, originally created at <a href="http://github.com/wesm/feather">http://github.com/wesm/feather</a>. <br /></td></tr>
+<tr class="memdesc:namespacearrow"><td class="mdescLeft">&#160;</td><td class="mdescRight">Top-level namespace for Apache Arrow C++ API. <br /></td></tr>
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
 </table><table class="memberdecls">
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/7c942e5c/docs/cpp/allocator_8h_source.html
----------------------------------------------------------------------
diff --git a/docs/cpp/allocator_8h_source.html b/docs/cpp/allocator_8h_source.html
index 06909f9..ab2f0cc 100644
--- a/docs/cpp/allocator_8h_source.html
+++ b/docs/cpp/allocator_8h_source.html
@@ -67,21 +67,22 @@ $(function() {
 <div class="title">allocator.h</div>  </div>
 </div><!--header-->
 <div class="contents">
-<a href="allocator_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// or more contributor license agreements.  See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// regarding copyright ownership.  The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"></a><span cla
 ss="lineno">    6</span>&#160;<span class="comment">// &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// with the License.  You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//   http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// software distributed
  under the License is distributed on an</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// KIND, either express or implied.  See the License for the</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// specific language governing permissions and limitations</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// under the License.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifndef ARROW_ALLOCATOR_H</span></div><div class="line"><a name="l00019"></a><span class="lineno">
    19</span>&#160;<span class="preprocessor">#define ARROW_ALLOCATOR_H</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;cstddef&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;utility&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="memory__pool_8h.html">arrow/memory_pool.h</a>&quot;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &
 quot;<a class="code" href="status_8h.html">arrow/status.h</a>&quot;</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="namespacearrow.html">   28</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacearrow.html">arrow</a> {</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html">   31</a></span>&#160;<span class="keyword">class </span><a class="code" href="classarrow_1_1stl__allocator.html">stl_allocator</a> {</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160; <span class="keyword">pu
 blic</span>:</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a116d180eeb40ae7a06fbc93dd59f71b6">   33</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator.html#a116d180eeb40ae7a06fbc93dd59f71b6">value_type</a> = T;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a2d0de6d0a6a43e2cca7b980a6fedc375">   34</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator.html#a2d0de6d0a6a43e2cca7b980a6fedc375">pointer</a> = T*;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#aa46e64f7ed3c0196f45d746f7a75f563">   35</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator.html#aa46e64f7ed3c0196f45d746f7a75f563">const_pointer</a> = <span cl
 ass="keyword">const</span> T*;</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a3044d12cb8624ecd5478b07c47d9d588">   36</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator.html#a3044d12cb8624ecd5478b07c47d9d588">reference</a> = T&amp;;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#aa7ec62c2bdb40ed6b65c77e4ebebfc43">   37</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator.html#aa7ec62c2bdb40ed6b65c77e4ebebfc43">const_reference</a> = <span class="keyword">const</span> T&amp;;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#aa8a67276663a6f604bc1c34d7602e9df">   38</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator
 .html#aa8a67276663a6f604bc1c34d7602e9df">size_type</a> = std::size_t;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a152ab29988f774a19a9e03a22485badf">   39</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator.html#a152ab29988f774a19a9e03a22485badf">difference_type</a> = std::ptrdiff_t;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">class</span> U&gt;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structarrow_1_1stl__allocator_1_1rebind.html">   42</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structarrow_1_1stl__allocator_1_1rebind.html">rebind</a> {</div><div class="line"><a name="l00043"></a><span class="
 lineno"><a class="line" href="structarrow_1_1stl__allocator_1_1rebind.html#a355b73f3f7a647016ddbc0dfd58f76bc">   43</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator.html">other</a> = <a class="code" href="classarrow_1_1stl__allocator.html">stl_allocator&lt;U&gt;</a>;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;  };</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#acc68d9df47ec479864980e24e5206c0b">   46</a></span>&#160;  <a class="code" href="classarrow_1_1stl__allocator.html#acc68d9df47ec479864980e24e5206c0b">stl_allocator</a>() noexcept : pool_(<a class="code" href="namespacearrow.html#a3fd0c21aaded24f07def6f62b34ac518">default_memory_pool</a>()) {}</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href
 ="classarrow_1_1stl__allocator.html#affeec274a43deb7cc79152837558eab5">   47</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classarrow_1_1stl__allocator.html#affeec274a43deb7cc79152837558eab5">stl_allocator</a>(<a class="code" href="classarrow_1_1_memory_pool.html">MemoryPool</a>* <a class="code" href="classarrow_1_1stl__allocator.html#ae2832ef5c557af5db4a7c0623d6f2e48">pool</a>) noexcept : pool_(<a class="code" href="classarrow_1_1stl__allocator.html#ae2832ef5c557af5db4a7c0623d6f2e48">pool</a>) {}</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">class</span> U&gt;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#abcb413f5f18708e06fef91f20e20d2ab">   50</a></span>&#160;  <a class="code" href="classarr
 ow_1_1stl__allocator.html#abcb413f5f18708e06fef91f20e20d2ab">stl_allocator</a>(<span class="keyword">const</span> <a class="code" href="classarrow_1_1stl__allocator.html">stl_allocator&lt;U&gt;</a>&amp; rhs) noexcept : pool_(rhs.pool_) {}</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a51aa02f5c3b0f1e00c9027965bc3f146">   52</a></span>&#160;  <a class="code" href="classarrow_1_1stl__allocator.html#a51aa02f5c3b0f1e00c9027965bc3f146">~stl_allocator</a>() { pool_ = <span class="keyword">nullptr</span>; }</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#aed433bf67f62bcb87538ac56f3f66f0f">   54</a></span>&#160;  <a class="code" href="classarrow_1_1stl__allocator.html#a2d0de6d0a6a
 43e2cca7b980a6fedc375">pointer</a> <a class="code" href="classarrow_1_1stl__allocator.html#aed433bf67f62bcb87538ac56f3f66f0f">address</a>(<a class="code" href="classarrow_1_1stl__allocator.html#a3044d12cb8624ecd5478b07c47d9d588">reference</a> r) <span class="keyword">const</span> noexcept { <span class="keywordflow">return</span> std::addressof(r); }</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a75b0f32329edd8c06b5c0e6ba2c41f9d">   56</a></span>&#160;  <a class="code" href="classarrow_1_1stl__allocator.html#aa46e64f7ed3c0196f45d746f7a75f563">const_pointer</a> <a class="code" href="classarrow_1_1stl__allocator.html#a75b0f32329edd8c06b5c0e6ba2c41f9d">address</a>(<a class="code" href="classarrow_1_1stl__allocator.html#aa7ec62c2bdb40ed6b65c77e4ebebfc43">const_reference</a> r) <span class="keyword">const</span> noexcept { <span cl
 ass="keywordflow">return</span> std::addressof(r); }</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a2291fc74e621137a411b54013d758b02">   58</a></span>&#160;  <a class="code" href="classarrow_1_1stl__allocator.html#a2d0de6d0a6a43e2cca7b980a6fedc375">pointer</a> <a class="code" href="classarrow_1_1stl__allocator.html#a2291fc74e621137a411b54013d758b02">allocate</a>(<a class="code" href="classarrow_1_1stl__allocator.html#aa8a67276663a6f604bc1c34d7602e9df">size_type</a> n, <span class="keyword">const</span> <span class="keywordtype">void</span>* <span class="comment">/*hint*/</span> = <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    uint8_t* data;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <a class="code" href="
 classarrow_1_1_status.html">Status</a> s = pool_-&gt;Allocate(n * <span class="keyword">sizeof</span>(T), &amp;data);</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordflow">if</span> (!s.<a class="code" href="classarrow_1_1_status.html#a2240d82ac632c582efc070af2fe9a5ec">ok</a>()) <span class="keywordflow">throw</span> std::bad_alloc();</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">reinterpret_cast&lt;</span><a class="code" href="classarrow_1_1stl__allocator.html#a2d0de6d0a6a43e2cca7b980a6fedc375">pointer</a><span class="keyword">&gt;</span>(data);</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;  }</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__alloc
 ator.html#af0f44b507ab7ed0e5734929e1f255daa">   65</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1stl__allocator.html#af0f44b507ab7ed0e5734929e1f255daa">deallocate</a>(<a class="code" href="classarrow_1_1stl__allocator.html#a2d0de6d0a6a43e2cca7b980a6fedc375">pointer</a> p, <a class="code" href="classarrow_1_1stl__allocator.html#aa8a67276663a6f604bc1c34d7602e9df">size_type</a> n) {</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    pool_-&gt;Free(reinterpret_cast&lt;uint8_t*&gt;(p), n * <span class="keyword">sizeof</span>(T));</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  }</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a971781ef19b30cdd0f31d5cc3aa8e0c1">   69</a></span>&#160;  <a class="code" href="classarrow_
 1_1stl__allocator.html#aa8a67276663a6f604bc1c34d7602e9df">size_type</a> <a class="code" href="classarrow_1_1stl__allocator.html#a971781ef19b30cdd0f31d5cc3aa8e0c1">size_max</a>() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classarrow_1_1stl__allocator.html#aa8a67276663a6f604bc1c34d7602e9df">size_type</a>(-1) / <span class="keyword">sizeof</span>(T); }</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">class </span>U, <span class="keyword">class</span>... Args&gt;</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a94843982d72329e69b9069ee781e5460">   72</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1stl__allocator.html#a94843982d72329e69b9069ee781e5460">cons
 truct</a>(U* p, Args&amp;&amp;... args) {</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keyword">new</span> (<span class="keyword">reinterpret_cast&lt;</span><span class="keywordtype">void</span>*<span class="keyword">&gt;</span>(p)) U(std::forward&lt;Args&gt;(args)...);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  }</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">class</span> U&gt;</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#aca67cbdb60e9bdaa25c9a3ecde8410ba">   77</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1stl__allocator.html#aca67cbdb60e9bdaa25c9a3ecde8410ba">destroy</a>(U* p) {</di
 v><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    p-&gt;~U();</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  }</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#ae2832ef5c557af5db4a7c0623d6f2e48">   81</a></span>&#160;  <a class="code" href="classarrow_1_1_memory_pool.html">MemoryPool</a>* <a class="code" href="classarrow_1_1stl__allocator.html#ae2832ef5c557af5db4a7c0623d6f2e48">pool</a>() const noexcept { <span class="keywordflow">return</span> pool_; }</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  <a class="code" href
 ="classarrow_1_1_memory_pool.html">MemoryPool</a>* pool_;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;};</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> T1, <span class="keyword">class</span> T2&gt;</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="namespacearrow.html#a6cdf639b318b550f64e0a20a84961539">   88</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespacearrow.html#a6cdf639b318b550f64e0a20a84961539">operator==</a>(<span class="keyword">const</span> <a class="code" href="classarrow_1_1stl__allocator.html">stl_allocator&lt;T1&gt;</a>&amp; lhs, <span class="keyword">const</span> <a class="code" href="classarrow_1_1stl__allocator.html">stl_allocator&lt;T2&gt;</a>&amp; rhs) noexcept 
 {</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;  <span class="keywordflow">return</span> lhs.pool() == rhs.pool();</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;}</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;<span class="keyword">template</span> &lt;<span class="keyword">class</span> T1, <span class="keyword">class</span> T2&gt;</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="namespacearrow.html#aaaffa5e80489838d1a7a8fcb67a8fb17">   93</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespacearrow.html#aaaffa5e80489838d1a7a8fcb67a8fb17">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classarrow_1_1stl__allocator.html">stl_allocator&lt;T1&gt;</a>&amp; lhs, <span class="keyword">const</span> <a class="
 code" href="classarrow_1_1stl__allocator.html">stl_allocator&lt;T2&gt;</a>&amp; rhs) noexcept {</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  <span class="keywordflow">return</span> !(lhs == rhs);</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;}</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;}  <span class="comment">// namespace arrow</span></div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="preprocessor">#endif  // ARROW_ALLOCATOR_H</span></div><div class="ttc" id="classarrow_1_1stl__allocator_html_aca67cbdb60e9bdaa25c9a3ecde8410ba"><div class="ttname"><a href="classarrow_1_1stl__allocator.html#aca67cbdb60e9bdaa25c9a3ecde8410ba">arrow::stl_allocator::destroy</a></
 div><div class="ttdeci">void destroy(U *p)</div><div class="ttdef"><b>Definition:</b> allocator.h:77</div></div>
+<a href="allocator_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// or more contributor license agreements.  See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// regarding copyright ownership.  The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"></a><span cla
 ss="lineno">    6</span>&#160;<span class="comment">// &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// with the License.  You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//   http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// software distributed
  under the License is distributed on an</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// KIND, either express or implied.  See the License for the</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// specific language governing permissions and limitations</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// under the License.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifndef ARROW_ALLOCATOR_H</span></div><div class="line"><a name="l00019"></a><span class="lineno">
    19</span>&#160;<span class="preprocessor">#define ARROW_ALLOCATOR_H</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;cstddef&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;utility&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="memory__pool_8h.html">arrow/memory_pool.h</a>&quot;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &
 quot;<a class="code" href="status_8h.html">arrow/status.h</a>&quot;</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="namespacearrow.html">   28</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacearrow.html">arrow</a> {</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html">   31</a></span>&#160;<span class="keyword">class </span><a class="code" href="classarrow_1_1stl__allocator.html">stl_allocator</a> {</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160; <span class="keyword">pu
 blic</span>:</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a116d180eeb40ae7a06fbc93dd59f71b6">   33</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator.html#a116d180eeb40ae7a06fbc93dd59f71b6">value_type</a> = T;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a2d0de6d0a6a43e2cca7b980a6fedc375">   34</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator.html#a2d0de6d0a6a43e2cca7b980a6fedc375">pointer</a> = T*;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#aa46e64f7ed3c0196f45d746f7a75f563">   35</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator.html#aa46e64f7ed3c0196f45d746f7a75f563">const_pointer</a> = <span cl
 ass="keyword">const</span> T*;</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a3044d12cb8624ecd5478b07c47d9d588">   36</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator.html#a3044d12cb8624ecd5478b07c47d9d588">reference</a> = T&amp;;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#aa7ec62c2bdb40ed6b65c77e4ebebfc43">   37</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator.html#aa7ec62c2bdb40ed6b65c77e4ebebfc43">const_reference</a> = <span class="keyword">const</span> T&amp;;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#aa8a67276663a6f604bc1c34d7602e9df">   38</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator
 .html#aa8a67276663a6f604bc1c34d7602e9df">size_type</a> = std::size_t;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a152ab29988f774a19a9e03a22485badf">   39</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator.html#a152ab29988f774a19a9e03a22485badf">difference_type</a> = std::ptrdiff_t;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">class</span> U&gt;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structarrow_1_1stl__allocator_1_1rebind.html">   42</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structarrow_1_1stl__allocator_1_1rebind.html">rebind</a> {</div><div class="line"><a name="l00043"></a><span class="
 lineno"><a class="line" href="structarrow_1_1stl__allocator_1_1rebind.html#a355b73f3f7a647016ddbc0dfd58f76bc">   43</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="classarrow_1_1stl__allocator.html">other</a> = <a class="code" href="classarrow_1_1stl__allocator.html">stl_allocator&lt;U&gt;</a>;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;  };</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#acc68d9df47ec479864980e24e5206c0b">   46</a></span>&#160;  <a class="code" href="classarrow_1_1stl__allocator.html#acc68d9df47ec479864980e24e5206c0b">stl_allocator</a>() noexcept : pool_(<a class="code" href="namespacearrow.html#aebe81d544faaf827b8f32c5a80b99820">default_memory_pool</a>()) {}</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href
 ="classarrow_1_1stl__allocator.html#affeec274a43deb7cc79152837558eab5">   47</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classarrow_1_1stl__allocator.html#affeec274a43deb7cc79152837558eab5">stl_allocator</a>(<a class="code" href="classarrow_1_1_memory_pool.html">MemoryPool</a>* <a class="code" href="classarrow_1_1stl__allocator.html#ae2832ef5c557af5db4a7c0623d6f2e48">pool</a>) noexcept : pool_(<a class="code" href="classarrow_1_1stl__allocator.html#ae2832ef5c557af5db4a7c0623d6f2e48">pool</a>) {}</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">class</span> U&gt;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#abcb413f5f18708e06fef91f20e20d2ab">   50</a></span>&#160;  <a class="code" href="classarr
 ow_1_1stl__allocator.html#abcb413f5f18708e06fef91f20e20d2ab">stl_allocator</a>(<span class="keyword">const</span> <a class="code" href="classarrow_1_1stl__allocator.html">stl_allocator&lt;U&gt;</a>&amp; rhs) noexcept : pool_(rhs.pool_) {}</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a51aa02f5c3b0f1e00c9027965bc3f146">   52</a></span>&#160;  <a class="code" href="classarrow_1_1stl__allocator.html#a51aa02f5c3b0f1e00c9027965bc3f146">~stl_allocator</a>() { pool_ = <span class="keyword">nullptr</span>; }</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#aed433bf67f62bcb87538ac56f3f66f0f">   54</a></span>&#160;  <a class="code" href="classarrow_1_1stl__allocator.html#a2d0de6d0a6a
 43e2cca7b980a6fedc375">pointer</a> <a class="code" href="classarrow_1_1stl__allocator.html#aed433bf67f62bcb87538ac56f3f66f0f">address</a>(<a class="code" href="classarrow_1_1stl__allocator.html#a3044d12cb8624ecd5478b07c47d9d588">reference</a> r) <span class="keyword">const</span> noexcept { <span class="keywordflow">return</span> std::addressof(r); }</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a75b0f32329edd8c06b5c0e6ba2c41f9d">   56</a></span>&#160;  <a class="code" href="classarrow_1_1stl__allocator.html#aa46e64f7ed3c0196f45d746f7a75f563">const_pointer</a> <a class="code" href="classarrow_1_1stl__allocator.html#a75b0f32329edd8c06b5c0e6ba2c41f9d">address</a>(<a class="code" href="classarrow_1_1stl__allocator.html#aa7ec62c2bdb40ed6b65c77e4ebebfc43">const_reference</a> r) <span class="keyword">const</span> noexcept { <span cl
 ass="keywordflow">return</span> std::addressof(r); }</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a2291fc74e621137a411b54013d758b02">   58</a></span>&#160;  <a class="code" href="classarrow_1_1stl__allocator.html#a2d0de6d0a6a43e2cca7b980a6fedc375">pointer</a> <a class="code" href="classarrow_1_1stl__allocator.html#a2291fc74e621137a411b54013d758b02">allocate</a>(<a class="code" href="classarrow_1_1stl__allocator.html#aa8a67276663a6f604bc1c34d7602e9df">size_type</a> n, <span class="keyword">const</span> <span class="keywordtype">void</span>* <span class="comment">/*hint*/</span> = <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    uint8_t* data;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <a class="code" href="
 classarrow_1_1_status.html">Status</a> s = pool_-&gt;Allocate(n * <span class="keyword">sizeof</span>(T), &amp;data);</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordflow">if</span> (!s.<a class="code" href="classarrow_1_1_status.html#a2240d82ac632c582efc070af2fe9a5ec">ok</a>()) <span class="keywordflow">throw</span> std::bad_alloc();</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">reinterpret_cast&lt;</span><a class="code" href="classarrow_1_1stl__allocator.html#a2d0de6d0a6a43e2cca7b980a6fedc375">pointer</a><span class="keyword">&gt;</span>(data);</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;  }</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__alloc
 ator.html#af0f44b507ab7ed0e5734929e1f255daa">   65</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1stl__allocator.html#af0f44b507ab7ed0e5734929e1f255daa">deallocate</a>(<a class="code" href="classarrow_1_1stl__allocator.html#a2d0de6d0a6a43e2cca7b980a6fedc375">pointer</a> p, <a class="code" href="classarrow_1_1stl__allocator.html#aa8a67276663a6f604bc1c34d7602e9df">size_type</a> n) {</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    pool_-&gt;Free(reinterpret_cast&lt;uint8_t*&gt;(p), n * <span class="keyword">sizeof</span>(T));</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  }</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a971781ef19b30cdd0f31d5cc3aa8e0c1">   69</a></span>&#160;  <a class="code" href="classarrow_
 1_1stl__allocator.html#aa8a67276663a6f604bc1c34d7602e9df">size_type</a> <a class="code" href="classarrow_1_1stl__allocator.html#a971781ef19b30cdd0f31d5cc3aa8e0c1">size_max</a>() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classarrow_1_1stl__allocator.html#aa8a67276663a6f604bc1c34d7602e9df">size_type</a>(-1) / <span class="keyword">sizeof</span>(T); }</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">class </span>U, <span class="keyword">class</span>... Args&gt;</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#a94843982d72329e69b9069ee781e5460">   72</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1stl__allocator.html#a94843982d72329e69b9069ee781e5460">cons
 truct</a>(U* p, Args&amp;&amp;... args) {</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keyword">new</span> (<span class="keyword">reinterpret_cast&lt;</span><span class="keywordtype">void</span>*<span class="keyword">&gt;</span>(p)) U(std::forward&lt;Args&gt;(args)...);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  }</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">class</span> U&gt;</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#aca67cbdb60e9bdaa25c9a3ecde8410ba">   77</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1stl__allocator.html#aca67cbdb60e9bdaa25c9a3ecde8410ba">destroy</a>(U* p) {</di
 v><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    p-&gt;~U();</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  }</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classarrow_1_1stl__allocator.html#ae2832ef5c557af5db4a7c0623d6f2e48">   81</a></span>&#160;  <a class="code" href="classarrow_1_1_memory_pool.html">MemoryPool</a>* <a class="code" href="classarrow_1_1stl__allocator.html#ae2832ef5c557af5db4a7c0623d6f2e48">pool</a>() const noexcept { <span class="keywordflow">return</span> pool_; }</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  <a class="code" href
 ="classarrow_1_1_memory_pool.html">MemoryPool</a>* pool_;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;};</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> T1, <span class="keyword">class</span> T2&gt;</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="namespacearrow.html#a6cdf639b318b550f64e0a20a84961539">   88</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespacearrow.html#a6cdf639b318b550f64e0a20a84961539">operator==</a>(<span class="keyword">const</span> <a class="code" href="classarrow_1_1stl__allocator.html">stl_allocator&lt;T1&gt;</a>&amp; lhs, <span class="keyword">const</span> <a class="code" href="classarrow_1_1stl__allocator.html">stl_allocator&lt;T2&gt;</a>&amp; rhs) noexcept 
 {</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;  <span class="keywordflow">return</span> lhs.pool() == rhs.pool();</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;}</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;<span class="keyword">template</span> &lt;<span class="keyword">class</span> T1, <span class="keyword">class</span> T2&gt;</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="namespacearrow.html#aaaffa5e80489838d1a7a8fcb67a8fb17">   93</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespacearrow.html#aaaffa5e80489838d1a7a8fcb67a8fb17">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classarrow_1_1stl__allocator.html">stl_allocator&lt;T1&gt;</a>&amp; lhs, <span class="keyword">const</span> <a class="
 code" href="classarrow_1_1stl__allocator.html">stl_allocator&lt;T2&gt;</a>&amp; rhs) noexcept {</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  <span class="keywordflow">return</span> !(lhs == rhs);</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;}</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;}  <span class="comment">// namespace arrow</span></div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="preprocessor">#endif  // ARROW_ALLOCATOR_H</span></div><div class="ttc" id="classarrow_1_1stl__allocator_html_aca67cbdb60e9bdaa25c9a3ecde8410ba"><div class="ttname"><a href="classarrow_1_1stl__allocator.html#aca67cbdb60e9bdaa25c9a3ecde8410ba">arrow::stl_allocator::destroy</a></
 div><div class="ttdeci">void destroy(U *p)</div><div class="ttdef"><b>Definition:</b> allocator.h:77</div></div>
 <div class="ttc" id="classarrow_1_1stl__allocator_html_a2291fc74e621137a411b54013d758b02"><div class="ttname"><a href="classarrow_1_1stl__allocator.html#a2291fc74e621137a411b54013d758b02">arrow::stl_allocator::allocate</a></div><div class="ttdeci">pointer allocate(size_type n, const void *=nullptr)</div><div class="ttdef"><b>Definition:</b> allocator.h:58</div></div>
 <div class="ttc" id="classarrow_1_1stl__allocator_html_aa46e64f7ed3c0196f45d746f7a75f563"><div class="ttname"><a href="classarrow_1_1stl__allocator.html#aa46e64f7ed3c0196f45d746f7a75f563">arrow::stl_allocator::const_pointer</a></div><div class="ttdeci">const T * const_pointer</div><div class="ttdef"><b>Definition:</b> allocator.h:35</div></div>
 <div class="ttc" id="classarrow_1_1stl__allocator_html_a75b0f32329edd8c06b5c0e6ba2c41f9d"><div class="ttname"><a href="classarrow_1_1stl__allocator.html#a75b0f32329edd8c06b5c0e6ba2c41f9d">arrow::stl_allocator::address</a></div><div class="ttdeci">const_pointer address(const_reference r) const noexcept</div><div class="ttdef"><b>Definition:</b> allocator.h:56</div></div>
 <div class="ttc" id="classarrow_1_1stl__allocator_html_a116d180eeb40ae7a06fbc93dd59f71b6"><div class="ttname"><a href="classarrow_1_1stl__allocator.html#a116d180eeb40ae7a06fbc93dd59f71b6">arrow::stl_allocator::value_type</a></div><div class="ttdeci">T value_type</div><div class="ttdef"><b>Definition:</b> allocator.h:33</div></div>
 <div class="ttc" id="classarrow_1_1stl__allocator_html_a2d0de6d0a6a43e2cca7b980a6fedc375"><div class="ttname"><a href="classarrow_1_1stl__allocator.html#a2d0de6d0a6a43e2cca7b980a6fedc375">arrow::stl_allocator::pointer</a></div><div class="ttdeci">T * pointer</div><div class="ttdef"><b>Definition:</b> allocator.h:34</div></div>
 <div class="ttc" id="classarrow_1_1stl__allocator_html_aa8a67276663a6f604bc1c34d7602e9df"><div class="ttname"><a href="classarrow_1_1stl__allocator.html#aa8a67276663a6f604bc1c34d7602e9df">arrow::stl_allocator::size_type</a></div><div class="ttdeci">std::size_t size_type</div><div class="ttdef"><b>Definition:</b> allocator.h:38</div></div>
-<div class="ttc" id="classarrow_1_1_status_html"><div class="ttname"><a href="classarrow_1_1_status.html">arrow::Status</a></div><div class="ttdef"><b>Definition:</b> status.h:80</div></div>
-<div class="ttc" id="classarrow_1_1_status_html_a2240d82ac632c582efc070af2fe9a5ec"><div class="ttname"><a href="classarrow_1_1_status.html#a2240d82ac632c582efc070af2fe9a5ec">arrow::Status::ok</a></div><div class="ttdeci">bool ok() const</div><div class="ttdef"><b>Definition:</b> status.h:137</div></div>
+<div class="ttc" id="classarrow_1_1_status_html"><div class="ttname"><a href="classarrow_1_1_status.html">arrow::Status</a></div><div class="ttdef"><b>Definition:</b> status.h:84</div></div>
+<div class="ttc" id="classarrow_1_1_status_html_a2240d82ac632c582efc070af2fe9a5ec"><div class="ttname"><a href="classarrow_1_1_status.html#a2240d82ac632c582efc070af2fe9a5ec">arrow::Status::ok</a></div><div class="ttdeci">bool ok() const</div><div class="ttdef"><b>Definition:</b> status.h:141</div></div>
 <div class="ttc" id="classarrow_1_1stl__allocator_html_abcb413f5f18708e06fef91f20e20d2ab"><div class="ttname"><a href="classarrow_1_1stl__allocator.html#abcb413f5f18708e06fef91f20e20d2ab">arrow::stl_allocator::stl_allocator</a></div><div class="ttdeci">stl_allocator(const stl_allocator&lt; U &gt; &amp;rhs) noexcept</div><div class="ttdef"><b>Definition:</b> allocator.h:50</div></div>
+<div class="ttc" id="namespacearrow_html_aebe81d544faaf827b8f32c5a80b99820"><div class="ttname"><a href="namespacearrow.html#aebe81d544faaf827b8f32c5a80b99820">arrow::default_memory_pool</a></div><div class="ttdeci">MemoryPool * default_memory_pool()</div></div>
 <div class="ttc" id="namespacearrow_html_aaaffa5e80489838d1a7a8fcb67a8fb17"><div class="ttname"><a href="namespacearrow.html#aaaffa5e80489838d1a7a8fcb67a8fb17">arrow::operator!=</a></div><div class="ttdeci">bool operator!=(const stl_allocator&lt; T1 &gt; &amp;lhs, const stl_allocator&lt; T2 &gt; &amp;rhs) noexcept</div><div class="ttdef"><b>Definition:</b> allocator.h:93</div></div>
 <div class="ttc" id="structarrow_1_1stl__allocator_1_1rebind_html"><div class="ttname"><a href="structarrow_1_1stl__allocator_1_1rebind.html">arrow::stl_allocator::rebind</a></div><div class="ttdef"><b>Definition:</b> allocator.h:42</div></div>
 <div class="ttc" id="memory__pool_8h_html"><div class="ttname"><a href="memory__pool_8h.html">memory_pool.h</a></div></div>
 <div class="ttc" id="classarrow_1_1stl__allocator_html_a971781ef19b30cdd0f31d5cc3aa8e0c1"><div class="ttname"><a href="classarrow_1_1stl__allocator.html#a971781ef19b30cdd0f31d5cc3aa8e0c1">arrow::stl_allocator::size_max</a></div><div class="ttdeci">size_type size_max() const noexcept</div><div class="ttdef"><b>Definition:</b> allocator.h:69</div></div>
-<div class="ttc" id="namespacearrow_html"><div class="ttname"><a href="namespacearrow.html">arrow</a></div><div class="ttdoc">Public API for the &quot;Feather&quot; file format, originally created at http://github.com/wesm/feather. </div><div class="ttdef"><b>Definition:</b> allocator.h:28</div></div>
+<div class="ttc" id="namespacearrow_html"><div class="ttname"><a href="namespacearrow.html">arrow</a></div><div class="ttdoc">Top-level namespace for Apache Arrow C++ API. </div><div class="ttdef"><b>Definition:</b> allocator.h:28</div></div>
 <div class="ttc" id="classarrow_1_1stl__allocator_html_ae2832ef5c557af5db4a7c0623d6f2e48"><div class="ttname"><a href="classarrow_1_1stl__allocator.html#ae2832ef5c557af5db4a7c0623d6f2e48">arrow::stl_allocator::pool</a></div><div class="ttdeci">MemoryPool * pool() const noexcept</div><div class="ttdef"><b>Definition:</b> allocator.h:81</div></div>
 <div class="ttc" id="classarrow_1_1stl__allocator_html"><div class="ttname"><a href="classarrow_1_1stl__allocator.html">arrow::stl_allocator</a></div><div class="ttdef"><b>Definition:</b> allocator.h:31</div></div>
 <div class="ttc" id="status_8h_html"><div class="ttname"><a href="status_8h.html">status.h</a></div></div>
@@ -96,7 +97,6 @@ $(function() {
 <div class="ttc" id="classarrow_1_1stl__allocator_html_affeec274a43deb7cc79152837558eab5"><div class="ttname"><a href="classarrow_1_1stl__allocator.html#affeec274a43deb7cc79152837558eab5">arrow::stl_allocator::stl_allocator</a></div><div class="ttdeci">stl_allocator(MemoryPool *pool) noexcept</div><div class="ttdef"><b>Definition:</b> allocator.h:47</div></div>
 <div class="ttc" id="classarrow_1_1stl__allocator_html_a94843982d72329e69b9069ee781e5460"><div class="ttname"><a href="classarrow_1_1stl__allocator.html#a94843982d72329e69b9069ee781e5460">arrow::stl_allocator::construct</a></div><div class="ttdeci">void construct(U *p, Args &amp;&amp;... args)</div><div class="ttdef"><b>Definition:</b> allocator.h:72</div></div>
 <div class="ttc" id="classarrow_1_1stl__allocator_html_acc68d9df47ec479864980e24e5206c0b"><div class="ttname"><a href="classarrow_1_1stl__allocator.html#acc68d9df47ec479864980e24e5206c0b">arrow::stl_allocator::stl_allocator</a></div><div class="ttdeci">stl_allocator() noexcept</div><div class="ttdef"><b>Definition:</b> allocator.h:46</div></div>
-<div class="ttc" id="namespacearrow_html_a3fd0c21aaded24f07def6f62b34ac518"><div class="ttname"><a href="namespacearrow.html#a3fd0c21aaded24f07def6f62b34ac518">arrow::default_memory_pool</a></div><div class="ttdeci">MemoryPool * default_memory_pool()</div><div class="ttdef"><b>Definition:</b> memory_pool.cc:159</div></div>
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>


Mime
View raw message