Home
last modified time | relevance | path

Searched refs:deltas (Results 1 – 25 of 141) sorted by relevance

123456

/external/llvm-project/llvm/tools/llvm-reduce/
DCMakeLists.txt15 deltas/Delta.cpp
16 deltas/ReduceAliases.cpp
17 deltas/ReduceArguments.cpp
18 deltas/ReduceAttributes.cpp
19 deltas/ReduceBasicBlocks.cpp
20 deltas/ReduceFunctionBodies.cpp
21 deltas/ReduceFunctions.cpp
22 deltas/ReduceGlobalVars.cpp
23 deltas/ReduceInstructions.cpp
24 deltas/ReduceMetadata.cpp
[all …]
/external/llvm-project/llvm/utils/gn/secondary/llvm/tools/llvm-reduce/
DBUILD.gn13 "deltas/Delta.cpp",
14 "deltas/ReduceAliases.cpp",
15 "deltas/ReduceArguments.cpp",
16 "deltas/ReduceAttributes.cpp",
17 "deltas/ReduceBasicBlocks.cpp",
18 "deltas/ReduceFunctionBodies.cpp",
19 "deltas/ReduceFunctions.cpp",
20 "deltas/ReduceGlobalVars.cpp",
21 "deltas/ReduceInstructions.cpp",
22 "deltas/ReduceMetadata.cpp",
[all …]
/external/tensorflow/tensorflow/python/data/benchmarks/
Dmeta_benchmark.py84 def report(self, deltas): argument
87 deltas = np.array(deltas) / self.iters
89 deltas = deltas[5:]
91 median = np.median(deltas)
92 mean = np.mean(deltas)
93 min_val = np.min(deltas)
94 max_val = np.max(deltas)
106 deltas = []
109deltas.append(timeit.timeit(lambda: next(iterator), number=self.iters)) # pylint: disable=cell-va…
111 self.report(deltas)
[all …]
Dbenchmark_base.py50 deltas = []
64 deltas.append(end - start)
65 return np.median(deltas)
91 deltas = []
109 deltas.append(end - start)
110 return np.median(deltas)
/external/fonttools/Tests/ttLib/tables/
DTupleVariation_test.py234 tup, deltas, _ = var.compile(axisTags, sharedPeakIndices,
241 hexencode(deltas))
249 tup, deltas, _ = var.compile(axisTags, sharedPeakIndices,
256 hexencode(deltas))
264 tup, deltas, _ = var.compile(axisTags, sharedPeakIndices,
272 hexencode(deltas))
280 tuple, deltas, _ = var.compile(axisTags,
289 hexencode(deltas))
295 tup, deltas, _ = var.compile(axisTags=["wght", "wdth"],
302 hexencode(deltas))
[all …]
/external/libchrome/base/metrics/
Dhistogram_delta_serialization_unittest.cc20 std::vector<std::string> deltas; in TEST() local
22 serializer.PrepareAndSerializeDeltas(&deltas, true); in TEST()
23 EXPECT_TRUE(deltas.empty()); in TEST()
32 serializer.PrepareAndSerializeDeltas(&deltas, true); in TEST()
33 EXPECT_FALSE(deltas.empty()); in TEST()
35 HistogramDeltaSerialization::DeserializeAndAddSamples(deltas); in TEST()
46 HistogramDeltaSerialization::DeserializeAndAddSamples(deltas); in TEST()
/external/guava/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetBasherTest.java75 int[] deltas = new int[3]; in testAddAndRemove() local
78 for (int i = 0; i < deltas.length; i++) { in testAddAndRemove()
79 deltas[i] += taskDeltas[i]; in testAddAndRemove()
92 assertEquals("Counts not as expected", Ints.asList(deltas), actualCounts); in testAddAndRemove()
117 int[] deltas = new int[nKeys]; in call() local
128 deltas[keyIndex] += delta; in call()
135 deltas[keyIndex] += (newValue - oldValue); in call()
143 deltas[keyIndex] += (newValue - oldValue); in call()
151 deltas[keyIndex] -= Math.min(delta, oldValue); in call()
158 deltas[keyIndex] -= delta; in call()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetBasherTest.java75 int[] deltas = new int[3]; in testAddAndRemove() local
78 for (int i = 0; i < deltas.length; i++) { in testAddAndRemove()
79 deltas[i] += taskDeltas[i]; in testAddAndRemove()
92 assertEquals("Counts not as expected", Ints.asList(deltas), actualCounts); in testAddAndRemove()
117 int[] deltas = new int[nKeys]; in call() local
128 deltas[keyIndex] += delta; in call()
135 deltas[keyIndex] += (newValue - oldValue); in call()
143 deltas[keyIndex] += (newValue - oldValue); in call()
151 deltas[keyIndex] -= Math.min(delta, oldValue); in call()
158 deltas[keyIndex] -= delta; in call()
[all …]
/external/fonttools/Lib/fontTools/varLib/
DvarStore.py86 deltas = self._model.getDeltas(master_values, round=round)
87 base = deltas.pop(0)
88 return base, self.storeDeltas(deltas, round=noRound)
90 def storeDeltas(self, deltas, *, round=round): argument
91 deltas = [round(d) for d in deltas]
92 if len(deltas) == len(self._supports) + 1:
93 deltas = tuple(deltas[1:])
95 assert len(deltas) == len(self._supports)
96 deltas = tuple(deltas)
98 varIdx = self._cache.get(deltas)
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-var-gvar-table.hh330 hb_vector_t<int> &deltas /* IN/OUT */, in unpack_deltas()
341 unsigned int count = deltas.length; in unpack_deltas()
350 deltas[i] = 0; in unpack_deltas()
356 deltas[i] = *(const HBINT16 *) p; in unpack_deltas()
364 deltas[i] = *(const HBINT8 *) p++; in unpack_deltas()
536 const hb_array_t<contour_point_t> deltas, in infer_delta()
542 float prev_delta = T::get (deltas[prev]); in infer_delta()
543 float next_delta = T::get (deltas[next]); in infer_delta()
585 contour_point_vector_t deltas; /* flag is used to indicate referenced point */ in apply_deltas_to_points() local
586 deltas.resize (points.length); in apply_deltas_to_points()
[all …]
Dhb-cff2-interp-cs.hh41 deltas.init (); in init()
47 deltas.fini_deep (); in fini()
59 deltas.resize (numBlends); in set_blends()
61 deltas[i] = blends_[i]; in set_blends()
64 bool blending () const { return deltas.length > 0; } in blending()
68 deltas.resize (0); in reset_blends()
73 hb_vector_t<number_t> deltas; member
170 if (likely (scalars.length == arg.deltas.length)) in blend_arg()
175 v += (double)scalars[i] * arg.deltas[i].to_real (); in blend_arg()
178 arg.deltas.resize (0); in blend_arg()
/external/ltp/testcases/realtime/func/measurement/
Drdtsc-latency.c102 unsigned long long deltas[ITERATIONS]; in main() local
148 deltas[i] = (tsc_minus(tsc_a, tsc_b) * tsc_period) / 1000; /* tsc period is in ps */ in main()
149 if (i == 0 || deltas[i] < min) in main()
150 min = deltas[i]; in main()
151 if (deltas[i] > max) in main()
152 max = deltas[i]; in main()
153 avg += deltas[i]; in main()
/external/fonttools/Lib/fontTools/ttLib/tables/
DTupleVariation.py316 def compileDeltaValues_(deltas): argument
334 while pos < len(deltas):
335 value = deltas[pos]
337 pos = TupleVariation.encodeDeltaRunAsZeroes_(deltas, pos, stream)
339 pos = TupleVariation.encodeDeltaRunAsBytes_(deltas, pos, stream)
341 pos = TupleVariation.encodeDeltaRunAsWords_(deltas, pos, stream)
345 def encodeDeltaRunAsZeroes_(deltas, offset, stream): argument
348 numDeltas = len(deltas)
349 while pos < numDeltas and runLength < 64 and deltas[pos] == 0:
357 def encodeDeltaRunAsBytes_(deltas, offset, stream): argument
[all …]
/external/tensorflow/tensorflow/core/ops/
Dragged_math_ops.cc49 ShapeHandle deltas = c->input(2); in RaggedRangeShapeFn() local
52 TF_RETURN_IF_ERROR(c->WithRankAtMost(deltas, 1, &deltas)); in RaggedRangeShapeFn()
62 if (c->Rank(deltas) == 1) { in RaggedRangeShapeFn()
63 TF_RETURN_IF_ERROR(c->Merge(c->Dim(deltas, 0), dim, &dim)); in RaggedRangeShapeFn()
71 c->Rank(deltas) == 0) { in RaggedRangeShapeFn()
/external/webrtc/logging/rtc_event_log/encoder/
Ddelta_encoding_unittest.cc107 const std::vector<absl::optional<uint64_t>>& deltas, in CreateSequenceByOptionalDeltas() argument
115 if (deltas[next_delta_index].has_value()) { in CreateSequenceByOptionalDeltas()
117 absl::optional<uint64_t>(previous + deltas[next_delta_index].value()); in CreateSequenceByOptionalDeltas()
120 next_delta_index = (next_delta_index + 1) % deltas.size(); in CreateSequenceByOptionalDeltas()
148 const std::vector<uint64_t>& deltas, in CreateSequenceByDeltas() argument
150 RTC_DCHECK(!deltas.empty()); in CreateSequenceByDeltas()
151 std::vector<absl::optional<uint64_t>> optional_deltas(deltas.size()); in CreateSequenceByDeltas()
152 for (size_t i = 0; i < deltas.size(); ++i) { in CreateSequenceByDeltas()
153 optional_deltas[i] = absl::optional<uint64_t>(deltas[i]); in CreateSequenceByDeltas()
433 const std::vector<uint64_t> deltas = {0, 312, 11, 1, 1, 0, 0, 12, in TEST_P() local
[all …]
/external/python/cpython3/Lib/test/libregrtest/
Drefleak.py111 def check_rc_deltas(deltas): argument
124 return all(delta >= 1 for delta in deltas)
126 def check_fd_deltas(deltas): argument
127 return any(deltas)
130 for deltas, item_name, checker in [
136 deltas = deltas[nwarmup:]
137 if checker(deltas):
139 test_name, deltas, item_name, sum(deltas))
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dframe_pair.cc38 static Point2f deltas[kMaxKeypoints]; in AdjustBox() local
44 FillTranslations(deltas); in AdjustBox()
46 const Point2f translation = GetWeightedMedian(weights, deltas); in AdjustBox()
53 FillScales(old_center, translation, weights, deltas); in AdjustBox()
72 const float scale_factor = GetWeightedMedianScale(weights, deltas); in AdjustBox()
224 const float* const weights, const Point2f* const deltas) const { in GetWeightedMedian()
236 weighted_deltas[i].delta = deltas[i].x; in GetWeightedMedian()
256 weighted_deltas[i].delta = deltas[i].y; in GetWeightedMedian()
270 const float* const weights, const Point2f* const deltas) const { in GetWeightedMedianScale()
282 weighted_deltas[i].delta = deltas[i].x; in GetWeightedMedianScale()
[all …]
/external/swiftshader/third_party/marl/tools/cmd/benchdiff/
Dmain.go110 deltas := []delta{}
139 deltas = append(deltas, d)
142 sort.Slice(deltas, func(i, j int) bool { return deltas[j].relDiff < deltas[i].relDiff })
146 for _, delta := range deltas {
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_RaggedRange.pbtxt13 name: "deltas"
14 description: "The deltas of each range."
31 `result[i] = range(starts[i], limits[i], deltas[i])`.
35 starts=[2, 5, 8], limits=[3, 5, 12], deltas=1)
41 The input tensors `starts`, `limits`, and `deltas` may be scalars or vectors.
/external/tensorflow/tensorflow/python/ops/
Dcollective_ops_benchmark.py66 deltas = []
69 while len(deltas) < 5 or time.time() - overall_start < 5.0:
74 deltas.append(end - start)
77 median_wall_time = np.median(deltas) / 100.0
78 iters = len(deltas) * 100
/external/dng_sdk/source/
Ddng_misc_opcodes.cpp864 uint32 deltas = SafeUint32DivideUp (fAreaSpec.Area ().H (), in dng_opcode_DeltaPerRow() local
867 if (deltas != stream.Get_uint32 ()) in dng_opcode_DeltaPerRow()
872 if (dataSize != dng_area_spec::kDataSize + 4 + deltas * 4) in dng_opcode_DeltaPerRow()
877 fTable.Reset (host.Allocate (SafeUint32Mult (deltas, in dng_opcode_DeltaPerRow()
882 for (uint32 j = 0; j < deltas; j++) in dng_opcode_DeltaPerRow()
892 printf ("Count: %u\n", (unsigned) deltas); in dng_opcode_DeltaPerRow()
894 for (uint32 k = 0; k < deltas && k < gDumpLineLimit; k++) in dng_opcode_DeltaPerRow()
899 if (deltas > gDumpLineLimit) in dng_opcode_DeltaPerRow()
901 printf (" ... %u deltas skipped\n", (unsigned) (deltas - gDumpLineLimit)); in dng_opcode_DeltaPerRow()
915 uint32 deltas = SafeUint32DivideUp (fAreaSpec.Area ().H (), in PutData() local
[all …]
/external/skqp/src/core/
DSkScan_DAAPath.cpp82 SkFixed nextX, Deltas* deltas) { // rowHeight=fullAlpha in add_coverage_delta_segment() argument
97 deltas->addDelta(L, y, rowHeight * sign); in add_coverage_delta_segment()
106 deltas->addDelta(L, y, alpha * sign); in add_coverage_delta_segment()
107 deltas->addDelta(L + 1, y, (rowHeight - alpha) * sign); in add_coverage_delta_segment()
116 deltas->addDelta(L, y, alpha1 * sign); in add_coverage_delta_segment()
117 deltas->addDelta(L + 1, y, (alpha2 - alpha1) * sign); in add_coverage_delta_segment()
118 deltas->addDelta(L + 2, y, (rowHeight - alpha2) * sign); in add_coverage_delta_segment()
133 deltas->addDelta(L, y, alpha0 * sign); in add_coverage_delta_segment()
134 deltas->addDelta(L + 1, y, (alpha1 - alpha0) * sign); in add_coverage_delta_segment()
136 deltas->addDelta(L + i, y, dY * sign); // the increment is always a rect of height = dY in add_coverage_delta_segment()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dragged_range_op.cc67 const auto& deltas = deltas_in.flat<T>(); in Compute() local
79 T delta = broadcast_deltas ? deltas(0) : deltas(row); in Compute()
95 T delta = broadcast_deltas ? deltas(0) : deltas(row); in Compute()
Dsdca_internal.h198 TTypes<float>::Matrix deltas) in FeatureWeightsDenseStorage() argument
199 : nominals_(nominals), deltas_(deltas) { in FeatureWeightsDenseStorage()
200 CHECK_GT(deltas.rank(), 1); in FeatureWeightsDenseStorage()
212 TTypes<float>::Matrix deltas() const { return deltas_; } in deltas() function
234 TTypes<float>::Matrix deltas) in FeatureWeightsSparseStorage() argument
235 : nominals_(nominals), deltas_(deltas) { in FeatureWeightsSparseStorage()
255 float deltas(const int class_id, const int64 index) const { in deltas() function
/external/webp/src/dec/
Dalpha_dec.c117 const uint8_t* deltas = dec->alpha_data_ + ALPHA_HEADER_LEN + row * width; in ALPHDecode() local
119 assert(deltas <= &dec->alpha_data_[dec->alpha_data_size_]); in ALPHDecode()
123 WebPUnfilters[alph_dec->filter_](prev_line, deltas, dst, width); in ALPHDecode()
126 deltas += width; in ALPHDecode()
130 memcpy(dst, deltas, width * sizeof(*dst)); in ALPHDecode()
133 deltas += width; in ALPHDecode()

123456