Home
last modified time | relevance | path

Searched full:diff (Results 1 – 25 of 111) sorted by relevance

12345

/arkcompiler/ets_frontend/ets2panda/linter/src/testRunner/
DMigrateTest.ts62 let diff: string = '';
68 diff = `Expected lines: ${expectedResult.length} vs actual lines: ${actualResult.length}`;
70 diff = MigrateTest.compareTextLines(expectedResult, actualResult);
73 if (diff) {
74 Logger.info(`${TAB}Migration test failed. Expected and actual results differ:\n${diff}`);
77 // Write error message to diff, as non-empty diff indicates that test has failed.
78 diff = (error as Error).message;
79 Logger.info(`${TAB}Failed to compare expected and actual results. ` + diff);
82 return diff;
88 const diff = `Difference at line ${i + 1} constant
[all …]
DLintTest.ts88 let diff: string = '';
105 diff = `Expected count: ${expectedResultCount} vs actual count: ${actual.length}`;
107 diff = LintTest.expectedAndActualMatch(expected, actual);
110 if (diff) {
111 Logger.info(`${TAB}Lint test failed. Expected and actual results differ:\n${diff}`);
114 // Write error message to diff, as non-empty diff indicates that test has failed.
115 diff = (error as Error).message;
116 Logger.info(`${TAB}Failed to compare expected and actual results. ` + diff);
119 return diff;
175 private writeLintResultFile(actual: TestProblemInfo[], diff: string): void {
[all …]
/arkcompiler/runtime_core/taihe/
D.gitattributes18 *.py text eol=lf diff=python whitespace=indent,trail,space
25 *.h text eol=lf diff=cpp whitespace=indent,trail,space
26 *.hpp text eol=lf diff=cpp whitespace=indent,trail,space
29 *.ts text eol=lf diff=javascript whitespace=indent,trail,space
30 *.ets text eol=lf diff=javascript whitespace=indent,trail,space
31 *.sts text eol=lf diff=javascript whitespace=indent,trail,space
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/callgraph/pointerAnalysis/
DPtsDS.ts241 let diff = this.diffPtsMap.get(v) || new this.DSCreator();
242 this.diffPtsMap.set(v, diff);
243 return diff.insert(elem);
260 let diff = this.diffPtsMap.get(srcv);
261 if (diff) {
262 let srcDs = diff.clone();
273 let diff = this.diffPtsMap.get(srcv);
274 if (diff) {
275 let srcDs = diff.clone();
287 let diff = this.diffPtsMap.get(dstv) || new this.DSCreator();
[all …]
/arkcompiler/ets_frontend/es2panda/lexer/token/
DsourceLocation.cpp24 size_t diff = offset - offset_; in AddCol() local
28 ranges.emplace_back(Range {diff}); in AddCol()
34 if (diff == range.byteSize) { in AddCol()
37 ranges.emplace_back(Range {diff}); in AddCol()
86 size_t diff = pos.index - entry.lineStart; in GetLocation() local
89 if (diff < (range.cnt * range.byteSize)) { in GetLocation()
90 col += (diff / range.byteSize) ; in GetLocation()
94 diff -= range.cnt * range.byteSize; in GetLocation()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dsequence.h34 // diff := x - mean in Add()
35 // incr := alpha * diff in Add()
37 // variance := (1 - alpha) * (variance + diff * incr) in Add()
39 double diff = val - mean_; in Add() local
40 double incr = DEFAULT_INCREMENTAL_FACTOR * diff; in Add()
42 variance_ = (1.0 - DEFAULT_INCREMENTAL_FACTOR) * (variance_ + diff * incr); in Add()
/arkcompiler/ets_frontend/ets2panda/lexer/token/
DsourceLocation.cpp26 size_t diff = offset - offset_; in AddCol() local
30 ranges.emplace_back(Range {diff}); in AddCol()
36 if (diff == range.byteSize) { in AddCol()
39 ranges.emplace_back(Range {diff}); in AddCol()
89 size_t diff = pos.index - entry.lineStart; in GetLocation() local
92 if (diff < range.cnt) { in GetLocation()
93 col += diff; in GetLocation()
97 diff -= range.cnt * range.byteSize; in GetLocation()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_imm_valid.cpp76 int64 diff = p1 - p0; in IsBitmaskImmediate() local
78 /* check if diff is a power of two; return false if not. */ in IsBitmaskImmediate()
79 CHECK_FATAL(static_cast<uint64>(diff) >= 1, "value overflow"); in IsBitmaskImmediate()
80 if ((static_cast<uint64>(diff) & (static_cast<uint64>(diff) - 1)) != 0) { in IsBitmaskImmediate()
85 uint32 logDiff = static_cast<uint32>(__builtin_ctzll(static_cast<uint64>(diff))); in IsBitmaskImmediate()
86 uint64 pattern = val & ((1ULL << static_cast<uint64>(diff)) - 1); in IsBitmaskImmediate()
/arkcompiler/runtime_core/scripts/
Drun-clang-format17 # look like and output corresponding diff. Exit with the same code as diff.
38 # Here we rely on diff's exit code:
39 diff -u --color=auto \
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dexponent.ets.migrate.json24 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)",
34 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)",
44 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)",
54 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)",
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/
Dtest_utils_double.j226 let diff : double;
28 diff = left - right;
30 diff = right -left;
32 if (diff < epsilon) {
Dtest_check_test_float_result.j244 let diff : double;
46 diff = actual - expected;
48 diff = expected - actual;
50 if (diff < DBL_EPSILON) {
Dtest_check_test_regexp_result.j2104 let diff : double;
106 diff = actual - expected;
108 diff = expected - actual;
110 if (diff < DBL_EPSILON) {
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/benchmark/
Dcompare.py78 diff = old_size - new_size variable
81 "new_size": new_size, "diff": diff
83 if diff > 0:
87 elif diff < 0:
100 …logging.info("Classes that have been optimized:\n Code_item section size:\n|Old: |New: |Diff:|Per…
102 if result[r]["diff"] > 0:
106 result[r]["diff"],
/arkcompiler/runtime_core/bytecode_optimizer/tests/benchmark/
Dcompare.py77 diff = old_size - new_size variable
79 "new_size": new_size, "diff": diff}
80 if diff > 0:
84 elif diff < 0:
97 …print("Classes that have been optimized:\n Code_item section size:\n|Old: |New: |Diff:|Per: |Fil…
99 if result[r]["diff"] > 0:
103 result[r]["diff"],
/arkcompiler/runtime_core/static_core/scripts/code_style/
Drun_code_style_tools.sh17 # look like and output corresponding diff. Exit with the same code as diff.
37 # Here we rely on diff's exit code:
38 diff -u --color=auto \
/arkcompiler/runtime_core/libabckit/scripts/code_style/
Drun_code_style_tools.sh17 # look like and output corresponding diff. Exit with the same code as diff.
37 # Here we rely on diff's exit code:
38 diff -u --color=auto \
/arkcompiler/runtime_core/static_core/patches/asmjit/
D0006-Fix-asmjit-build-on-modern-compilers.patch15 diff --git a/src/asmjit/core/radefs_p.h b/src/asmjit/core/radefs_p.h
28 diff --git a/src/asmjit/core/string.h b/src/asmjit/core/string.h
41 diff --git a/src/asmjit/core/zone.h b/src/asmjit/core/zone.h
54 diff --git a/src/asmjit/core/zonehash.h b/src/asmjit/core/zonehash.h
67 diff --git a/src/asmjit/core/zonestack.h b/src/asmjit/core/zonestack.h
80 diff --git a/src/asmjit/core/zonevector.h b/src/asmjit/core/zonevector.h
/arkcompiler/ets_frontend/ets2panda/linter/test/interop/
Dbinary_operation_js_obj.ets.migrate.json84 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)",
94 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)",
104 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)",
114 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)",
/arkcompiler/runtime_core/static_core/patches/rapidcheck/
D0002-Added-missing-cstdint.patch12 diff --git a/include/rapidcheck/detail/Serialization.hpp b/include/rapidcheck/detail/Serialization.…
24 diff --git a/include/rapidcheck/detail/Utility.h b/include/rapidcheck/detail/Utility.h
36 diff --git a/src/detail/Base64.h b/src/detail/Base64.h
/arkcompiler/ets_frontend/testTs/
Dtest-case.patch713 diff --git a/tests/cases/conformance/ambient/ambientDeclarations.ts b/tests/cases/conformance/ambie…
723 diff --git a/tests/cases/conformance/ambient/ambientDeclarationsPatterns/ambientDeclarationsPattern…
741 diff --git a/tests/cases/conformance/ambient/ambientDeclarationsPatterns/declarations.d.ts b/tests/…
765 diff --git a/tests/cases/conformance/ambient/ambientInsideNonAmbient.ts b/tests/cases/conformance/a…
784 diff --git a/tests/cases/conformance/ambient/ambientInsideNonAmbientExternalModule.ts b/tests/cases…
797 diff --git a/tests/cases/conformance/ambient/ambientShorthand_merging/ambientShorthand_merging.ts b…
809 diff --git a/tests/cases/conformance/ambient/ambientShorthand_merging/declarations1.d.ts b/tests/ca…
817 diff --git a/tests/cases/conformance/ambient/ambientShorthand_merging/declarations2.d.ts b/tests/ca…
828 diff --git a/tests/cases/conformance/ambient/ambientShorthand_reExport/ambientShorthand_reExport.ts…
839 diff --git a/tests/cases/conformance/ambient/ambientShorthand_reExport/declarations.d.ts b/tests/ca…
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dimmvalid.def61 int64 diff = p1 - p0;
63 /* check if diff is a power of two; return false if not. */
64 if ((static_cast<uint64>(diff) & (static_cast<uint64>(diff) - 1)) != 0) {
69 int32 logDiff = __builtin_ctzll(static_cast<uint64>(diff));
70 int64 pattern = static_cast<int64>(val & ((1ULL << static_cast<uint64>(diff)) - 1));
/arkcompiler/runtime_core/static_core/cross_values/
Ddiff_check_values.sh15 # At the moment, the script is nothing more than `diff` execution.
27 diff "${cross_values_1}" "${cross_values_2}"
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/
Daot_builder.cpp239 auto diff = static_cast<ssize_t>(ptrCnt - end); in EmitPlt() local
244 ptrView[diff + idx] = AotFile::AotSlotType::PLT_SLOT; in EmitPlt()
245 ptrView[diff + idx - IMM_2] = method.second; in EmitPlt()
249 ptrView[diff + idx] = AotFile::AotSlotType::VTABLE_INDEX; in EmitPlt()
250 ptrView[diff + idx - 1] = method.second; in EmitPlt()
254 ptrView[diff + idx] = AotFile::AotSlotType::CLASS_SLOT; in EmitPlt()
255 ptrView[diff + idx - IMM_2] = klass.second; in EmitPlt()
259 ptrView[diff + idx] = AotFile::AotSlotType::STRING_SLOT; in EmitPlt()
260 ptrView[diff + idx - 1] = string_id.second; in EmitPlt()
265 ptrView[diff + idx] = AotFile::AotSlotType::INLINECACHE_SLOT; in EmitPlt()
[all …]
/arkcompiler/runtime_core/static_core/patches/zydis/
D0003-Mark-zycore-as-system.patch11 diff --git a/CMakeLists.txt b/CMakeLists.txt
35 diff --git a/zycore/CMakeLists.txt b/zycore/CMakeLists.txt

12345