HomeSort by relevance Sort by last modified time
    Searched refs:Array (Results 651 - 675 of 1268) sorted by null

<<21222324252627282930>>

  /external/v8/test/mjsunit/regress/
regress-1491.js 28 // Test that the Array length accessor correctly deals with non-array
31 // Create an object with an array as the prototype.
34 // Check that writing the length property of the non-array object
regress-1560.js 43 var a = new Array();
regress-1582.js 32 if (typeof rest === "object" && (rest instanceof Array)) {
regress-165637.js 33 var data = new Array(1024 * 12); // 12kB
52 // Make sure that packed and unpacked array slices are still properly handled
regress-1748.js 32 var str = Array(10000).join("X");
regress-2170.js 33 var x = new Array();
regress-326.js 29 // Should sort non-array into equivalent of [37,42,undefined,,0]
32 Array.prototype.sort.call(nonArray);
regress-385565.js 37 Array.prototype.f = function() {
regress-728.js 30 // Array index k is to big to fit into the string hash field.
36 // Force computation of hash for the string representation of array index.
regress-84234.js 30 var gTestcases = new Array();
regress-91013.js 33 // Create array with unboxed double array backing store.
35 var a = new Array(i);
regress-94425.js 31 var arr = new Array(N);
41 // Shift array multiple times to ensure that young
regress-crbug-134055.js 35 var result = new Array();
regress-crbug-135066.js 29 var filler = "//" + new Array(1024).join('x');
regress-parse-use-strict.js 29 var filler = "/*" + new Array(1024).join('x') + "*/";
regress-put-prototype-transition.js 7 function deepEquals(a, b) { if (a === b) { if (a === 0) return (1 / a) === (1 / b); return true; } if (typeof a != typeof b) return false; if (typeof a == "number") return isNaN(a) && isNaN(b); if (typeof a !== "object" && typeof a !== "function") return false; var objectClass = classOf(a); if (objectClass !== classOf(b)) return false; if (objectClass === "RegExp") { return (a.toString() === b.toString()); } if (objectClass === "Function") return false; if (objectClass === "Array") { var elementCount = 0; if (a.length != b.length) { return false; } for (var i = 0; i < a.length; i++) { if (!deepEquals(a[i], b[i])) return false; } return true; } if (objectClass == "String" || objectClass == "Number" || objectClass == "Boolean" || objectClass == "Date") { if (a.valueOf() !== b.valueOf()) return false; } return deepObjectEquals(a, b); }
9 assertEqualsDelta = function assertEqualsDelta(expected, found, delta, name_opt) { assertTrue(Math.abs(expected - found) <= delta, name_opt); }; assertArrayEquals = function assertArrayEquals(expected, found, name_opt) { var start = ""; if (name_opt) { start = name_opt + " - "; } assertEquals(expected.length, found.length, start + "array length"); if (expected.length == found.length) { for (var i = 0; i < expected.length; ++i) { assertEquals(expected[i], found[i], start + "array element at index " + i); } } };
regress-r3391.js 29 // calling Array.prototype.toLocaleString. The standard is somewhat
regress-swapelements.js 28 // Check that modifying an array while sorting it does not segfault. See
37 var array1 = new Array(size);
  /external/v8/test/mjsunit/
search-string-multiple.js 42 var a = new Array(l - 3);
stack-traces.js 264 testTrace("testArrayNative", testArrayNative, ["Array.map (native)"]);
278 testTrace("testAnonymousMethod", testAnonymousMethod, ["Array.<anonymous>"]);
318 Array.prototype.push = function(x) { assertUnreachable(); };
319 Array.prototype.join = function(x) { assertUnreachable(); };
this-in-callbacks.js 33 // test Array.sort
transition-elements-kind.js 32 return new Array();
  /external/v8/test/webkit/
array-lastIndexOf.js 25 'This test checks lastIndexOf for various values in an array'
59 testArray = new Array(20);
array-splice.js 25 "This tests array.splice behavior."
60 String(Array(0xFFFFFFFD).splice(0));
  /external/v8/test/webkit/fast/js/
arguments.js 59 Array.prototype.push.call(arguments, a);
64 Array.prototype.push.call(arguments, a);
69 Array.prototype.push.apply(arguments, arguments);
74 Array.prototype.push.apply(arguments, arguments);

Completed in 382 milliseconds

<<21222324252627282930>>