/third_party/jerryscript/tests/jerry/es2015/ |
H A D | promise-race-iterator.js | 31 Promise.race({[Symbol.iterator]() { return {get next() { throw 5; }}} 37 Promise.race({ [Symbol.iterator] () { return { next () { return { get value () { throw 5 }}}}} 43 Promise.race({ [Symbol.iterator] () { return { next () { return { get done () { throw 5 }}}}} 49 Promise.race({ get [Symbol.iterator] () { throw 5 } 54 var fulfills = Promise.race(createIterable([ 58 var rejects = Promise.race(createIterable([ 68 Promise.race(createIterable([1,2,3], {'return': function () { closed = true; }}));
|
H A D | regression-test-issue-3409.js | 16 Promise.race([a]).then(function() {[] = []}); 17 Promise.race().then(function() {}, function() { throw "'this' had incorrect value!"}) 21 Promise.race([a, b]).then(function(x) { 24 Promise.race([b, a]).then(function(x) {}, function(x) {}); 25 Promise.race([, b, a]).then(function(x) {}, function(x) {}); 26 Promise.race(a).then(function(x) {}, function(x) {
|
H A D | regression-test-issue-3866.js | 18 Promise.race([a, b]); 19 Promise.race([b, a]); 20 Promise.race([, b, a]); 21 Promise.race().then(function() {}, function() {
|
H A D | regression-test-issue-3390.js | 17 Promise.race( [ a , b ] ).then ( function ( x ) { var a , b ; [ a , b ] = [ 1 , 2 ]; String( a === 1 ); } , function ( x ) { } ); 18 Promise.race( [ b , a ] ).then ( function ( x ) { String ( false ) ;}, function ( x ) { } ); 19 Promise.race( [ , b , a ] ).then ( function ( x ) { String ( x === undefined ) ; }, function ( x ) { String ( false ); } ); 20 Promise.race( a ).then ( function ( x ) { String ( false ); }, function ( x ) { String ( x.name === "TypeError" ); } );
|
H A D | regression-test-issue-3411.js | 16 Promise.race([a]).then(function() {[] = []}); 17 Promise.race().then(function() {}, function() { throw "'this' had incorrect value!"})
|
H A D | regression-test-issue-2468.js | 16 Promise.race([]);
|
H A D | regression-test-issue-1995.js | 19 Promise.race([""]).$()
|
H A D | regression-test-issue-1997.js | 18 Promise.race([a]).then();
|
H A D | regression-test-issue-3478.js | 17 Promise.race([]);
|
H A D | regression-test-issue-2544.js | 17 Promise.race([ , this]).then(Error).catch(function(err) { global_err = err; });
|
/third_party/jerryscript/tests/jerry-test-suite/es2015/25/25.04/25.04.04/ |
H A D | 25.04.04-004.js | 19 Promise.race([a, b]).then(function(x) 27 Promise.race([b, a]).then(function(x) 35 Promise.race([ ,b, a]).then(function(x) 43 Promise.race(a).then(function(x)
|
/third_party/node/test/fixtures/source-map/ |
H A D | tabs.js | 4 var cubes, list, math, num, number, opposite, race, square; 33 race = function(winner, ...runners) { 30 race = function(winner, ...runners) { global() function
|
/third_party/ltp/lib/newlib_tests/ |
H A D | tst_fuzzy_sync01.c | 9 * outcome to a data race when the critical sections are not aligned. 17 * If a single data race has N critical sections then we may remove 18 * N-1 sections to produce a more difficult race. We may then test 19 * only the more difficult race and induce from this the outcome of 42 * So we can either have the critical section of the shorter race 71 * the faster this function grows. With cubic scaling the race windows 88 struct race { struct 96 static const struct race races[] = {
|
H A D | tst_fuzzy_sync02.c | 9 * outcome to a data race when multiple races are present. 12 * - There is one data race we want to hit and one to avoid. 13 * - Each thread contains two contiguous critical sections. One for each race. 14 * - The threads only interact through two variables, one for each race. 15 * - If we hit the race we want to avoid then it causes thread A to exit early. 18 * two threads. Fuzzy Sync will eventually trigger a race so long as 19 * the delay range is large enough. Assuming the race is possible to 20 * reproduce without further tampering to increase the race window (a 21 * technique specific to each race). So I conject that beyond a lower 22 * threshold of complexity, increasing the complexity of the race i 59 struct race { global() struct [all...] |
/third_party/jerryscript/tests/jerry/fail/ |
H A D | regression-test-issue-3410.js | 17 Promise.race([a]).then(function() {
|
/third_party/typescript/tests/baselines/reference/ |
H A D | doYouNeedToChangeYourTargetLibraryES2015.js | 60 const testPromiseRace = Promise.race([]); 158 var testPromiseRace = Promise.race([]);
|
H A D | bluebirdStaticThis.js | 68 static race<R>(dit: typeof Promise, values: Promise.Thenable<Promise.Thenable<R>[]>): Promise<R>; 69 static race<R>(dit: typeof Promise, values: Promise.Thenable<R[]>): Promise<R>; 70 static race<R>(dit: typeof Promise, values: Promise.Thenable<R>[]): Promise<R>; 71 static race<R>(dit: typeof Promise, values: R[]): Promise<R>;
|
/third_party/node/test/parallel/ |
H A D | test-primordials-promise.js | 23 Promise.race = common.mustNotCall('%Promise%.race');
|
/third_party/rust/crates/once_cell/tests/ |
H A D | it.rs | 693 #[cfg(feature = "race")] 694 mod race { modules 704 use once_cell::race::{OnceBool, OnceNonZeroUsize}; 829 #[cfg(all(feature = "race", feature = "alloc"))] 841 use once_cell::race::OnceBox;
|
/third_party/node/lib/internal/per_context/ |
H A D | primordials.js | 599 SafePromise.race(arrayToSafePromiseIterable(promises, mapFn)).then(a, b),
|
/third_party/node/test/fixtures/wpt/streams/readable-streams/ |
H A D | async-iterator.any.js | 184 await Promise.race([
|
/third_party/node/test/common/ |
H A D | inspector-helper.js | 526 return Promise.race([
|
/third_party/rust/crates/once_cell/src/ |
H A D | lib.rs | 1371 #[cfg(feature = "race")] 1372 pub mod race; modules
|
/third_party/skia/tools/fm/ |
H A D | fm.cpp | 92 static DEFINE_int (race, 0, "If >0, use threads to induce race conditions?"); 626 // Our --race replicas have done their job by now if they're going to catch anything. in main()
|
/third_party/libevdev/ |
H A D | configure | 4127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 4128 printf %s "checking for a race-free mkdir -p... " >&6; } 4497 # This depmode causes a compiler race in universal mode.
|