diff options
Diffstat (limited to 'html/030container.cc.html')
-rw-r--r-- | html/030container.cc.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/html/030container.cc.html b/html/030container.cc.html index ebe82988..1427b05c 100644 --- a/html/030container.cc.html +++ b/html/030container.cc.html @@ -390,7 +390,7 @@ if ('onhashchange' in window) { <span id="L323" class="LineNr">323 </span> <span class="Comment">// define a container containing an address to itself</span> <span id="L324" class="LineNr">324 </span> run<span class="Delimiter">(</span><span class="Constant">"container foo [</span><span class="cSpecial">\n</span><span class="Constant">"</span> <span id="L325" class="LineNr">325 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Constant">" x:num</span><span class="cSpecial">\n</span><span class="Constant">"</span> -<span id="L326" class="LineNr">326 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Constant">" y:<a href='043space.cc.html#L76'>address</a>:foo</span><span class="cSpecial">\n</span><span class="Constant">"</span> +<span id="L326" class="LineNr">326 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Constant">" y:address:foo</span><span class="cSpecial">\n</span><span class="Constant">"</span> <span id="L327" class="LineNr">327 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Constant">"]</span><span class="cSpecial">\n</span><span class="Constant">"</span><span class="Delimiter">);</span> <span id="L328" class="LineNr">328 </span> reagent r<span class="Delimiter">(</span><span class="Constant">"x:foo"</span><span class="Delimiter">);</span> <span id="L329" class="LineNr">329 </span> compute_container_sizes<span class="Delimiter">(</span>r<span class="Delimiter">,</span> <span class="Constant">""</span><span class="Delimiter">);</span> @@ -402,7 +402,7 @@ if ('onhashchange' in window) { <span id="L335" class="LineNr">335 </span> reagent container<span class="Delimiter">(</span><span class="Constant">"x:point"</span><span class="Delimiter">);</span> <span id="L336" class="LineNr">336 </span> <a href='002test.cc.html#L24'>CHECK</a><span class="Delimiter">(</span>!contains_key<span class="Delimiter">(</span>Container_metadata<span class="Delimiter">,</span> container<span class="Delimiter">.</span>type<span class="Delimiter">));</span> <span id="L337" class="LineNr">337 </span> <span class="Comment">// scanning an address to the container precomputes the size of the container</span> -<span id="L338" class="LineNr">338 </span> reagent r<span class="Delimiter">(</span><span class="Constant">"x:<a href='043space.cc.html#L76'>address</a>:point"</span><span class="Delimiter">);</span> +<span id="L338" class="LineNr">338 </span> reagent r<span class="Delimiter">(</span><span class="Constant">"x:address:point"</span><span class="Delimiter">);</span> <span id="L339" class="LineNr">339 </span> compute_container_sizes<span class="Delimiter">(</span>r<span class="Delimiter">,</span> <span class="Constant">""</span><span class="Delimiter">);</span> <span id="L340" class="LineNr">340 </span> <a href='002test.cc.html#L24'>CHECK</a><span class="Delimiter">(</span>contains_key<span class="Delimiter">(</span>Container_metadata<span class="Delimiter">,</span> container<span class="Delimiter">.</span>type<span class="Delimiter">));</span> <span id="L341" class="LineNr">341 </span> <a href='002test.cc.html#L31'>CHECK_EQ</a><span class="Delimiter">(</span>get<span class="Delimiter">(</span>Container_metadata<span class="Delimiter">,</span> container<span class="Delimiter">.</span>type<span class="Delimiter">).</span>size<span class="Delimiter">,</span> <span class="Constant">2</span><span class="Delimiter">);</span> @@ -542,7 +542,7 @@ if ('onhashchange' in window) { <span id="L475" class="LineNr">475 </span> <span class="Constant">12</span>:num<span class="Special"> <- </span>copy <span class="Constant">34</span> <span id="L476" class="LineNr">476 </span> <span class="Constant">13</span>:num<span class="Special"> <- </span>copy <span class="Constant">35</span> <span id="L477" class="LineNr">477 </span> <span class="Constant">14</span>:num<span class="Special"> <- </span>copy <span class="Constant">36</span> -<span id="L478" class="LineNr">478 </span> <span class="Constant">15</span>:<a href='043space.cc.html#L76'>address</a>:num<span class="Special"> <- </span>get <span class="Constant">12</span>:point-number/<span class="Special">raw</span><span class="Delimiter">,</span> <span class="Constant">1:offset</span> +<span id="L478" class="LineNr">478 </span> <span class="Constant">15</span>:address:num<span class="Special"> <- </span>get <span class="Constant">12</span>:point-number/<span class="Special">raw</span><span class="Delimiter">,</span> <span class="Constant">1:offset</span> <span id="L479" class="LineNr">479 </span>] <span id="L480" class="LineNr">480 </span><span class="traceContains">+error: <a href='000organization.cc.html#L113'>main</a>: 'get 12:point-number/raw, 1:offset' should write to number but '15' has type (address number)</span> <span id="L481" class="LineNr">481 </span> @@ -636,8 +636,8 @@ if ('onhashchange' in window) { <span id="L569" class="LineNr">569 </span> <span class="Comment">// Update PUT base_type in Run</span> <span id="L570" class="LineNr">570 </span> <span class="Normal">int</span> offset = ingredients<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">1</span><span class="Delimiter">).</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">);</span> <span id="L571" class="LineNr">571 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>offset < <span class="Constant">0</span> || offset >= <a href='001help.cc.html#L141'>SIZE</a><span class="Delimiter">(</span>get<span class="Delimiter">(</span>Type<span class="Delimiter">,</span> base_type<span class="Delimiter">-></span>value<span class="Delimiter">).</span>elements<span class="Delimiter">))</span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span class="Comment">// copied from Check above</span> -<span id="L572" class="LineNr">572 </span> <span class="Normal">int</span> <a href='043space.cc.html#L76'>address</a> = base_address + base<span class="Delimiter">.</span>metadata<span class="Delimiter">.</span>offset<span class="Delimiter">.</span>at<span class="Delimiter">(</span>offset<span class="Delimiter">);</span> -<span id="L573" class="LineNr">573 </span> <a href='003trace.cc.html#L161'>trace</a><span class="Delimiter">(</span><span class="Constant">9998</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"address to copy to is "</span> << <a href='043space.cc.html#L76'>address</a> << <a href='003trace.cc.html#L197'>end</a><span class="Delimiter">();</span> +<span id="L572" class="LineNr">572 </span> <span class="Normal">int</span> address = base_address + base<span class="Delimiter">.</span>metadata<span class="Delimiter">.</span>offset<span class="Delimiter">.</span>at<span class="Delimiter">(</span>offset<span class="Delimiter">);</span> +<span id="L573" class="LineNr">573 </span> <a href='003trace.cc.html#L161'>trace</a><span class="Delimiter">(</span><span class="Constant">9998</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"address to copy to is "</span> << address << <a href='003trace.cc.html#L197'>end</a><span class="Delimiter">();</span> <span id="L574" class="LineNr">574 </span> <span class="Comment">// optimization: directly write the element rather than updating 'product'</span> <span id="L575" class="LineNr">575 </span> <span class="Comment">// and writing the entire container</span> <span id="L576" class="LineNr">576 </span> <span class="Comment">// Write Memory in PUT in Run</span> @@ -938,7 +938,7 @@ if ('onhashchange' in window) { <span id="L871" class="LineNr">871 </span> <span id="L872" class="LineNr">872 </span><span class="Delimiter">:(scenario container_with_compound_field_type)</span> <span id="L873" class="LineNr">873 </span><span class="muData">container</span> foo [ -<span id="L874" class="LineNr">874 </span> <span class="Delimiter">{</span>x: <span class="Delimiter">(</span><a href='043space.cc.html#L76'>address</a> array <span class="Delimiter">(</span><a href='043space.cc.html#L76'>address</a> array character<span class="Delimiter">))}</span> +<span id="L874" class="LineNr">874 </span> <span class="Delimiter">{</span>x: <span class="Delimiter">(</span>address array <span class="Delimiter">(</span>address array character<span class="Delimiter">))}</span> <span id="L875" class="LineNr">875 </span>] <span id="L876" class="LineNr">876 </span>$error: <span class="Constant">0</span> <span id="L877" class="LineNr">877 </span> |