aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-icu-transcode.js
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2017-02-19 20:03:42 -0800
committerTimothy Gu <timothygu99@gmail.com>2017-02-24 17:49:41 -0800
commite7a3add531916972c817fd17f8437e45fa347f48 (patch)
treec08b43f09a5fcb3937b335a45c348e39fa22de34 /test/parallel/test-icu-transcode.js
parentff8bac23f18a2fe6893a34f849b1ee77e559a20c (diff)
downloadandroid-node-v8-e7a3add531916972c817fd17f8437e45fa347f48.tar.gz
android-node-v8-e7a3add531916972c817fd17f8437e45fa347f48.tar.bz2
android-node-v8-e7a3add531916972c817fd17f8437e45fa347f48.zip
src: clean up MaybeStackBuffer
- Add IsInvalidated() method - Add capacity() method for finding out the actual capacity, not the current size, of the buffer - Make IsAllocated() work for invalidated buffers - Allow multiple calls to AllocateSufficientStorage() and Invalidate() - Assert buffer is malloc'd in Release() - Assert buffer has not been invalidated in AllocateSufficientStorage() - Add more descriptive comments describing the purpose of the methods - Add cctest for MaybeStackBuffer PR-URL: https://github.com/nodejs/node/pull/11464 Reviewed-By: Steven R Loomis <srloomis@us.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-icu-transcode.js')
0 files changed, 0 insertions, 0 deletions