Home
last modified time | relevance | path

Searched refs:calls (Results 1 – 25 of 2180) sorted by relevance

12345678910>>...88

/third_party/node/test/parallel/
Dtest-stream-readable-hwm-0-no-flow-data.js17 const calls = []; variable
20 calls.push('_read:' + streamData[0]);
22 calls.push('push:' + streamData[0]);
35 calls.push('readable');
39 calls.push('data:' + data);
42 calls.push('end');
56 assert.deepStrictEqual(calls, ['_read:a', 'push:a', 'readable']);
61 calls,
83 calls,
94 calls,
[all …]
Dtest-assert-calltracker-calls.js17 const callsbar = tracker.calls(bar, '1');
23 const callsbar = tracker.calls(bar, 0.1);
29 const callsbar = tracker.calls(bar, true);
35 const callsbar = tracker.calls(bar, () => {});
41 const callsbar = tracker.calls(bar, null);
49 assert.throws(() => tracker.calls(bar, 1), {
60 const callsfunc = tracker.calls(func, 1);
70 const callsNoop = tracker.calls(1);
77 const callsNoop = tracker.calls(undefined, 1);
85 const callsfunc = tracker.calls(func);
[all …]
Dtest-runner-mocking.js10 assert.strictEqual(sum.mock.calls.length, 0);
13 assert.strictEqual(sum.mock.calls.length, 2);
15 let call = sum.mock.calls[0];
22 call = sum.mock.calls[1];
36 assert.strictEqual(sum.mock.calls.length, 0);
39 assert.strictEqual(sum.mock.calls.length, 2);
41 let call = sum.mock.calls[0];
47 call = sum.mock.calls[1];
83 assert.strictEqual(ctor.mock.calls.length, 1);
85 const call = ctor.mock.calls[0];
[all …]
Dtest-assert-calltracker-getCalls.js11 const fn = tracker.calls();
16 const fn = tracker.calls(() => {});
33 const fn = tracker.calls();
35 const calls = tracker.getCalls(fn); constant
36 assert.throws(() => calls.push(1), /object is not extensible/);
37 assert.throws(() => Object.assign(calls[0], { foo: 'bar' }), /object is not extensible/);
38 assert.throws(() => calls[0].arguments.push(1), /object is not extensible/);
46 const fn = tracker.calls();
56 const fn1 = tracker.calls();
57 const fn2 = tracker.calls();
Dtest-fs-write-stream-file-handle-2.js13 let calls = 0; variable
19 calls++;
23 calls++;
30 assert(calls > 0, 'expected at least one call to fileHandle.write or ' +
Dtest-dns-default-verbatim-true.js12 const calls = []; variable
14 calls.push(args);
34 assert.strictEqual(calls.length, callsLength + 1);
35 verbatim = calls[callsLength][4];
/third_party/node/test/fixtures/wpt/streams/transform-streams/
Dreentrant-strategies.any.js20 let calls = 0; variable
27 ++calls;
28 if (calls < 2) {
159 let calls = 0;
171 ++calls;
185 assert_equals(calls, 1, 'size() should have been called once');
189 assert_equals(calls, 1, 'size() should only be called once');
195 assert_equals(calls, 1, 'calls should still be 1');
203 let calls = 0;
206 ++calls;
[all …]
/third_party/typescript/tests/baselines/reference/
DfunctionCalls.errors.txt1 …sions/functionCalls/functionCalls.ts(8,1): error TS2347: Untyped function calls may not accept typ…
2 …sions/functionCalls/functionCalls.ts(9,1): error TS2347: Untyped function calls may not accept typ…
3 …ions/functionCalls/functionCalls.ts(10,1): error TS2347: Untyped function calls may not accept typ…
4 …ions/functionCalls/functionCalls.ts(25,1): error TS2347: Untyped function calls may not accept typ…
5 …ions/functionCalls/functionCalls.ts(26,1): error TS2347: Untyped function calls may not accept typ…
6 …ions/functionCalls/functionCalls.ts(27,1): error TS2347: Untyped function calls may not accept typ…
7 …ions/functionCalls/functionCalls.ts(32,1): error TS2347: Untyped function calls may not accept typ…
8 …ions/functionCalls/functionCalls.ts(33,1): error TS2347: Untyped function calls may not accept typ…
9 …ions/functionCalls/functionCalls.ts(34,1): error TS2347: Untyped function calls may not accept typ…
22 !!! error TS2347: Untyped function calls may not accept type arguments.
[all …]
DerrorSuperCalls.errors.txt2 tests/cases/conformance/expressions/superCalls/errorSuperCalls.ts(9,9): error TS2337: Super calls a…
3 tests/cases/conformance/expressions/superCalls/errorSuperCalls.ts(14,9): error TS2337: Super calls
4 tests/cases/conformance/expressions/superCalls/errorSuperCalls.ts(18,9): error TS2337: Super calls
5 tests/cases/conformance/expressions/superCalls/errorSuperCalls.ts(22,9): error TS2337: Super calls
6 tests/cases/conformance/expressions/superCalls/errorSuperCalls.ts(26,9): error TS2337: Super calls
7 tests/cases/conformance/expressions/superCalls/errorSuperCalls.ts(30,16): error TS2337: Super calls
8 tests/cases/conformance/expressions/superCalls/errorSuperCalls.ts(34,9): error TS2337: Super calls
9 tests/cases/conformance/expressions/superCalls/errorSuperCalls.ts(38,9): error TS2337: Super calls
11 tests/cases/conformance/expressions/superCalls/errorSuperCalls.ts(58,9): error TS2337: Super calls
12 tests/cases/conformance/expressions/superCalls/errorSuperCalls.ts(62,9): error TS2337: Super calls
[all …]
DderivedClassSuperCallsInNonConstructorMembers.errors.txt4 …rivedClassSuperCallsInNonConstructorMembers.ts(10,9): error TS2337: Super calls are not permitted …
5 …rivedClassSuperCallsInNonConstructorMembers.ts(13,9): error TS2337: Super calls are not permitted …
6 …rivedClassSuperCallsInNonConstructorMembers.ts(17,9): error TS2337: Super calls are not permitted …
10 …rivedClassSuperCallsInNonConstructorMembers.ts(22,9): error TS2337: Super calls are not permitted …
11 …rivedClassSuperCallsInNonConstructorMembers.ts(25,9): error TS2337: Super calls are not permitted …
12 …rivedClassSuperCallsInNonConstructorMembers.ts(29,9): error TS2337: Super calls are not permitted …
16 // error to use super calls outside a constructor
33 !!! error TS2337: Super calls are not permitted outside constructors or in nested functions inside …
38 !!! error TS2337: Super calls are not permitted outside constructors or in nested functions inside …
44 !!! error TS2337: Super calls are not permitted outside constructors or in nested functions inside …
[all …]
DanyAsGenericFunctionCall.errors.txt1 …ypes/any/anyAsGenericFunctionCall.ts(5,9): error TS2347: Untyped function calls may not accept typ…
2 …ypes/any/anyAsGenericFunctionCall.ts(6,9): error TS2347: Untyped function calls may not accept typ…
3 …ypes/any/anyAsGenericFunctionCall.ts(9,9): error TS2347: Untyped function calls may not accept typ…
4 …pes/any/anyAsGenericFunctionCall.ts(10,9): error TS2347: Untyped function calls may not accept typ…
14 !!! error TS2347: Untyped function calls may not accept type arguments.
17 !!! error TS2347: Untyped function calls may not accept type arguments.
22 !!! error TS2347: Untyped function calls may not accept type arguments.
25 !!! error TS2347: Untyped function calls may not accept type arguments.
DillegalSuperCallsInConstructor.errors.txt2 tests/cases/compiler/illegalSuperCallsInConstructor.ts(7,24): error TS2337: Super calls are not per…
3 tests/cases/compiler/illegalSuperCallsInConstructor.ts(8,26): error TS2337: Super calls are not per…
4 tests/cases/compiler/illegalSuperCallsInConstructor.ts(9,32): error TS2337: Super calls are not per…
6 tests/cases/compiler/illegalSuperCallsInConstructor.ts(12,17): error TS2337: Super calls are not pe…
8 tests/cases/compiler/illegalSuperCallsInConstructor.ts(16,17): error TS2337: Super calls are not pe…
22 !!! error TS2337: Super calls are not permitted outside constructors or in nested functions inside …
26 !!! error TS2337: Super calls are not permitted outside constructors or in nested functions inside …
30 !!! error TS2337: Super calls are not permitted outside constructors or in nested functions inside …
40 !!! error TS2337: Super calls are not permitted outside constructors or in nested functions inside …
52 !!! error TS2337: Super calls are not permitted outside constructors or in nested functions inside …
DsuperCallOutsideConstructor.errors.txt1 tests/cases/compiler/superCallOutsideConstructor.ts(6,9): error TS2337: Super calls are not permitt…
2 tests/cases/compiler/superCallOutsideConstructor.ts(12,13): error TS2337: Super calls are not permi…
3 tests/cases/compiler/superCallOutsideConstructor.ts(16,13): error TS2337: Super calls are not permi…
14 !!! error TS2337: Super calls are not permitted outside constructors or in nested functions inside …
22 !!! error TS2337: Super calls are not permitted outside constructors or in nested functions inside …
28 !!! error TS2337: Super calls are not permitted outside constructors or in nested functions inside …
DuntypedFunctionCallsWithTypeParameters1.errors.txt2 …FunctionCallsWithTypeParameters1.ts(5,10): error TS2347: Untyped function calls may not accept typ…
3 …FunctionCallsWithTypeParameters1.ts(8,10): error TS2347: Untyped function calls may not accept typ…
8 …unctionCallsWithTypeParameters1.ts(22,10): error TS2347: Untyped function calls may not accept typ…
15 // none of these function calls should be allowed
23 !!! error TS2347: Untyped function calls may not accept type arguments.
28 !!! error TS2347: Untyped function calls may not accept type arguments.
50 !!! error TS2347: Untyped function calls may not accept type arguments.
DnodeModulesImportModeDeclarationEmitErrors1(module=nodenext).errors.txt1 …TS2836: Import assertions are not allowed on statements that transpile to commonjs 'require' calls.
4 …TS2836: Import assertions are not allowed on statements that transpile to commonjs 'require' calls.
6 …TS2836: Import assertions are not allowed on statements that transpile to commonjs 'require' calls.
13 …TS2836: Import assertions are not allowed on statements that transpile to commonjs 'require' calls.
21 …TS2836: Import assertions are not allowed on statements that transpile to commonjs 'require' calls.
27 …TS2836: Import assertions are not allowed on statements that transpile to commonjs 'require' calls.
/third_party/node/test/fixtures/wpt/streams/readable-streams/
Dreentrant-strategies.any.js17 let calls = 0; variable
24 ++calls;
25 if (calls < 2) {
60 let calls = 0;
67 ++calls;
68 if (calls === 2) {
180 let calls = 0;
192 ++calls;
205 assert_equals(calls, 1, 'size() should have been called once');
209 assert_equals(calls, 1, 'size() should only be called once');
[all …]
/third_party/python/Lib/test/
Dtest_compare.py51 calls = []
55 calls.append('Left.__eq__')
59 calls.append('Right.__eq__')
62 calls.append('Right.__ne__')
65 self.assertSequenceEqual(calls, ['Left.__eq__', 'Right.__ne__'])
69 calls = []
73 calls.append('Base.__eq__')
77 calls.append('Derived.__eq__')
80 calls.append('Derived.__ne__')
83 self.assertSequenceEqual(calls, ['Derived.__ne__', 'Base.__eq__'])
/third_party/node/lib/internal/assert/
Dcalltracker.js30 #calls; field in CallTrackerContext
34 this.#calls = [];
42 ArrayPrototypePush(this.#calls, ObjectFreeze({ thisArg, arguments: argsClone }));
46 return this.#calls.length - this.#expected;
50 this.#calls = [];
53 return ObjectFreeze(ArrayPrototypeSlice(this.#calls));
60 `executed ${this.#calls.length} time(s).`;
63 actual: this.#calls.length,
97 calls(fn, expected = 1) { method in CallTracker
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dfast_uniform_bits_test.cc62 return ((++calls % 2) == 1 && reject) ? Hi : Val; in operator ()()
66 size_t calls = 0; member
254 EXPECT_EQ(64, urng0.calls); in TEST()
256 EXPECT_EQ(64, urng1.calls); in TEST()
260 EXPECT_EQ(16, urng4.calls); in TEST()
262 EXPECT_EQ(3, urng22.calls); in TEST()
264 EXPECT_EQ(3, urng31.calls); in TEST()
266 EXPECT_EQ(2, urng32.calls); in TEST()
268 EXPECT_EQ(3, urng33.calls); in TEST()
270 EXPECT_EQ(2, urng63.calls); in TEST()
[all …]
/third_party/ltp/testcases/network/nfs/nfsstat01/
Dnfsstat01.sh14 local calls=
19 calls="$(grep $name /proc/net/rpc/$nfs_f | cut -d' ' -f$field)"
20 ROD nfsstat -c$opt | grep -q "$calls"
21 echo "$calls"
25 calls=$(tst_rhost_run -c "grep $name /proc/net/rpc/$nfs_f" | \
27 tst_rhost_run -s -c "nfsstat -s$opt" | grep -q "$calls"
28 echo "$calls"
Dnfsstat0116 local calls=
21 calls="$(grep $name /proc/net/rpc/$nfs_f | cut -d' ' -f$field)"
22 ROD nfsstat -c$opt | grep -q "$calls"
23 echo "$calls"
27 calls=$(tst_rhost_run -c "grep $name /proc/net/rpc/$nfs_f" | \
29 tst_rhost_run -s -c "nfsstat -s$opt" | grep -q "$calls"
30 echo "$calls"
/third_party/openssl/doc/internal/man3/
Devp_keymgmt_newdata.pod42 evp_keymgmt_newdata() calls the method's new() function.
44 evp_keymgmt_freedata() calls the method's free() function.
50 evp_keymgmt_get_params() calls the method's get_params() function.
52 evp_keymgmt_has() calls the method's has() function.
54 evp_keymgmt_validate() calls the method's validate() function.
56 evp_keymgmt_import() calls the method's import() function.
58 evp_keymgmt_import_types() calls the method's import_types() function.
60 evp_keymgmt_export() calls the method's export() function.
62 evp_keymgmt_export_types() calls the method's export_types() function.
/third_party/ltp/tools/sparse/sparse-src/gvpr/
Dsubg-rev19 graph_t calls[]; // Crude hash table for tracking who calls what
48 calls[sprintf("%s%d", g2.name, ++i)] = g;
59 while(calls[sprintf("%s%d", g.name, ++i)]) {
61 calls[sprintf("%s%d", g.name, i)] = find_owner(tail, $G);
82 while(calls[sprintf("%s%d", g.name, ++i)]) {
83 if (isIn(calls[sprintf("%s%d", g.name, i)],e.head))
/third_party/mbedtls/tests/suites/
Dtest_suite_entropy.data55 Entropy calls: no strong
58 Entropy calls: 1 strong, 1*BLOCK_SIZE
61 Entropy calls: 1 strong, 2*(BLOCK_SIZE/2)
64 Entropy calls: 1 strong, BLOCK_SIZE*1
67 Entropy calls: 1 strong, 2*BLOCK_SIZE to reach threshold
70 Entropy calls: 2 strong, BLOCK_SIZE/2 each
/third_party/node/lib/internal/test_runner/mock/
Dmock.js34 #calls; field in MockFunctionContext
41 this.#calls = [];
52 get calls() { getter in MockFunctionContext
53 return ArrayPrototypeSlice(this.#calls, 0);
61 return this.#calls.length;
80 const nextCall = this.#calls.length;
106 this.#calls = [];
114 ArrayPrototypePush(this.#calls, call);
122 const nextCall = this.#calls.length;

12345678910>>...88