<!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">Kouhei Sutou <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2015-04-17 18:02:08 +0900 (Fri, 17 Apr 2015)</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2">10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2</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">Add grn_atoull()</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#diff-0">lib/grn_str.h</a></li>
<li><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#diff-1">lib/str.c</a></li>
<li><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#diff-2">test/unit/util/test-string.c</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/grn_str.h (+1 -0)</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L0L53">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L0L54">54</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L0L55">55</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L0L57">57</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L0L58">58</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L0L59">59</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L0R53">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L0R54">54</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L0R55">55</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L0R56">56</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L0R57">57</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L0R58">58</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L0R59">59</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L0R60">60</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">@@ -54,6 +54,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">GRN_API int grn_atoi(const char *nptr, const char *end, const char **rest);</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_API unsigned int grn_atoui(const char *nptr, const char *end, const char **rest);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> unsigned int grn_htoui(const char *nptr, const char *end, const char **rest);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_API int64_t grn_atoll(const char *nptr, const char *end, const char **rest);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+GRN_API uint64_t grn_atoull(const char *nptr, const char *end, const char **rest);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_rc grn_itoa(int i, char *p, char *end, char **rest);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_rc grn_lltoa(int64_t i, char *p, char *end, char **rest);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_rc grn_ulltoa(uint64_t i, char *p, char *end, char **rest);</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/str.c (+14 -0)</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1L1499">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1L1500">1500</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1L1501">1501</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1L1502">1502</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-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-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-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-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-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-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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1L1503">1503</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1L1504">1504</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1L1505">1505</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1499">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1500">1500</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1501">1501</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1502">1502</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1503">1503</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1504">1504</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1505">1505</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1506">1506</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1507">1507</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1508">1508</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1509">1509</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1510">1510</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1511">1511</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1512">1512</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1513">1513</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1514">1514</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1515">1515</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1516">1516</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1517">1517</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1518">1518</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L1R1519">1519</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">@@ -1500,6 +1500,20 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_atoll(const char *nptr, const char *end, const char **rest)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return n ? -v : v;</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-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+uint64_t</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+grn_atoull(const char *nptr, const char *end, const char **rest)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+{</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ uint64_t v = 0, t;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ while (nptr < end && *nptr >= '0' && *nptr <= '9') {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ t = v * 10 + (*nptr - '0');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (t < v) { v = 0; break; }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ v = t;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ nptr++;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (rest) { *rest = nptr; }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return v;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+}</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> unsigned int</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_htoui(const char *nptr, const char *end, const char **rest)</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/unit/util/test-string.c (+38 -0)</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2L51">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2L52">52</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2L53">53</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2L54">54</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2L55">55</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2L56">56</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2L57">57</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2L1002">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2L1003">1003</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2L1004">1004</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2L1005">1005</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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2L1006">1006</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2L1007">1007</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2L1008">1008</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R51">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R52">52</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R53">53</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R54">54</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R55">55</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R56">56</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R57">57</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R58">58</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R59">59</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1004">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1005">1005</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1006">1006</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1007">1007</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1008">1008</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1009">1009</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1010">1010</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1011">1011</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1012">1012</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1013">1013</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1014">1014</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1015">1015</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1016">1016</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1017">1017</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1018">1018</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1019">1019</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1020">1020</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1021">1021</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1022">1022</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1023">1023</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1024">1024</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1025">1025</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1026">1026</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1027">1027</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1028">1028</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1029">1029</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1030">1030</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1031">1031</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1032">1032</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1033">1033</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1034">1034</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1035">1035</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1036">1036</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1037">1037</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1038">1038</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1039">1039</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1040">1040</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1041">1041</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1042">1042</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/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1043">1043</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1044">1044</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1045">1045</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/10bdc8a3bf0ed8f1fc8a6a665f4dccb083d689e2#L2R1046">1046</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,6 +52,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">void data_str_len(void);</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> void test_str_len(gconstpointer data);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> void data_aton(void);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> void test_aton(gconstpointer data);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+void data_atoull(void);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+void test_atoull(gconstpointer data);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> void data_itoh(void);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> void test_itoh(gconstpointer data);</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">@@ -1003,6 +1005,42 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">test_aton(gconstpointer data)</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"> void</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+data_atoull(void)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+{</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#define ADD_DATUM(label, expected, input) \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ gcut_add_datum(label " - " #expected, \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ "expected", G_TYPE_UINT64, expected, \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ "input", G_TYPE_STRING, input, \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ NULL)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ ADD_DATUM("uint32 max",</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ G_GUINT64_CONSTANT(4294967295),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ "4294967295");</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ ADD_DATUM("int64 max",</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ G_GUINT64_CONSTANT(344494643000000),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ "344494643000000");</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ ADD_DATUM("uint64 max",</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ G_GUINT64_CONSTANT(18446744073709551615),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ "18446744073709551615");</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#undef ADD_DATUM</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+}</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+void</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+test_atoull(gconstpointer data)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+{</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ const gchar *input, *input_end, *rest;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ uint64_t value;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ input = gcut_data_get_string(data, "input");</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ input_end = strchr(input, '\0');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ value = grn_atoull(input, input_end, &rest);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ cut_assert_equal_string(input_end, rest);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ gcut_assert_equal_uint64(gcut_data_get_uint64(data, "expected"),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ value);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+}</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+void</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> data_itoh(void)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #define ADD_DATUM(label, expected, input, length) \</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>