diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-06-19 11:29:20 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-06-19 11:29:20 -0700 |
commit | 1c2d788b454670bf8fa1cb65c6251a8ff6ddcaf7 (patch) | |
tree | fb858c9ac49152af7cfdd956c12870206cc18c72 /html/002test.cc.html | |
parent | b755631561fd1a9223effcc833e2c8201582f63d (diff) | |
download | mu-1c2d788b454670bf8fa1cb65c6251a8ff6ddcaf7.tar.gz |
3927
Diffstat (limited to 'html/002test.cc.html')
-rw-r--r-- | html/002test.cc.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/002test.cc.html b/html/002test.cc.html index 0f167395..d62a0da3 100644 --- a/html/002test.cc.html +++ b/html/002test.cc.html @@ -116,7 +116,7 @@ if ('onhashchange' in window) { <span id="L54" class="LineNr"> 54 </span> <span class="Normal">time_t</span> t<span class="Delimiter">;</span> time<span class="Delimiter">(</span>&t<span class="Delimiter">);</span> <span id="L55" class="LineNr"> 55 </span> cerr << <span class="Constant">"C tests: "</span> << ctime<span class="Delimiter">(</span>&t<span class="Delimiter">);</span> <span id="L56" class="LineNr"> 56 </span> <span class="Normal">for</span> <span class="Delimiter">(</span><span class="Normal">size_t</span> i=<span class="Constant">0</span><span class="Delimiter">;</span> i < <span class="Normal">sizeof</span><span class="Delimiter">(</span>Tests<span class="Delimiter">)</span>/<span class="Normal">sizeof</span><span class="Delimiter">(</span>Tests[<span class="Constant">0</span>]<span class="Delimiter">);</span> ++i<span class="Delimiter">)</span> <span class="Delimiter">{</span> -<span id="L57" class="LineNr"> 57 </span><span class="CommentedCode">//? cerr << i << '\n';</span> +<span id="L57" class="LineNr"> 57 </span><span class="CommentedCode">//? cerr << "running .build/test_list line " << (i+1) << '\n';</span> <span id="L58" class="LineNr"> 58 </span> <span class="Conceal">¦</span> <a href='002test.cc.html#L72'>run_test</a><span class="Delimiter">(</span>i<span class="Delimiter">);</span> <span id="L59" class="LineNr"> 59 </span> <span class="Delimiter">}</span> <span id="L60" class="LineNr"> 60 </span> cerr << <span class="cSpecial">'\n'</span><span class="Delimiter">;</span> @@ -152,7 +152,7 @@ if ('onhashchange' in window) { <span id="L90" class="LineNr"> 90 </span><span class="Delimiter">}</span> <span id="L91" class="LineNr"> 91 </span> <span id="L92" class="LineNr"> 92 </span><span class="Normal">int</span> <a href='002test.cc.html#L92'>to_integer</a><span class="Delimiter">(</span>string n<span class="Delimiter">)</span> <span class="Delimiter">{</span> -<span id="L93" class="LineNr"> 93 </span> <span class="Normal">char</span>* <a href='003trace.cc.html#L185'>end</a> = <span class="Constant">NULL</span><span class="Delimiter">;</span> +<span id="L93" class="LineNr"> 93 </span> <span class="Normal">char</span>* <a href='003trace.cc.html#L197'>end</a> = <span class="Constant">NULL</span><span class="Delimiter">;</span> <span id="L94" class="LineNr"> 94 </span> <span class="Comment">// safe because string.c_str() is guaranteed to be null-terminated</span> <span id="L95" class="LineNr"> 95 </span> <span class="Normal">int</span> result = strtoll<span class="Delimiter">(</span>n<span class="Delimiter">.</span>c_str<span class="Delimiter">(),</span> &end<span class="Delimiter">,</span> <span class="Comment">/*</span><span class="Comment">any base</span><span class="Comment">*/</span><span class="Constant">0</span><span class="Delimiter">);</span> <span id="L96" class="LineNr"> 96 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>*end != <span class="cSpecial">'\0'</span><span class="Delimiter">)</span> cerr << <span class="Constant">"tried to convert "</span> << n << <span class="Constant">" to number</span><span class="cSpecial">\n</span><span class="Constant">"</span><span class="Delimiter">;</span> |