From 9a77780158842db6e4aa098f5027e030fc3bd878 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 22 May 2020 23:08:09 -0700 Subject: 6384 --- html/055stream.subx.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'html/055stream.subx.html') diff --git a/html/055stream.subx.html b/html/055stream.subx.html index c66e74fe..50f3253d 100644 --- a/html/055stream.subx.html +++ b/html/055stream.subx.html @@ -16,9 +16,9 @@ a { color:inherit; } * { font-size:12pt; font-size: 1em; } .subxComment { color: #005faf; } .subxS2Comment { color: #8a8a8a; } +.subxFunction { color: #af5f00; text-decoration: underline; } .LineNr { } .subxS1Comment { color: #0000af; } -.subxFunction { color: #af5f00; text-decoration: underline; } .Normal { color: #000000; background-color: #c6c6c6; padding-bottom: 1px; } .Constant { color: #008787; } .subxH1Comment { color: #005faf; text-decoration: underline; } @@ -62,10 +62,10 @@ if ('onhashchange' in window) { 3 # A stream looks like this: 4 # write: int # index at which writes go 5 # read: int # index that we've read until - 6 # data: (array byte) # prefixed by length as usual + 6 # data: (array byte) # prefixed by size as usual 7 # 8 # some primitives for operating on streams: - 9 # - clear-stream (clears everything but the data length) + 9 # - clear-stream (clears everything but the data size) 10 # - rewind-stream (resets read pointer) 11 12 == code @@ -82,9 +82,9 @@ if ('onhashchange' in window) { 23 51/push-ecx 24 # eax = f 25 8b/copy 1/mod/*+disp8 5/rm32/ebp . . 0/r32/eax 8/disp8 . # copy *(ebp+8) to eax -26 # var count/ecx: int = f->length +26 # var count/ecx: int = f->size 27 8b/copy 1/mod/*+disp8 0/rm32/eax . . . 1/r32/ecx 8/disp8 . # copy *(eax+8) to ecx -28 # var max/ecx: (addr byte) = &f->data[f->length] +28 # var max/ecx: (addr byte) = &f->data[f->size] 29 8d/copy-address 1/mod/*+disp8 4/rm32/sib 0/base/eax 1/index/ecx . 1/r32/ecx 0xc/disp8 . # copy eax+ecx+12 to ecx 30 # f->write = 0 31 c7 0/subop/copy 0/mod/direct 0/rm32/eax . . . . . 0/imm32 # copy to *eax -- cgit 1.4.1-2-gfad0