diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-06-20 10:40:07 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-06-20 10:40:07 -0700 |
commit | 124c67645cb6f1b9f06d7104c5398fa4732e2f25 (patch) | |
tree | 8d4419ff18f494d4ad5e3318820764c5fa4c474a /html/061text.mu.html | |
parent | 130596f0e0efe89a4bee136c1d62ecc577c756e2 (diff) | |
download | mu-124c67645cb6f1b9f06d7104c5398fa4732e2f25.tar.gz |
3934
Diffstat (limited to 'html/061text.mu.html')
-rw-r--r-- | html/061text.mu.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/html/061text.mu.html b/html/061text.mu.html index b047154b..f380a9d3 100644 --- a/html/061text.mu.html +++ b/html/061text.mu.html @@ -190,17 +190,17 @@ if ('onhashchange' in window) { <span id="L128" class="LineNr"> 128 </span> data:&:@:_elem <span id="L129" class="LineNr"> 129 </span>] <span id="L130" class="LineNr"> 130 </span> -<span id="L131" class="LineNr"> 131 </span><span class="muRecipe">def</span> <a href='061text.mu.html#L131'>new-buffer</a> <a href='075channel.mu.html#L379'>capacity</a>:num<span class="muRecipe"> -> </span>result:&:<a href='061text.mu.html#L126'>buffer</a>:_elem [ +<span id="L131" class="LineNr"> 131 </span><span class="muRecipe">def</span> <a href='061text.mu.html#L131'>new-buffer</a> <a href='075channel.mu.html#L399'>capacity</a>:num<span class="muRecipe"> -> </span>result:&:<a href='061text.mu.html#L126'>buffer</a>:_elem [ <span id="L132" class="LineNr"> 132 </span> <span class="Constant">local-scope</span> <span id="L133" class="LineNr"> 133 </span> <span class="Constant">load-ingredients</span> <span id="L134" class="LineNr"> 134 </span> result <span class="Special"><-</span> new <span class="Delimiter">{</span>(buffer _elem): type<span class="Delimiter">}</span> <span id="L135" class="LineNr"> 135 </span> *result <span class="Special"><-</span> put *result, <span class="Constant">length:offset</span>,<span class="Constant"> 0</span> <span id="L136" class="LineNr"> 136 </span> <span class="Delimiter">{</span> -<span id="L137" class="LineNr"> 137 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> <a href='075channel.mu.html#L379'>capacity</a> +<span id="L137" class="LineNr"> 137 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> <a href='075channel.mu.html#L399'>capacity</a> <span id="L138" class="LineNr"> 138 </span> <span class="Conceal">¦</span> <span class="Comment"># capacity not provided</span> -<span id="L139" class="LineNr"> 139 </span> <span class="Conceal">¦</span> <a href='075channel.mu.html#L379'>capacity</a> <span class="Special"><-</span> copy<span class="Constant"> 10</span> +<span id="L139" class="LineNr"> 139 </span> <span class="Conceal">¦</span> <a href='075channel.mu.html#L399'>capacity</a> <span class="Special"><-</span> copy<span class="Constant"> 10</span> <span id="L140" class="LineNr"> 140 </span> <span class="Delimiter">}</span> -<span id="L141" class="LineNr"> 141 </span> data:&:@:_elem <span class="Special"><-</span> new <span class="Constant">_elem:type</span>, <a href='075channel.mu.html#L379'>capacity</a> +<span id="L141" class="LineNr"> 141 </span> data:&:@:_elem <span class="Special"><-</span> new <span class="Constant">_elem:type</span>, <a href='075channel.mu.html#L399'>capacity</a> <span id="L142" class="LineNr"> 142 </span> *result <span class="Special"><-</span> put *result, <span class="Constant">data:offset</span>, data <span id="L143" class="LineNr"> 143 </span> <span class="muControl">return</span> result <span id="L144" class="LineNr"> 144 </span>] @@ -231,8 +231,8 @@ if ('onhashchange' in window) { <span id="L169" class="LineNr"> 169 </span> <span class="Constant">load-ingredients</span> <span id="L170" class="LineNr"> 170 </span> len:num <span class="Special"><-</span> get *in, <span class="Constant">length:offset</span> <span id="L171" class="LineNr"> 171 </span> s:&:@:_elem <span class="Special"><-</span> get *in, <span class="Constant">data:offset</span> -<span id="L172" class="LineNr"> 172 </span> <a href='075channel.mu.html#L379'>capacity</a>:num <span class="Special"><-</span> length *s -<span id="L173" class="LineNr"> 173 </span> result <span class="Special"><-</span> greater-or-equal len, <a href='075channel.mu.html#L379'>capacity</a> +<span id="L172" class="LineNr"> 172 </span> <a href='075channel.mu.html#L399'>capacity</a>:num <span class="Special"><-</span> length *s +<span id="L173" class="LineNr"> 173 </span> result <span class="Special"><-</span> greater-or-equal len, <a href='075channel.mu.html#L399'>capacity</a> <span id="L174" class="LineNr"> 174 </span>] <span id="L175" class="LineNr"> 175 </span> <span id="L176" class="LineNr"> 176 </span><span class="Comment"># most broadly applicable definition of append to a buffer</span> |