v86/lib
Ernest Wong 3dde97f14a Filesystem: Work on entire buffer when writing to file
The Uint8Array that stores the file data is usually larger than the file
size itself, to improve the amortized complexity of resizing the array.

When we previously switched over to using FileStorages, the method
fs#Write() was modified to retrieve only the subarray of the Uint8Array
that contains the file (i.e. excluding the unused padding at the end),
so appending to a file always tries to resize the array even though the
ArrayBuffer that backs it has enough space for the new data.
2020-08-30 19:37:15 -05:00
..
9p.js 9p: Simplify read - OpenInode is not asynchronous 2020-08-30 19:37:15 -05:00
closure-base.js Use @export 2016-07-26 22:14:34 +02:00
filesystem.js Filesystem: Work on entire buffer when writing to file 2020-08-30 19:37:15 -05:00
jor1k.js Throw proper error 2020-08-30 19:29:54 -05:00
marshall.js Remove all uses of "for in" 2020-08-30 19:29:54 -05:00
utf8.js JSHint the lib directory 2020-08-30 19:29:13 -05:00