Home
last modified time | relevance | path

Searched refs:race (Results 1 - 25 of 26) sorted by relevance

12

/third_party/jerryscript/tests/jerry/es2015/
H A Dpromise-race-iterator.js31 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 Dregression-test-issue-3409.js16 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 Dregression-test-issue-3866.js18 Promise.race([a, b]);
19 Promise.race([b, a]);
20 Promise.race([, b, a]);
21 Promise.race().then(function() {}, function() {
H A Dregression-test-issue-3390.js17 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 Dregression-test-issue-3411.js16 Promise.race([a]).then(function() {[] = []});
17 Promise.race().then(function() {}, function() { throw "'this' had incorrect value!"})
H A Dregression-test-issue-2468.js16 Promise.race([]);
H A Dregression-test-issue-1995.js19 Promise.race([""]).$()
H A Dregression-test-issue-1997.js18 Promise.race([a]).then();
H A Dregression-test-issue-3478.js17 Promise.race([]);
H A Dregression-test-issue-2544.js17 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 D25.04.04-004.js19 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 Dtabs.js4 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 Dtst_fuzzy_sync01.c9 * 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 Dtst_fuzzy_sync02.c9 * 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 Dregression-test-issue-3410.js17 Promise.race([a]).then(function() {
/third_party/typescript/tests/baselines/reference/
H A DdoYouNeedToChangeYourTargetLibraryES2015.js60 const testPromiseRace = Promise.race([]);
158 var testPromiseRace = Promise.race([]);
H A DbluebirdStaticThis.js68 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 Dtest-primordials-promise.js23 Promise.race = common.mustNotCall('%Promise%.race');
/third_party/rust/crates/once_cell/tests/
H A Dit.rs693 #[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 Dprimordials.js599 SafePromise.race(arrayToSafePromiseIterable(promises, mapFn)).then(a, b),
/third_party/node/test/fixtures/wpt/streams/readable-streams/
H A Dasync-iterator.any.js184 await Promise.race([
/third_party/node/test/common/
H A Dinspector-helper.js526 return Promise.race([
/third_party/rust/crates/once_cell/src/
H A Dlib.rs1371 #[cfg(feature = "race")]
1372 pub mod race; modules
/third_party/skia/tools/fm/
H A Dfm.cpp92 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 Dconfigure4127 { 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.

Completed in 43 milliseconds

12