View Single Post
Old 02-01-2016, 09:38 AM   #26
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Looking good so far (output when run by Q.A. script):
Spoiler:

Code:
both full blocks, test: c-w/r/c
Termination on block boundary.
Blocks: 3, plus Bytes: 0, Total skips: 0, Total bytes: 12288

both full blocks, test: c
Termination on block boundary.
Blocks: 3, plus Bytes: 0, Total skips: 3, Total bytes: 12288

both partial blocks, test: c-w/r/c
Termination on a partial block boundary
Blocks: 3, plus Bytes: 2048, Total skips: 0, Total bytes: 14336

both partial blocks, test: c
Termination with a partial block
Blocks: 3, plus Bytes: 2048, Total skips: 4, Total bytes: 14336

Following are Warnings because they might be intended usage
That is: Changing only an initial portion of the destination

both full blocks, *.src < *.dst, test: c-w/r/c
Warning: Early EOF on test03.src
Blocks: 2, plus Bytes: 0, Total skips: 0, Total bytes: 8192

both full blocks, *.src < *.dst, test: c
Warning: Early EOF on test03.src
Blocks: 2, plus Bytes: 0, Total skips: 2, Total bytes: 8192

both partial blocks, *.src < *.dst, test: c-w/r/c
Warning: Early EOF on test04.src, common bytes: w/r/c
Blocks: 2, plus Bytes: 2048, Total skips: 0, Total bytes: 10240

both partial blocks, *.src < *.dst, test: c
Warning: Early EOF on test04.src, common bytes: match
Blocks: 2, plus Bytes: 2048, Total skips: 3, Total bytes: 10240

Still need to test error paths, but should be done today.

Edit: Of course, it was a bigger job than just that due to think'os along the way.
**should**

Last edited by knc1; 02-02-2016 at 05:48 PM.
knc1 is offline   Reply With Quote