nashorn/test/script/basic/NASHORN-377-big-endian.js.EXPECTED
author martin
Wed, 10 Dec 2014 09:23:00 -0800
changeset 28057 1a47ceecdba5
parent 27812 c2d0feb951e3
permissions -rw-r--r--
8065804: JEP 171: Clarifications/corrections for fence intrinsics Reviewed-by: dholmes, shade, dl, psandoz
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27812
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
     1
8 8 true undefined
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
     2
[object ArrayBuffer] [object ArrayBuffer] [object Int8Array]
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
     3
0 8 8 1
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
     4
0 8 8 1
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
     5
0 8 8 1
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
     6
0 8 4 2
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
     7
0 8 4 2
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
     8
0 8 2 4
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
     9
0 8 2 4
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    10
0 8 2 4
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    11
0 8 1 8
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    12
7071727374-807677 7071727374807677
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    13
727374-807677 2 6
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    14
72737480 2 4
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    15
71727374 1 4
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    16
717273748076
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    17
7071727374807677 1886483059 1954575991
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    18
70717273-1020305 1886483059 -16909061
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    19
70717273fefdfcfb 1886483059 4278058235
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    20
40490fdafefdfcfb 2
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    21
400921fb4d12d84a 1
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    22
400921fb4d12d84a 1074340347 1293080650
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    23
00000000400921fb4d12d84a
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    24
400921fb4d12-27b6 400921fb4d12d84a
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    25
00-100804d12-27b6 ffff00804d12d84a
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    26
0 1 2 3 4 5 6 7
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    27
0102030405060708
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    28
subarray(2,4)=0304 subarray(-6,-4)=0304
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    29
010203040506
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    30
03040506 0405
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    31
0102030405060708090a0b0c0d0e0f10
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    32
slice(4,8)=05060708 slice(-8,-4)=090a0b0c
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    33
0102030405060708090a0b0c
c2d0feb951e3 8049407: Endianness problem with TypedArrays
lagergren
parents:
diff changeset
    34
060708090a0b