x for that hash</li>
<li>if the submap index is one assigned to this thread, then insert the value, otherwise do nothing and continue to the next value</li>
</ol>
<p>Here is the code for the single-threaded insert:</p>
<div class="sourceCode" id="cb1"><pre class="sourceCode c++"><code class="sourceCode cpp"><a class="sourceLine" id="cb1-1" title="1"><span class="kw">template</span> &lt;<span class="kw">class</span> HT&gt;</a>
<a class="sourceLine" id="cb1-2" title="2"><span class="dt">void</span> _fill_rand