| LEFT | RIGHT |
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <http://adblockplus.org/>, | 2 * This file is part of Adblock Plus <http://adblockplus.org/>, |
| 3 * Copyright (C) 2006-2014 Eyeo GmbH | 3 * Copyright (C) 2006-2014 Eyeo GmbH |
| 4 * | 4 * |
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
| 8 * | 8 * |
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 | 669 |
| 670 let array6 = uint32Array(9); | 670 let array6 = uint32Array(9); |
| 671 equal(array6.arrayBufferIndex, 4, "Second large array gets its own buffer"); | 671 equal(array6.arrayBufferIndex, 4, "Second large array gets its own buffer"); |
| 672 equal(array6.arrayByteOffset, 0, "Second large array is allocated at zero of
fset"); | 672 equal(array6.arrayByteOffset, 0, "Second large array is allocated at zero of
fset"); |
| 673 | 673 |
| 674 array5.release(); | 674 array5.release(); |
| 675 array5 = uint32Array(9); | 675 array5 = uint32Array(9); |
| 676 equal(array5.arrayBufferIndex, 5, "Buffer indexes for large arrays aren't re
used"); | 676 equal(array5.arrayBufferIndex, 5, "Buffer indexes for large arrays aren't re
used"); |
| 677 equal(array5.arrayByteOffset, 0, "Large array is allocated at zero offset"); | 677 equal(array5.arrayByteOffset, 0, "Large array is allocated at zero offset"); |
| 678 | 678 |
| 679 for (let array of [array1, array2, array3, array4]) | 679 for (let array of [array1, array2, array3, array4, array5]) |
| 680 array.release(); | 680 array.release(); |
| 681 }); | 681 }); |
| 682 })(); | 682 })(); |
| LEFT | RIGHT |