Home
last modified time | relevance | path

Searched refs:area2 (Results 1 – 17 of 17) sorted by relevance

/third_party/boost/libs/geometry/test/algorithms/area/
Darea_sph_geo.cpp212 ct area2 = bg::area(geometry); in test_spherical_geo() local
215 BOOST_CHECK_CLOSE(area1, area2, 0.001); in test_spherical_geo()
216 BOOST_CHECK_CLOSE(area2, area3, 0.001); in test_spherical_geo()
222 area2 = bg::area(geometry_geo, area_geographic); in test_spherical_geo()
225 BOOST_CHECK_CLOSE(area1, area2, 0.001); in test_spherical_geo()
226 BOOST_CHECK_CLOSE(area2, area3, 0.001); in test_spherical_geo()
236 ct area2 = bg::area(geometry); in test_spherical_geo() local
239 BOOST_CHECK_CLOSE(area1, area2, 0.001); in test_spherical_geo()
240 BOOST_CHECK_CLOSE(area2, area3, 0.001); in test_spherical_geo()
246 area2 = bg::area(geometry_geo, area_geographic); in test_spherical_geo()
[all …]
Darea.cpp99 ct area2 = bg::area(ccw_polygon); in test_ccw() local
104 BOOST_CHECK_CLOSE(area1, -1 * area2, 0.001); in test_ccw()
138 ct area2 = bg::area(polygon); in test_poles_ccw() local
143 BOOST_CHECK_CLOSE(area1, -1 * area2, 0.001); in test_poles_ccw()
/third_party/boost/libs/geometry/test/algorithms/overlay/
Dtraverse_ccw.cpp224 T area2 = intersect<counter, counter>(wkt1, wkt2, name, ov::operation_intersection); in test_polygon() local
227 BOOST_CHECK_CLOSE(area1, area2, 0.001); in test_polygon()
230 BOOST_CHECK_CLOSE(area2, area4, 0.001); in test_polygon()
233 area2 = intersect<counter, counter>(wkt1, wkt2, name, ov::operation_union); in test_polygon()
236 BOOST_CHECK_CLOSE(area1, area2, 0.001); in test_polygon()
239 BOOST_CHECK_CLOSE(area2, area4, 0.001); in test_polygon()
252 T area2 = intersect<box, counter>(wkt1, wkt2, name + "_bp", ov::operation_intersection); in test_box_polygon() local
255 BOOST_CHECK_CLOSE(area1, area2, 0.001); in test_box_polygon()
258 BOOST_CHECK_CLOSE(area2, area4, 0.001); in test_box_polygon()
261 area2 = intersect<box, counter>(wkt1, wkt2, name + "_bp", ov::operation_union); in test_box_polygon()
[all …]
/third_party/boost/libs/geometry/test/algorithms/set_operations/difference/
Ddifference_multi.cpp27 #define TEST_DIFFERENCE(caseid, clips1, area1, clips2, area2, clips3) \ argument
29 ( #caseid, caseid[0], caseid[1], clips1, -1, area1, clips2, -1, area2, \
30 clips3, -1, area1 + area2)
32 #define TEST_DIFFERENCE_IGNORE(caseid, clips1, area1, clips2, area2, clips3) \ argument
35 ( #caseid, caseid[0], caseid[1], clips1, -1, area1, clips2, -1, area2, \
36 clips3, -1, area1 + area2, ignore_validity); }
39 clips2, area2, clips3) \ argument
43 clips2, -1, area2, \
44 clips3, -1, area1 + area2, settings)
Ddifference.cpp39 #define TEST_DIFFERENCE(caseid, clips1, area1, clips2, area2, clips3) \ argument
41 ( #caseid, caseid[0], caseid[1], clips1, -1, area1, clips2, -1, area2, \
42 clips3, -1, area1 + area2)
44 #define TEST_DIFFERENCE_WITH(caseid, clips1, area1, clips2, area2, clips3) \ argument
46 ( #caseid, caseid[0], caseid[1], clips1, -1, area1, clips2, -1, area2, \
47 clips3, -1, area1 + area2, settings)
/third_party/ffmpeg/libavcodec/
Dintrax8dsp.c44 #define area2 (8) macro
99 dst[area2 + i] = c; in x8_setup_spatial_compensation()
173 a = src[area2 + 7 - i] << 4; in spatial_compensation_0()
266 dst[x] = src[area2 + 9 + 2 * x - y]; in spatial_compensation_5()
294 dst[x] = src[area2 + 8 - y + (x >> 1)]; in spatial_compensation_7()
306 dst[x] = (src[area1 + 7 - y] + src[area2 + 7 - y] + 1) >> 1; in spatial_compensation_8()
317 dst[x] = src[area2 + 6 - FFMIN(x + y, 6)]; in spatial_compensation_9()
328 dst[x] = (src[area2 + 7 - y] * (8 - x) + src[area4 + x] * x + 4) >> 3; in spatial_compensation_10()
339 dst[x] = (src[area2 + 7 - y] * y + src[area4 + x] * (8 - y) + 4) >> 3; in spatial_compensation_11()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Diou_impl.cu52 …float area2 = (location_coordinate[1][2] - location_coordinate[1][0] + offset) * (location_coordin… in IOUKernel() local
55 iou_results[i] = static_cast<T>(overlaps / (area1 + area2 - overlaps + epsilon)); in IOUKernel()
57 iou_results[i] = static_cast<T>(overlaps / (area2 + epsilon)); in IOUKernel()
Dnms_with_mask_impl.cu92 …T area2 = (output[box_B_start + 2] - output[box_B_start + 0]) * (output[box_B_start + 3] - output[… in IouDecision() local
94 T combined_area = area1 + area2; in IouDecision()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Diou_cpu_kernel.cc87 T area2 = (gt_boxes[idx2 + X1_SHIFT] - gt_boxes[idx2] + ONE) * in Launch() local
90 iou_score[i] = overlaps / (area1 + area2 - overlaps + EPS); in Launch()
92 iou_score[i] = overlaps / (area2 + EPS); in Launch()
Dnms_with_mask_cpu_kernel.cc150 T area2 = (output[box_B_start + X2_OFFSET] - output[box_B_start + X1_OFFSET]) * in IouDecision() local
153 T combined_area = area1 + area2; in IouDecision()
/third_party/typescript/tests/baselines/reference/
DdiscriminatedUnionTypes1.js35 function area2(s: Shape) { function
160 function area2(s) {
DdiscriminatedUnionTypes1.types94 function area2(s: Shape) {
95 >area2 : (s: Shape) => number
DdiscriminatedUnionTypes1.errors.txt38 function area2(s: Shape) {
DdiscriminatedUnionTypes1.symbols93 function area2(s: Shape) {
94 >area2 : Symbol(area2, Decl(discriminatedUnionTypes1.ts, 31, 1))
/third_party/typescript/tests/cases/conformance/types/union/
DdiscriminatedUnionTypes1.ts34 function area2(s: Shape) { function
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/
Ddataset.py57 area2 = (bboxes2[:, 2] - bboxes2[:, 0] + 1) * (bboxes2[:, 3] - bboxes2[:, 1] + 1)
66 union = area1[i] + area2 - overlap
68 union = area1[i] if not exchange else area2
/third_party/python/Doc/howto/
Dlogging-cookbook.rst240 logger2 = logging.getLogger('myapp.area2')
253 myapp.area2 : WARNING Jail zesty vixen who grabbed pay from quack.
254 myapp.area2 : ERROR The five boxing wizards jump quickly.
263 10-22 22:19 myapp.area2 WARNING Jail zesty vixen who grabbed pay from quack.
264 10-22 22:19 myapp.area2 ERROR The five boxing wizards jump quickly.
430 logger2 = logging.getLogger('myapp.area2')
534 69 myapp.area2 WARNING Jail zesty vixen who grabbed pay from quack.
535 69 myapp.area2 ERROR The five boxing wizards jump quickly.