0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/test
Trevor Norris 63da0dfd3a buffer: implement Uint8Array backed Buffer
With V8 4.4 removing the external array data API currently used by
Buffer, the new implementation uses the Uint8Array to back Buffer.

Buffers now have a maximum size of Smi::kMaxLength, as defined by V8.
Which is ~2 GB on 64 bit and ~1 GB on 32 bit.

The flag --use-old-buffer allows using the old Buffer implementation.
This flag will be removed once V8 4.4 has landed.

The two JS Buffer implementations have been split into two files for
simplicity.

Use getter to return expected .parent/.offset values for backwards
compatibility.

PR-URL: https://github.com/nodejs/io.js/pull/1825
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-08-04 11:56:10 -07:00
..
addons
cctest
debugger
disabled test: fix messages and use return to skip tests 2015-08-03 21:32:48 +05:30
fixtures util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
gc
internet test: do not use public IPs for timeout testing 2015-07-27 17:07:54 -07:00
message
parallel buffer: implement Uint8Array backed Buffer 2015-08-04 11:56:10 -07:00
pummel test: fix messages and use return to skip tests 2015-08-03 21:32:48 +05:30
sequential test: fix messages and use return to skip tests 2015-08-03 21:32:48 +05:30
testpy test: create temp dir in common.js 2015-06-12 10:27:29 +10:00
timers
.eslintrc tools: enable/add additional eslint rules 2015-06-11 20:27:35 +02:00
common.js test: use common.isWindows consistently 2015-07-31 00:29:36 +05:30