Home
last modified time | relevance | path

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

1234

/arkcompiler/ets_frontend/ets2panda/lexer/token/
DsourceLocation.cpp25 size_t diff = offset - offset_; in AddCol() local
29 ranges.emplace_back(Range {diff}); in AddCol()
35 if (diff == range.byteSize) { in AddCol()
38 ranges.emplace_back(Range {diff}); in AddCol()
88 size_t diff = pos.index - entry.lineStart; in GetLocation() local
91 if (diff < range.cnt) { in GetLocation()
92 col += diff; in GetLocation()
96 diff -= range.cnt * range.byteSize; in GetLocation()
/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_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/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/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) {
Dtest_verifier_lib.j247 let diff : double;
49 diff = left - right;
51 diff = right -left;
53 if (diff < DBL_EPSILON) {
/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/ets_frontend/ets2panda/linter/src/testRunner/
DTestRunner.ts49 const DIFF_EXT = '.diff';
438 let diff: string = '';
455 diff = `Expected count: ${expectedResultCount} vs actual count: ${actual.length}`;
456 Logger.info(`${TAB}${diff}`);
458 diff = expectedAndActualMatch(expected, actual);
461 if (diff) {
465 // Write error message to diff, as non-empty diff indicates that test has failed.
466 diff = (error as Error).message;
467 Logger.info(`${TAB}Failed to compare expected and actual results. ` + diff);
470 return diff;
[all …]
/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/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
/arkcompiler/runtime_core/static_core/irtoc/scripts/
Dstring_helpers.irt59 diff := load_diff(str1, str2, 8)
60 diff := Or(diff, load_diff(str1, str2, 16)).u64
61 diff := Or(diff, load_diff(str1, str2, 24)).u64
62 If(diff, 0).NE.Unlikely.b {
76 diff := load_diff(ptr1, ptr2, 0)
77 diff := Or(diff, load_diff(ptr1, ptr2, 8)).u64
78 diff := Or(diff, load_diff(ptr1, ptr2, 16)).u64
79 diff := Or(diff, load_diff(ptr1, ptr2, 24)).u64
80 If(diff, 0).NE.Unlikely.b {
85 diff := load_diff(last_ptr1, last_ptr2, 0)
[all …]
/arkcompiler/ets_frontend/ets2panda/test/tsconfig/test-build/
Dtest.sh54 diff "$EXPECTED" "$ACTUAL"
65 echo "diff $(realpath $EXPECTED) $(pwd)/actual.txt"
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
Dmacro_assembler_aarch64.cpp281 int64_t diff = p1 - p0; in IsBitmaskImmediate() local
283 /* check if diff is a power of two; return false if not. */ in IsBitmaskImmediate()
284 if (static_cast<uint64_t>(diff) < 1 || static_cast<uint64_t>(diff) > UINT64_MAX) { in IsBitmaskImmediate()
285 std::cout << "diff value overflow!" << std::endl; in IsBitmaskImmediate()
288 if ((static_cast<uint64_t>(diff) & (static_cast<uint64_t>(diff) - 1)) != 0) { in IsBitmaskImmediate()
292 uint32_t logDiff = static_cast<uint32_t>(__builtin_ctzll(static_cast<uint64_t>(diff))); in IsBitmaskImmediate()
293 uint64_t pattern = val & ((1ULL << static_cast<uint64_t>(diff)) - 1); in IsBitmaskImmediate()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/
DRegExpReplaceFunctionTest.sts161 let diff : double;
163 diff = actual - expected;
165 diff = expected - actual;
167 if (diff < DBL_EPSILON) {
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dcard_table-inl.h62 size_t diff = endCard - startCard + 1; in FillRanges() local
63 … size_t splitSize = std::min(diff / 2, MAX_CARDS_COUNT); // divide 2 to get smaller split_size in FillRanges()
68 if (diff - splitSize > MAX_CARDS_COUNT) { in FillRanges()
70 …} else if (memcmp(ToNativePtr<Card>(ToUintPtr(startCard) + splitSize), &zeroArray, diff - splitSiz… in FillRanges()
/arkcompiler/ets_frontend/test262/
Dharness.patch1 diff --git a/bin/run.js b/bin/run.js
86 diff --git a/lib/agent-pool.js b/lib/agent-pool.js
106 diff --git a/lib/cli.js b/lib/cli.js
135 diff --git a/lib/reporters/simple.js b/lib/reporters/simple.js
245 diff --git a/lib/saveCompiledTest.js b/lib/saveCompiledTest.js
262 diff --git a/lib/validator.js b/lib/validator.js
293 diff --git a/package.json b/package.json

1234