Skip to content

Commit

Permalink
Deploying to gh-pages from @ 6943c6d 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Jul 31, 2023
1 parent 1d014b0 commit 7893048
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/polars_row/fixed.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,11 @@
<a href="#280" id="280">280</a>
<a href="#281" id="281">281</a>
<a href="#282" id="282">282</a>
<a href="#283" id="283">283</a>
<a href="#284" id="284">284</a>
<a href="#285" id="285">285</a>
<a href="#286" id="286">286</a>
<a href="#287" id="287">287</a>
</pre></div><pre class="rust"><code><span class="kw">use </span>std::mem::MaybeUninit;

<span class="kw">use </span>arrow::array::{BooleanArray, PrimitiveArray};
Expand Down Expand Up @@ -479,6 +484,11 @@
MaybeUninit::new(get_null_sentinel(field))
};
<span class="kw">let </span>end_offset = <span class="kw-2">*</span>offset + T::ENCODED_LEN;

<span class="comment">// initialize remaining bytes
</span><span class="kw">let </span>remainder = values.get_unchecked_release_mut(<span class="kw-2">*</span>offset + <span class="number">1</span>..end_offset);
remainder.fill(MaybeUninit::new(<span class="number">0</span>));

<span class="kw-2">*</span>offset = end_offset;
}
}
Expand Down

0 comments on commit 7893048

Please sign in to comment.