<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">susumu.yata <susum****@gmail*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2013-06-28 23:45:20 +0900 (Fri, 28 Jun 2013)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11">9caf2b537e2abd985425ba76f8e8adbf88a35a11</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Rename grnxx::Bytes::ptr() to grnxx::Bytes::data().</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#diff-0">lib/grnxx/bytes.hpp</a></li>
<li><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#diff-1">lib/grnxx/map/bytes_array.cpp</a></li>
<li><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#diff-2">lib/grnxx/map/bytes_store.cpp</a></li>
<li><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#diff-3">lib/grnxx/storage/storage_impl.cpp</a></li>
<li><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#diff-4">lib/grnxx/string_builder.cpp</a></li>
<li><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#diff-5">test/test_bytes.cpp</a></li>
<li><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#diff-6">test/test_map.cpp</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/grnxx/bytes.hpp (+18 -18)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L31">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L34">34</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L35">35</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L37">37</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L38">38</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L39">39</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L40">40</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L41">41</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L42">42</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L43">43</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L44">44</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L45">45</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L48">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L49">49</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L50">50</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L51">51</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L52">52</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L53">53</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L54">54</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L55">55</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L56">56</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L57">57</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L58">58</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L59">59</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L60">60</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L61">61</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L63">63</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L64">64</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L65">65</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L68">68</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L69">69</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L70">70</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L71">71</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L72">72</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L73">73</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L74">74</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L75">75</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L76">76</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L77">77</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L78">78</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L79">79</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L80">80</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L81">81</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L82">82</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L84">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L85">85</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L86">86</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L87">87</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L88">88</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L89">89</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L90">90</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L91">91</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L105">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L106">106</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L107">107</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L108">108</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L109">109</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L110">110</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L111">111</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L112">112</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L123">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L124">124</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L125">125</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L126">126</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L127">127</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L128">128</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L129">129</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L130">130</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L131">131</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L132">132</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L133">133</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L134">134</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L135">135</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L137">137</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L138">138</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L139">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L140">140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L141">141</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L142">142</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L143">143</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L144">144</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L145">145</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0L146">146</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R31">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R34">34</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R35">35</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R37">37</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R38">38</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R39">39</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R40">40</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R41">41</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R42">42</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R43">43</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R44">44</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R45">45</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R48">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R49">49</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R50">50</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R51">51</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R52">52</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R53">53</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R54">54</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R55">55</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R56">56</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R57">57</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R58">58</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R59">59</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R60">60</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R61">61</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R63">63</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R64">64</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R65">65</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R68">68</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R69">69</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R70">70</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R71">71</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R72">72</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R73">73</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R74">74</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R75">75</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R76">76</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R77">77</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R78">78</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R79">79</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R80">80</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R81">81</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R82">82</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R84">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R85">85</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R86">86</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R87">87</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R88">88</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R89">89</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R90">90</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R91">91</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R105">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R106">106</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R107">107</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R108">108</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R109">109</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R110">110</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R111">111</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R112">112</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R123">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R124">124</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R125">125</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R126">126</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R127">127</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R128">128</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R129">129</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R130">130</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R131">131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R132">132</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R133">133</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R134">134</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R135">135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R137">137</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R138">138</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R139">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R140">140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R141">141</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R142">142</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R143">143</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R144">144</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R145">145</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L0R146">146</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -32,14 +32,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class Bytes {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Trivial default constructor.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Bytes() = default;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Create a reference to an empty (zero-size) sequence.</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- Bytes(nullptr_t) : ptr_(nullptr), size_(0) {}</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ Bytes(nullptr_t) : data_(nullptr), size_(0) {}</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Create a reference to a zero-terminated string.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Bytes(const char *str)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- : ptr_(reinterpret_cast<const uint8_t *>(str)),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ : data_(reinterpret_cast<const uint8_t *>(str)),</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> size_(std::strlen(str)) {}</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Create a reference to a sequence of bytes.</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- Bytes(const void *ptr, uint64_t size)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- : ptr_(static_cast<const uint8_t *>(ptr)),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ Bytes(const void *data, uint64_t size)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ : data_(static_cast<const uint8_t *>(data)),</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> size_(size) {}</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Return true iff the sequence is not empty.</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -49,34 +49,34 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class Bytes {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Skip the first "n" bytes and extract the subsequent "m" bytes.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Bytes extract(uint64_t n, uint64_t m) const {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- return Bytes(ptr_ + n, m);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return Bytes(data_ + n, m);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Remove the first "n" bytes and the last "m" bytes.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Bytes trim(uint64_t n, uint64_t m) const {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- return Bytes(ptr_ + n, size_ - n - m);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return Bytes(data_ + n, size_ - n - m);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Extract the first "n" bytes.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Bytes prefix(uint64_t n) const {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- return Bytes(ptr_, n);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return Bytes(data_, n);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Extract the last "n" bytes.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Bytes suffix(uint64_t n) const {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- return Bytes(ptr_ + size_ - n, n);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return Bytes(data_ + size_ - n, n);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Remove the first "n" bytes.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Bytes except_prefix(uint64_t n) const {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- return Bytes(ptr_ + n, size_ - n);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return Bytes(data_ + n, size_ - n);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Remove the last "n" bytes.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Bytes except_suffix(uint64_t n) const {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- return Bytes(ptr_, size_ - n);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return Bytes(data_, size_ - n);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Return true iff "*this" == "rhs".</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> bool operator==(const Bytes &rhs) const {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- return (size_ == rhs.size_) && (std::memcmp(ptr_, rhs.ptr_, size_) == 0);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return (size_ == rhs.size_) && (std::memcmp(data_, rhs.data_, size_) == 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Return true iff "*this" != "rhs".</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> bool operator!=(const Bytes &rhs) const {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -85,7 +85,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class Bytes {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Return true iff "*this" < "rhs".</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> bool operator<(const Bytes &rhs) const {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> const uint64_t min_size = (size_ < rhs.size_) ? size_ : rhs.size_;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- int result = std::memcmp(ptr_, rhs.ptr_, min_size);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ int result = std::memcmp(data_, rhs.data_, min_size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return (result < 0) || ((result == 0) && (size_ < rhs.size_));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Return true iff "*this" > "rhs".</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -106,7 +106,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class Bytes {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // otherwise (if "*this" > "bytes").</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> int compare(const Bytes &bytes) const {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> const uint64_t min_size = (size_ < bytes.size_) ? size_ : bytes.size_;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- int result = std::memcmp(ptr_, bytes.ptr_, min_size);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ int result = std::memcmp(data_, bytes.data_, min_size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (result != 0) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return result;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -124,15 +124,15 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class Bytes {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Return the "i"-th byte.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> uint8_t operator[](uint64_t i) const {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- return ptr_[i];</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return data_[i];</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Return the starting address.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> const void *address() const {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- return ptr_;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return data_;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Return a pointer to the sequence.</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- const uint8_t *ptr() const {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- return ptr_;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ const uint8_t *data() const {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return data_;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Return the number of bytes.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> uint64_t size() const {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -140,7 +140,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class Bytes {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> private:</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- const uint8_t *ptr_;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ const uint8_t *data_;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> uint64_t size_;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> };</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/grnxx/map/bytes_array.cpp (+1 -1)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1L147">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1L148">148</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1L149">149</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1L150">150</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1L151">151</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1L152">152</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1L153">153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1L154">154</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1R147">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1R148">148</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1R149">149</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1R150">150</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1R151">151</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1R152">152</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1R153">153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L1R154">154</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -148,7 +148,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">bool BytesArray::create_array(Storage *storage, uint32_t storage_node_id,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> header_ = static_cast<BytesArrayHeader *>(storage_node.body());</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> *header_ = BytesArrayHeader();</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> header_->default_value_size = default_value.size();</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- std::memcpy(header_ + 1, default_value.ptr(), default_value.size());</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ std::memcpy(header_ + 1, default_value.data(), default_value.size());</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> default_value_ = Value(header_ + 1, default_value.size());</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ids_.reset(IDArray::create(storage, storage_node_id_,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> BYTES_STORE_INVALID_BYTES_ID));</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/grnxx/map/bytes_store.cpp (+1 -1)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2L341">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2L342">342</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2L343">343</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2L344">344</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2L345">345</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2L346">346</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2L347">347</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2L348">348</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2R341">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2R342">342</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2R343">343</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2R344">344</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2R345">345</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2R346">346</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2R347">347</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L2R348">348</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -342,7 +342,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">bool BytesStoreImpl::add(ValueArg bytes, uint64_t *bytes_id) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!page) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return false;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- std::memcpy(page + offset_in_page, bytes.ptr(), size);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ std::memcpy(page + offset_in_page, bytes.data(), size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> *bytes_id = get_bytes_id(offset, size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> page_header->size_in_use += size;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (offset == header_->next_offset) {</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/grnxx/storage/storage_impl.cpp (+2 -2)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3L1164">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3L1165">1165</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3L1166">1166</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3L1167">1167</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3L1168">1168</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3L1169">1169</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3L1170">1170</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3L1171">1171</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3L1172">1172</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3L1173">1173</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3L1174">1174</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3L1175">1175</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3R1164">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3R1165">1165</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3R1166">1166</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3R1167">1167</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3R1168">1168</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3R1169">1169</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3R1170">1170</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3R1171">1171</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3R1172">1172</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3R1173">1173</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3R1174">1174</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L3R1175">1175</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1165,11 +1165,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">char *StorageImpl::generate_path(uint16_t file_id) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return nullptr;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (has_extension) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- std::memcpy(path, prefix.ptr(), prefix.size() - 4);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ std::memcpy(path, prefix.data(), prefix.size() - 4);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> std::sprintf(path + prefix.size() - 4, "_%03d", file_id);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> std::strcpy(path + prefix.size(), ".grn");</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> } else {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- std::memcpy(path, prefix.ptr(), prefix.size());</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ std::memcpy(path, prefix.data(), prefix.size());</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> std::sprintf(path + prefix.size(), "_%03d", file_id);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return path;</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/grnxx/string_builder.cpp (+1 -1)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4L174">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4L175">175</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4L176">176</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4L177">177</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4L178">178</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4L179">179</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4L180">180</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4L181">181</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4R174">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4R175">175</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4R176">176</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4R177">177</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4R178">178</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4R179">179</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4R180">180</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L4R181">181</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -175,7 +175,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">StringBuilder &operator<<(StringBuilder &builder, const void *value) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> StringBuilder &operator<<(StringBuilder &builder, const Bytes &bytes) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // TODO: StringBuilder should support const uint_8 *.</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- return builder.append(reinterpret_cast<const char *>(bytes.ptr()),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return builder.append(reinterpret_cast<const char *>(bytes.data()),</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> bytes.size());</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: test/test_bytes.cpp (+8 -8)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L51">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L52">52</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L53">53</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L54">54</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L55">55</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L56">56</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L57">57</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L58">58</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L59">59</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L60">60</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L61">61</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L63">63</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L64">64</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L66">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L68">68</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L69">69</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L70">70</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L71">71</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L72">72</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L73">73</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L74">74</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L75">75</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L76">76</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L77">77</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L78">78</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L79">79</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L81">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L82">82</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L83">83</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L84">84</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L85">85</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L86">86</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L87">87</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L88">88</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L89">89</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L90">90</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L91">91</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L92">92</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L93">93</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L94">94</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L96">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L97">97</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L98">98</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L99">99</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L100">100</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L101">101</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L102">102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L105">105</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L106">106</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L107">107</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L108">108</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5L109">109</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R51">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R52">52</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R53">53</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R54">54</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R55">55</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R56">56</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R57">57</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R58">58</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R59">59</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R60">60</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R61">61</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R63">63</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R64">64</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R66">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R68">68</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R69">69</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R70">70</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R71">71</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R72">72</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R73">73</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R74">74</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R75">75</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R76">76</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R77">77</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R78">78</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R79">79</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R81">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R82">82</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R83">83</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R84">84</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R85">85</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R86">86</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R87">87</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R88">88</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R89">89</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R90">90</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R91">91</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R92">92</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R93">93</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R94">94</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R96">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R97">97</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R98">98</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R99">99</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R101">101</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R102">102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R105">105</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R106">106</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R107">107</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R108">108</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L5R109">109</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -52,13 +52,13 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">void test_extract() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grnxx::Bytes part = bytes.extract(5, 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(!part);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- assert(part.ptr() == (bytes.ptr() + 5));</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ assert(part.data() == (bytes.data() + 5));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(part.size() == 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> part = bytes.extract(3, 5);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(part);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- assert(part.ptr() == (bytes.ptr() + 3));</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ assert(part.data() == (bytes.data() + 3));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(part.size() == 5);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -67,13 +67,13 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">void test_trim() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grnxx::Bytes part = bytes.extract(5, 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(!part);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- assert(part.ptr() == (bytes.ptr() + 5));</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ assert(part.data() == (bytes.data() + 5));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(part.size() == 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> part = bytes.extract(3, 5);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(part);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- assert(part.ptr() == (bytes.ptr() + 3));</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ assert(part.data() == (bytes.data() + 3));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(part.size() == 5);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -82,13 +82,13 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">void test_prefix() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grnxx::Bytes prefix = bytes.prefix(0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(!prefix);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- assert(prefix.ptr() == bytes.ptr());</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ assert(prefix.data() == bytes.data());</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(prefix.size() == 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> prefix = bytes.prefix(5);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(prefix);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- assert(prefix.ptr() == bytes.ptr());</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ assert(prefix.data() == bytes.data());</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(prefix.size() == 5);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -97,13 +97,13 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">void test_suffix() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grnxx::Bytes suffix = bytes.suffix(0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(!suffix);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- assert(suffix.ptr() == (bytes.ptr() + 10));</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ assert(suffix.data() == (bytes.data() + 10));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(suffix.size() == 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> suffix = bytes.suffix(5);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(suffix);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- assert(suffix.ptr() == (bytes.ptr() + 5));</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ assert(suffix.data() == (bytes.data() + 5));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert(suffix.size() == 5);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: test/test_map.cpp (+1 -1)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6L130">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6L131">131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6L132">132</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6L133">133</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6L134">134</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6L135">135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6L136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6L137">137</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6R130">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6R131">131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6R132">132</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6R133">133</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6R134">134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6R135">135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6R136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/9caf2b537e2abd985425ba76f8e8adbf88a35a11#L6R137">137</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -131,7 +131,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">void generate_random_keys(std::uint64_t num_keys,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> keyset.clear();</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> while (keyset.size() < num_keys) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> const grnxx::Bytes key = generate_random_key<grnxx::Bytes>();</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- keyset.insert(std::string(reinterpret_cast<const char *>(key.ptr()),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ keyset.insert(std::string(reinterpret_cast<const char *>(key.data()),</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> key.size()));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> keys->clear();</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>