| /third_party/typescript/src/testRunner/unittests/tscWatch/ |
| D | helpers.ts | 5 export type File = TestFSWithWatch.File; alias 17 export const commonFile1: File = { 21 export const commonFile2: File = { 27 …checkArray(`Program actual files`, program.getSourceFiles().map(file => file.fileName), expectedFi… 47 const buildVerboseLogRegEx = /^.+ \- /; 139 … return ` - ${flattenDiagnosticMessageText(diagnostic.messageText, host.newLine)}${newLines}`; 236 …export function getDiagnosticOfFileFrom(file: SourceFile | undefined, start: number | undefined, l… 238 file, 251 …return getDiagnosticOfFileFrom(/*file*/ undefined, /*start*/ undefined, /*length*/ undefined, mess… 254 …export function getDiagnosticOfFile(file: SourceFile, start: number, length: number, message: Diag… [all …]
|
| D | consoleClearing.ts | 2 describe("unittests:: tsc-watch:: console clearing", () => { 4 const file: File = { constant 10 caption: "Comment added to file f", 11 change: sys => sys.modifyFile(file.path, "//"), 19 commandLineArgs: ["--w", file.path, ...commandLineOptions || emptyArray], 20 sys: () => createWatchedSystem([file, libFile]), 25 … checkConsoleClearingUsingCommandLineOptions("without --diagnostics or --extendedDiagnostics"); 26 checkConsoleClearingUsingCommandLineOptions("with --diagnostics", ["--diagnostics"]); 27 …checkConsoleClearingUsingCommandLineOptions("with --extendedDiagnostics", ["--extendedDiagnostics"… 28 …checkConsoleClearingUsingCommandLineOptions("with --preserveWatchOutput", ["--preserveWatchOutput"… [all …]
|
| /third_party/json/benchmarks/thirdparty/benchmark/tools/ |
| D | compare.py | 4 compare.py - versatile benchmark output compare tool 21 output_file = find_benchmark_flag('--benchmark_out=', flags) 22 output_type = find_benchmark_flag('--benchmark_out_format=', flags) 24 print(("WARNING: '--benchmark_out=%s' will be passed to both " 30 print(("ERROR: passing '--benchmark_out_format=%s' to 'compare.py`" 44 help='The most simple use-case, compare all the output of these two benchmarks') 45 baseline = parser_a.add_argument_group( 46 'baseline', 'The benchmark baseline') 47 baseline.add_argument( 52 help='A benchmark executable or JSON output file') [all …]
|
| /third_party/benchmark/tools/ |
| D | compare.py | 5 compare.py - versatile benchmark output compare tool 23 output_file = find_benchmark_flag('--benchmark_out=', flags) 24 output_type = find_benchmark_flag('--benchmark_out_format=', flags) 26 print(("WARNING: '--benchmark_out=%s' will be passed to both " 32 print(("ERROR: passing '--benchmark_out_format=%s' to 'compare.py`" 42 '-a', 43 '--display_aggregates_only', 46 help="If there are repetitions, by default, we display everything - the" 53 '--no-color', 61 '-d', [all …]
|
| /third_party/typescript/src/testRunner/unittests/tsc/ |
| D | helpers.ts | 4 baseLine(): { file: string; text: string; }; 8 Initial = "initial-build", 9 IncrementalDtsChange = "incremental-declaration-changes", 10 IncrementalDtsUnchanged = "incremental-declaration-doesnt-change", 11 IncrementalHeadersChange = "incremental-headers-change-without-dts-changes", 12 NoChangeRun ="no-change-run" 24 buildKind?: BuildKind; // Should be defined for tsc --b 112 const baseline: string[] = []; constant 113 tscWatch.baselinePrograms(baseline, getPrograms); 114 sys.write(baseline.join("\n")); [all …]
|
| /third_party/mesa3d/src/gallium/drivers/radeonsi/ci/ |
| D | radeonsi-run-tests.py | 18 # FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 58 "--jobs", 59 "-j", 64 parser.add_argument("--piglit-path", type=str, help="Path to piglit source folder.") 65 parser.add_argument("--glcts-path", type=str, help="Path to GLCTS source folder.") 66 parser.add_argument("--deqp-path", type=str, help="Path to dEQP source folder.") 68 "--parent-path", 73 parser.add_argument("--verbose", "-v", action="count", default=0) 75 "--include-tests", 76 "-t", [all …]
|
| /third_party/grpc/third_party/upb/benchmarks/ |
| D | compare.py | 2 """Benchmarks the current working directory against a given baseline. 18 subprocess.run(['git', 'worktree', 'add', '-q', '-d', tmpdir, commit], check=True) 31 tmpfile = "/tmp/bench-output.json" 32 Run("rm -rf {}".format(tmpfile)) 35 extra_args = " --//:fasttable_enabled=true" 40 Run("CC=clang bazel build -c opt --copt=-march=native benchmarks:benchmark" + extra_args) 41 …Run("./bazel-bin/benchmarks/benchmark --benchmark_out_format=json --benchmark_out={} --benchmark_r… 54 print("{} {} {} ns/op".format(*values), file=f) 56 Run("CC=clang bazel build -c opt --copt=-g tests:conformance_upb" + extra_args) 57 Run("cp -f bazel-bin/tests/conformance_upb {}.bin".format(outbase)) [all …]
|
| /third_party/flutter/engine/flutter/third_party/txt/src/txt/ |
| D | placeholder_run.h | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 26 /// Match the baseline of the placeholder with the baseline. 29 /// Align the bottom edge of the placeholder with the baseline such that the 30 /// placeholder sits on top of the baseline. 33 /// Align the top edge of the placeholder with the baseline specified in 34 /// such that the placeholder hangs below the baseline. 66 TextBaseline baseline; variable 68 // Distance from the top edge of the rect to the baseline position. This 69 // baseline will be aligned against the alphabetic baseline of the surrounding [all …]
|
| D | placeholder_run.cc | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 26 TextBaseline baseline, in PlaceholderRun() argument 31 baseline(baseline), in PlaceholderRun()
|
| /third_party/flutter/flutter/packages/flutter/test/widgets/ |
| D | baseline_test.dart | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 9 testWidgets('Baseline - control test', (WidgetTester tester) async { 24 testWidgets('Baseline - position test', (WidgetTester tester) async { 27 child: Baseline( 28 baseline: 180.0, 41 expect(tester.renderObject<RenderBox>(find.byType(Baseline)).size, 45 testWidgets('Chip caches baseline', (WidgetTester tester) async { 50 child: Baseline( 51 baseline: 100.0, [all …]
|
| /third_party/typescript/src/harness/ |
| D | virtualFileSystemWithWatch.ts | 2 export const libFile: File = { 4 content: `/// <reference no-default-lib="true"/> 25 chroma: "chroma-js" 55 export interface File { interface 68 /** Relative path to the real file. */ 72 export type FileOrFolderOrSymLink = File | Folder | SymLink; 73 …port function isFile(fileOrFolderOrSymLink: FileOrFolderOrSymLink): fileOrFolderOrSymLink is File { 74 return isString((<File>fileOrFolderOrSymLink).content); 344 /** Invokes the directory watcher for the parent instead of the file changed */ 346 /** When new file is created, do not invoke watches for it */ [all …]
|
| /third_party/grpc/tools/profiling/microbenchmarks/bm_diff/ |
| D | README.md | 6 a baseline commit, then quickly compare data from your working branch to that 7 baseline data to see if you have made any performance wins. 20 `tools/profiling/microbenchmarks/bm_diff/bm_main.py -b bm_error -l 5 -d master` 28 If you have already invoked bm_main with `-d master`, you should instead use 29 `-o` for subsequent runs. This allows the script to skip re-building and 30 re-running the unchanged master branch. For example: 32 `tools/profiling/microbenchmarks/bm_diff/bm_main.py -b bm_error -l 5 -o` 57 `tools/profiling/microbenchmarks/bm_diff/bm_build.py -b bm_error -n baseline` 71 `tools/profiling/microbenchmarks/bm_diff/bm_run.py -b bm_error -b baseline -l 5` 73 Then an example output file would be `bm_error.opt.baseline.0.json` [all …]
|
| /third_party/flutter/skia/tools/calmbench/ |
| D | calmbench.py | 5 # Use of this source code is governed by a BSD-style license that can be 6 # found in the LICENSE file. 23 To compare a specific config with svg and skp resources included, add --config 24 and --extraarg option. For exampe, 26 python {0} TEST_GIT_BRANCH --config gl \\ 27 --extraarg "--svgs ~/Desktop/bots/svgs --skps ~/Desktop/bots/skps" 31 python {0} --help 40 if len(sys.argv) <= 1 or sys.argv[1] == '-h' or sys.argv[1] == '--help': 45 'another baseline branch (e.g., master) using multiple ' + 59 'nanobench args (example: --svgs ~/Desktop/bots/svgs --skps ' [all …]
|
| /third_party/skia/tools/calmbench/ |
| D | calmbench.py | 5 # Use of this source code is governed by a BSD-style license that can be 6 # found in the LICENSE file. 25 To compare a specific config with svg and skp resources included, add --config 26 and --extraarg option. For exampe, 28 python {0} TEST_GIT_BRANCH --config gl \\ 29 --extraarg "--svgs ~/Desktop/bots/svgs --skps ~/Desktop/bots/skps" 33 python {0} --help 42 if len(sys.argv) <= 1 or sys.argv[1] == '-h' or sys.argv[1] == '--help': 47 'another baseline branch (e.g., main) using multiple ' + 61 'nanobench args (example: --svgs ~/Desktop/bots/svgs --skps ' [all …]
|
| /third_party/typescript/src/testRunner/ |
| D | test262Runner.ts | 5 private static readonly helpersFilePath = "tests/cases/test262-harness/helpers.d.ts"; 16 private static readonly baselineOptions: Baseline.BaselineOptions = { 65 …st files = Array.from(testState.compilerResult.js.values()).filter(f => f.file !== Test262Baseline… 66 …Baseline.runBaseline(testState.filename + ".output.js", Compiler.collateOutputs(files), Test262Bas… 71 // eslint-disable-next-line no-null/no-null 72 …const baseline = errors.length === 0 ? null : Compiler.getErrorBaseline(testState.inputFiles, erro… constant 73 …Baseline.runBaseline(testState.filename + ".errors.txt", baseline, Test262BaselineRunner.baselineO… 83 …Baseline.runBaseline(testState.filename + ".AST.txt", Utils.sourceFileToJSON(sourceFile), Test262B… 106 … this.tests.forEach(test => this.runTest(typeof test === "string" ? test : test.file));
|
| D | rwcRunner.ts | 26 const baselineOpts: Harness.Baseline.BaselineOptions = { 44 …/ or to use lib.d.ts inside the json object. If the flag is true, use the lib.d.ts inside json file 61 // To provide test coverage of output javascript file, 92 // Load the file 108 // lib.d.ts inside json file. However, some RWC cases will still use 129 … // Since each RWC json file specifies its current directory in its json file, we need 150 Harness.Baseline.runMultifileBaseline(baseName, "", () => { 155 it("has the expected declaration file content", () => { 156 Harness.Baseline.runMultifileBaseline(baseName, "", () => { 158 return null; // eslint-disable-line no-null/no-null [all …]
|
| /third_party/flutter/flutter/packages/flutter/test/rendering/ |
| D | baseline_test.dart | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 18 baseline: 0.0, 27 expect(childParentData.offset.dy, equals(-100.0)); 30 parent.baseline = 25.0; 33 expect(childParentData.offset.dy, equals(-75.0)); 36 parent.baseline = 90.0; 39 expect(childParentData.offset.dy, equals(-10.0)); 42 parent.baseline = 100.0; 48 parent.baseline = 110.0;
|
| /third_party/mindspore/tests/mindspore_test_framework/utils/ |
| D | compare_util.py | 4 # you may not use this file except in compliance with the License. 7 # http://www.apache.org/licenses/LICENSE-2.0 16 """Utils for baseline comparison test.""" 24 def compare(expect, func_result, baseline): argument 26 Compare results of function with baseline functions. 29 … expect (dict): Config item in form of {'desc_expect': {'compare_with': f, 'max_error': 1e-3}}. 31 baseline (str): Config item, compare_with | compare_gradient_with. 36 funcs = expect[keyword.desc_expect][baseline] 37 max_error = expect[keyword.desc_expect].get(keyword.max_error, 1e-3) 46 if np.fabs(e - results[i]).max() > max_error:
|
| /third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
| D | widget_span.dart | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 50 /// {@end-tool} 58 /// * [Text], a widget for showing uniformly-styled text. 65 /// The [child] property must be non-null. [WidgetSpan] is a leaf node in 75 TextBaseline baseline, 78 assert(baseline != null || !( 81 identical(alignment, ui.PlaceholderAlignment.baseline) 85 baseline: baseline, 96 /// in-order mapping of widget to laid-out dimensions. If no such dimension [all …]
|
| /third_party/node/deps/npm/node_modules/is-callable/ |
| D | .istanbul.yml | 5 - .js 6 - .jsx 7 default-excludes: true 11 preserve-comments: false 12 complete-copy: false 13 save-baseline: false 14 baseline-file: ./coverage/coverage-baseline.raw.json 15 include-all-sources: false 16 include-pid: false 17 es-modules: false [all …]
|
| /third_party/flutter/flutter/packages/flutter_localizations/test/ |
| D | text_test.dart | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 11 testWidgets('Text baseline with CJK locale', (WidgetTester tester) async { 12 // This test in combination with 'Text baseline with EN locale' verify the baselines 14 // using the alphabetic baseline to lay out as the ideographic baseline is not yet 15 // properly implemented. When the ideographic baseline is better defined and implemented, 97 testWidgets('Text baseline with EN locale', (WidgetTester tester) async { 98 // This test in combination with 'Text baseline with CJK locale' verify the baselines 100 // using the alphabetic baseline to lay out as the ideographic baseline is not yet 101 // properly implemented. When the ideographic baseline is better defined and implemented,
|
| /third_party/flutter/engine/flutter/tools/android_lint/bin/ |
| D | main.dart | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 16 /// files to build a `project.xml` file. This file is then passed to the lint 17 /// tool. If an `--html` flag is also passed in, HTML output is reqeusted in the 18 /// directory for the optional `--out` parameter, which defaults to 21 /// The `--in` parameter may be specified to force this script to scan a 45 'or be passed that directory as the --in parameter.\n'); 47 return -1; 58 return -1; 62 print('Removing previous baseline.xml...'); [all …]
|
| /third_party/flutter/skia/samplecode/ |
| D | SampleGlyphTransform.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 41 double baseline = this->height() / 2; in onDrawContent() local 42 canvas->drawLine(0, baseline, this->width(), baseline, paint); in onDrawContent() 47 ctm.postTranslate(fTranslate.fX + this->width() * 0.8, fTranslate.fY + baseline); in onDrawContent() 48 canvas->concat(ctm); in onDrawContent() 53 …canvas->drawSimpleText(text, strlen(text), SkTextEncoding::kUTF8, -bounds.centerX(), -bounds.cente… in onDrawContent() 59 double t = TimeUtils::PingPong(1e-9 * nanos, 20, 0, 0, maxt); // d3 t is in milliseconds in onAnimate() 61 fTranslate.set(sin(t / 3000) - t * this->width() * 0.7 / maxt, sin(t / 999) / t); in onAnimate() 62 fScale = 4.5 - std::sqrt(t) / 99; in onAnimate()
|
| /third_party/skia/samplecode/ |
| D | SampleGlyphTransform.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 41 double baseline = this->height() / 2; in onDrawContent() local 42 canvas->drawLine(0, baseline, this->width(), baseline, paint); in onDrawContent() 47 ctm.postTranslate(fTranslate.fX + this->width() * 0.8, fTranslate.fY + baseline); in onDrawContent() 48 canvas->concat(ctm); in onDrawContent() 53 …canvas->drawSimpleText(text, strlen(text), SkTextEncoding::kUTF8, -bounds.centerX(), -bounds.cente… in onDrawContent() 59 double t = TimeUtils::PingPong(1e-9 * nanos, 20, 0, 0, maxt); // d3 t is in milliseconds in onAnimate() 61 fTranslate.set(sin(t / 3000) - t * this->width() * 0.7 / maxt, sin(t / 999) / t); in onAnimate() 62 fScale = 4.5 - std::sqrt(t) / 99; in onAnimate()
|
| /third_party/libwebsockets/doc-assets/ |
| D | lws-fts.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 5 …<path transform="matrix(-.2 0 0 -.2 -1.2 0)" d="m0 0 5-5-17.5 5 17.5 5z" fill-rule="evenodd" strok… 8 …<path transform="matrix(-.2 0 0 -.2 -1.2 0)" d="m0 0 5-5-17.5 5 17.5 5z" fill-rule="evenodd" strok… 11 …<path transform="matrix(-.2 0 0 -.2 -1.2 0)" d="m0 0 5-5-17.5 5 17.5 5z" fill-rule="evenodd" strok… 14 …<path transform="matrix(-.2 0 0 -.2 -1.2 0)" d="m0 0 5-5-17.5 5 17.5 5z" fill-rule="evenodd" strok… 17 …<path transform="matrix(-.2 0 0 -.2 -1.2 0)" d="m0 0 5-5-17.5 5 17.5 5z" fill-rule="evenodd" strok… 20 …<path transform="matrix(-.2 0 0 -.2 -1.2 0)" d="m0 0 5-5-17.5 5 17.5 5z" fill-rule="evenodd" strok… 23 …<path transform="matrix(-.2 0 0 -.2 -1.2 0)" d="m0 0 5-5-17.5 5 17.5 5z" fill-rule="evenodd" strok… 25 …<filter id="h" x="-.018221" y="-.030454" width="1.0364" height="1.0609" color-interpolation-filter… 31 …<rect transform="matrix(1.3577 0 0 1.3577 157.53 159.82)" x="-278.39" y="-250.61" width="133.21" h… [all …]
|