about summary refs log tree commit diff stats
path: root/html/404stream.mu.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-09-11 00:59:56 -0700
committerKartik Agaram <vc@akkartik.com>2020-09-11 00:59:56 -0700
commit91a5f3e10300fd84db26690095329592de0942d7 (patch)
tree892f8d2f339f834ff6a8269e1fe098750c99090d /html/404stream.mu.html
parent3a4be20aba860bb62db3271b8e157bcc807514b0 (diff)
downloadmu-91a5f3e10300fd84db26690095329592de0942d7.tar.gz
6774
Diffstat (limited to 'html/404stream.mu.html')
-rw-r--r--html/404stream.mu.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/html/404stream.mu.html b/html/404stream.mu.html
index b381c192..c2ba328b 100644
--- a/html/404stream.mu.html
+++ b/html/404stream.mu.html
@@ -102,6 +102,29 @@ if ('onhashchange' in window) {
 <span id="L44" class="LineNr">44 </span>  tmp <span class="SpecialChar">&lt;-</span> <a href='309stream.subx.html#L30'>stream-full?</a> s2
 <span id="L45" class="LineNr">45 </span>  <a href='401test.mu.html#L3'>check-true</a> tmp, <span class="Constant">&quot;F - test-stream-full?&quot;</span>
 <span id="L46" class="LineNr">46 </span><span class="Delimiter">}</span>
+<span id="L47" class="LineNr">47 </span>
+<span id="L48" class="LineNr">48 </span><span class="PreProc">fn</span> <span class="muTest"><a href='404stream.mu.html#L48'>test-fake-input-buffered-file</a></span> <span class="Delimiter">{</span>
+<span id="L49" class="LineNr">49 </span>  <span class="PreProc">var</span> foo: (handle buffered-file)
+<span id="L50" class="LineNr">50 </span>  <span class="PreProc">var</span> foo-ah/<span class="Constant">eax</span>: (addr handle buffered-file) <span class="SpecialChar">&lt;-</span> address foo
+<span id="L51" class="LineNr">51 </span>  <a href='306files.subx.html#L73'>populate-buffered-file-containing</a> <span class="Constant">&quot;abc&quot;</span>, foo-ah
+<span id="L52" class="LineNr">52 </span>  <span class="PreProc">var</span> foo-addr/<span class="Constant">eax</span>: (addr buffered-file) <span class="SpecialChar">&lt;-</span> <a href='120allocate.subx.html#L256'>lookup</a> foo
+<span id="L53" class="LineNr">53 </span>  <span class="PreProc">var</span> s: (stream byte <span class="Constant">0x100</span>)
+<span id="L54" class="LineNr">54 </span>  <span class="PreProc">var</span> result/<span class="Constant">ecx</span>: (addr stream byte) <span class="SpecialChar">&lt;-</span> address s
+<span id="L55" class="LineNr">55 </span>  <a href='122read-line.subx.html#L9'>read-line-buffered</a> foo-addr, result
+<span id="L56" class="LineNr">56 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> result, <span class="Constant">&quot;abc&quot;</span>, <span class="Constant">&quot;F - test-fake-input-buffered-file&quot;</span>
+<span id="L57" class="LineNr">57 </span><span class="Delimiter">}</span>
+<span id="L58" class="LineNr">58 </span>
+<span id="L59" class="LineNr">59 </span><span class="PreProc">fn</span> <span class="muTest"><a href='404stream.mu.html#L59'>test-fake-output-buffered-file</a></span> <span class="Delimiter">{</span>
+<span id="L60" class="LineNr">60 </span>  <span class="PreProc">var</span> foo: (handle buffered-file)
+<span id="L61" class="LineNr">61 </span>  <span class="PreProc">var</span> foo-ah/<span class="Constant">eax</span>: (addr handle buffered-file) <span class="SpecialChar">&lt;-</span> address foo
+<span id="L62" class="LineNr">62 </span>  <a href='306files.subx.html#L119'>new-buffered-file</a> foo-ah
+<span id="L63" class="LineNr">63 </span>  <span class="PreProc">var</span> foo-addr/<span class="Constant">eax</span>: (addr buffered-file) <span class="SpecialChar">&lt;-</span> <a href='120allocate.subx.html#L256'>lookup</a> foo
+<span id="L64" class="LineNr">64 </span>  <a href='116write-buffered.subx.html#L8'>write-buffered</a> foo-addr, <span class="Constant">&quot;abc&quot;</span>
+<span id="L65" class="LineNr">65 </span>  <span class="PreProc">var</span> s: (stream byte <span class="Constant">0x100</span>)
+<span id="L66" class="LineNr">66 </span>  <span class="PreProc">var</span> result/<span class="Constant">ecx</span>: (addr stream byte) <span class="SpecialChar">&lt;-</span> address s
+<span id="L67" class="LineNr">67 </span>  <a href='122read-line.subx.html#L9'>read-line-buffered</a> foo-addr, result
+<span id="L68" class="LineNr">68 </span>  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a> result, <span class="Constant">&quot;abc&quot;</span>, <span class="Constant">&quot;F - test-fake-output-buffered-file&quot;</span>
+<span id="L69" class="LineNr">69 </span><span class="Delimiter">}</span>
 </pre>
 </body>
 </html>