about summary refs log tree commit diff stats
path: root/html/033exclusive_container.cc.html
Commit message (Expand)AuthorAgeFilesLines
* 4814Kartik Agaram2018-12-011-41/+44
* 4709Kartik Agaram2018-10-171-16/+16
* 4539Kartik Agaram2018-09-071-8/+8
* 4447Kartik Agaram2018-07-271-427/+414
* 4243Kartik Agaram2018-05-121-8/+8
* 4239Kartik Agaram2018-05-081-8/+8
* 4228Kartik K. Agaram2018-03-151-9/+9
* 4199Kartik K. Agaram2018-01-251-53/+52
* 4161Kartik K. Agaram2017-12-151-6/+6
* 4155Kartik K. Agaram2017-12-071-24/+24
* 4134 - 'input' = 'ingredient'Kartik K. Agaram2017-12-031-5/+5
* 4109Kartik K. Agaram2017-11-051-5/+5
* 4102Kartik K. Agaram2017-11-011-11/+11
* 3927Kartik K. Agaram2017-06-191-16/+16
* 3900Kartik K. Agaram2017-06-021-9/+9
* 3897 - various updates to documentationKartik K. Agaram2017-05-291-16/+16
* 3895Kartik K. Agaram2017-05-291-309/+310
* 3877Kartik K. Agaram2017-05-261-6/+6
* 3845Kartik K. Agaram2017-05-061-1/+1
* 3764 - better colors for cross-linksKartik K. Agaram2017-03-081-4/+5
* 3761Kartik K. Agaram2017-03-071-54/+55
* 3750Kartik K. Agaram2017-03-021-16/+16
* 3749Kartik K. Agaram2017-03-021-16/+16
* 3746Kartik K. Agaram2017-02-071-9/+9
* 3725Kartik K. Agaram2016-12-271-1/+1
* 3716Kartik K. Agaram2016-12-261-0/+2
* 3713 - cross-link calls with definitions in htmlKartik K. Agaram2016-12-261-65/+65
* 3710Kartik K. Agaram2016-12-261-471/+471
* 3709 - line numbers in htmlKartik K. Agaram2016-12-261-475/+499
* 3667Kartik K. Agaram2016-11-111-4/+4
* 3642Kartik K. Agaram2016-11-061-3/+3
* 3561Kartik K. Agaram2016-10-221-1/+1
* 3544Kartik K. Agaram2016-10-221-1/+1
* 3543Kartik K. Agaram2016-10-221-1/+1
* 3524Kartik K. Agaram2016-10-201-2/+2
* 3431Kartik K. Agaram2016-09-301-46/+48
* 3395Kartik K. Agaram2016-09-171-64/+64
* 3355Kartik K. Agaram2016-09-151-3/+4
* 3315Kartik K. Agaram2016-09-101-16/+29
* 3158Kartik K. Agaram2016-07-271-10/+21
* 3117Kartik K. Agaram2016-07-201-1/+0
* 3102Kartik K. Agaram2016-07-051-4/+24
* 2996Kartik K. Agaram2016-05-211-0/+466
* 2866Kartik K. Agaram2016-04-251-415/+0
* 2812Kartik K. Agaram2016-03-271-64/+73
* 2745Kartik K. Agaram2016-03-091-1/+1
* 2744Kartik K. Agaram2016-03-091-3/+3
* 2743Kartik K. Agaram2016-03-091-75/+67
* 2710Kartik K. Agaram2016-02-251-5/+0
* 2706 - update htmlKartik K. Agaram2016-02-251-28/+177
an class="nt">script> </head> <body onload='JumpToLine();'> <a href='https://github.com/akkartik/mu/blob/main/linux/410file.mu'>https://github.com/akkartik/mu/blob/main/linux/410file.mu</a> <pre id='vimCodeElement'> <span id="L1" class="LineNr"> 1 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='410file.mu.html#L1'>read-lines</a></span> in: (addr buffered-file), out: (addr handle array (handle array byte)) <span class="Delimiter">{</span> <span id="L2" class="LineNr"> 2 </span> <span class="PreProc">var</span> stream: (stream (handle array byte) <span class="Constant">0x10</span>) <span id="L3" class="LineNr"> 3 </span> <span class="PreProc">var</span> stream-a/<span class="muRegEdi">edi</span>: (addr stream (handle array byte)) <span class="Special">&lt;-</span> address stream <span id="L4" class="LineNr"> 4 </span> <span class="PreProc">var</span> line: (stream byte <span class="Constant">0x10</span>) <span id="L5" class="LineNr"> 5 </span> <span class="PreProc">var</span> line-a/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address line <span id="L6" class="LineNr"> 6 </span> <span class="Delimiter">{</span> <span id="L7" class="LineNr"> 7 </span> <a href='106stream.subx.html#L17'>clear-stream</a> line-a <span id="L8" class="LineNr"> 8 </span> <a href='122read-line.subx.html#L9'>read-line-buffered</a> in, line-a <span id="L9" class="LineNr"> 9 </span> <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='309stream.subx.html#L6'>stream-empty?</a> line-a <span id="L10" class="LineNr">10 </span> compare done?, <span class="Constant">0</span>/false <span id="L11" class="LineNr">11 </span> <span class="PreProc">break-if-!=</span> <span id="L12" class="LineNr">12 </span><span class="CommentedCode">#? print-string 0, &quot;AAA\n&quot;</span> <span id="L13" class="LineNr">13 </span> <span class="PreProc">var</span> h: (handle array byte) <span id="L14" class="LineNr">14 </span> <span class="PreProc">var</span> ah/eax: (addr handle array byte) <span class="Special">&lt;-</span> address h <span id="L15" class="LineNr">15 </span> <a href='310copy-bytes.subx.html#L60'>stream-to-array</a> line-a, ah <span id="L16" class="LineNr">16 </span> <a href='309stream.subx.html#L54'>write-to-stream</a> stream-a, ah <span id="L17" class="LineNr">17 </span> <span class="PreProc">loop</span> <span id="L18" class="LineNr">18 </span> <span class="Delimiter">}</span> <span id="L19" class="LineNr">19 </span> <a href='310copy-bytes.subx.html#L60'>stream-to-array</a> stream-a, out <span id="L20" class="LineNr">20 </span><span class="Delimiter">}</span> </pre> </body> </html> <!-- vim: set foldmethod=manual : -->