nashorn/test/script/basic/JDK-8036743.js.EXPECTED
author sundar
Tue, 26 May 2015 13:49:45 +0530
changeset 30830 9d3a0827accd
permissions -rw-r--r--
8036743: need ArrayBuffer constructor with specified data Reviewed-by: attila, hannesw, lagergren

abuf.byteLength = 4
Little endian? true
view[0] = 42
ba[0] = 42
ba[1] = 0
ba[2] = 0
ba[3] = 0
Little endian? false
view[0] = 42
ba[0] = 0
ba[1] = 0
ba[2] = 0
ba[3] = 42
Little endian? true
view[0] = 127
ba[0] = 127
ba[1] = 0
ba[2] = 0
ba[3] = 0
Little endian? false
view[0] = 127
ba[0] = 0
ba[1] = 0
ba[2] = 0
ba[3] = 127
Little endian? true
view[0] = 32767
ba[0] = -1
ba[1] = 127
ba[2] = 0
ba[3] = 0
Little endian? false
view[0] = 32767
ba[0] = 0
ba[1] = 0
ba[2] = 127
ba[3] = -1
Little endian? true
view[0] = 2147483647
ba[0] = -1
ba[1] = -1
ba[2] = -1
ba[3] = 127
Little endian? false
view[0] = 2147483647
ba[0] = 127
ba[1] = -1
ba[2] = -1
ba[3] = -1