/dports/devel/godot2/godot-2.1.6-stable/servers/physics_2d/ |
H A D | area_pair_2d_sw.cpp | 111 shape_a != -1 && shape_b != -1 && in setup() 119 area_b->add_area_to_query(area_a, shape_a, shape_b); in setup() 122 area_a->add_area_to_query(area_b, shape_b, shape_a); in setup() 127 area_b->remove_area_from_query(area_a, shape_a, shape_b); in setup() 145 if (shape_a == p_removed_index) in shift_shape_indices() 146 shape_a = -1; in shift_shape_indices() 147 else if (shape_a > p_removed_index) in shift_shape_indices() 148 shape_a--; in shift_shape_indices() 161 shape_a = p_shape_a; in Area2Pair2DSW() 173 area_b->remove_area_from_query(area_a, shape_a, shape_b); in ~Area2Pair2DSW() [all …]
|
/dports/devel/godot2-tools/godot-2.1.6-stable/servers/physics_2d/ |
H A D | area_pair_2d_sw.cpp | 111 shape_a != -1 && shape_b != -1 && in setup() 119 area_b->add_area_to_query(area_a, shape_a, shape_b); in setup() 122 area_a->add_area_to_query(area_b, shape_b, shape_a); in setup() 127 area_b->remove_area_from_query(area_a, shape_a, shape_b); in setup() 145 if (shape_a == p_removed_index) in shift_shape_indices() 146 shape_a = -1; in shift_shape_indices() 147 else if (shape_a > p_removed_index) in shift_shape_indices() 148 shape_a--; in shift_shape_indices() 161 shape_a = p_shape_a; in Area2Pair2DSW() 173 area_b->remove_area_from_query(area_a, shape_a, shape_b); in ~Area2Pair2DSW() [all …]
|
/dports/devel/godot2-tools/godot-2.1.6-stable/servers/physics/ |
H A D | area_pair_sw.cpp | 112 shape_a != -1 && shape_b != -1 && in setup() 121 area_b->add_area_to_query(area_a, shape_a, shape_b); in setup() 124 area_a->add_area_to_query(area_b, shape_b, shape_a); in setup() 129 area_b->remove_area_from_query(area_a, shape_a, shape_b); in setup() 147 if (shape_a == p_removed_index) in shift_shape_indices() 148 shape_a = -1; in shift_shape_indices() 149 else if (shape_a > p_removed_index) in shift_shape_indices() 150 shape_a--; in shift_shape_indices() 163 shape_a = p_shape_a; in Area2PairSW() 175 area_b->remove_area_from_query(area_a, shape_a, shape_b); in ~Area2PairSW() [all …]
|
/dports/devel/godot2/godot-2.1.6-stable/servers/physics/ |
H A D | area_pair_sw.cpp | 112 shape_a != -1 && shape_b != -1 && in setup() 121 area_b->add_area_to_query(area_a, shape_a, shape_b); in setup() 124 area_a->add_area_to_query(area_b, shape_b, shape_a); in setup() 129 area_b->remove_area_from_query(area_a, shape_a, shape_b); in setup() 147 if (shape_a == p_removed_index) in shift_shape_indices() 148 shape_a = -1; in shift_shape_indices() 149 else if (shape_a > p_removed_index) in shift_shape_indices() 150 shape_a--; in shift_shape_indices() 163 shape_a = p_shape_a; in Area2PairSW() 175 area_b->remove_area_from_query(area_a, shape_a, shape_b); in ~Area2PairSW() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/servers/physics/ |
H A D | area_pair_sw.cpp | 101 if (area_a->is_shape_set_as_disabled(shape_a) || area_b->is_shape_set_as_disabled(shape_b)) { in setup() 103 …SolverSW::solve_static(area_a->get_shape(shape_a), area_a->get_transform() * area_a->get_shape_tra… in setup() 112 area_b->add_area_to_query(area_a, shape_a, shape_b); in setup() 115 area_a->add_area_to_query(area_b, shape_b, shape_a); in setup() 120 area_b->remove_area_from_query(area_a, shape_a, shape_b); in setup() 123 area_a->remove_area_from_query(area_b, shape_b, shape_a); in setup() 139 shape_a = p_shape_a; in Area2PairSW() 151 area_b->remove_area_from_query(area_a, shape_a, shape_b); in ~Area2PairSW() 154 area_a->remove_area_from_query(area_b, shape_b, shape_a); in ~Area2PairSW()
|
/dports/devel/godot/godot-3.2.3-stable/servers/physics/ |
H A D | area_pair_sw.cpp | 101 if (area_a->is_shape_set_as_disabled(shape_a) || area_b->is_shape_set_as_disabled(shape_b)) { in setup() 103 …SolverSW::solve_static(area_a->get_shape(shape_a), area_a->get_transform() * area_a->get_shape_tra… in setup() 112 area_b->add_area_to_query(area_a, shape_a, shape_b); in setup() 115 area_a->add_area_to_query(area_b, shape_b, shape_a); in setup() 120 area_b->remove_area_from_query(area_a, shape_a, shape_b); in setup() 123 area_a->remove_area_from_query(area_b, shape_b, shape_a); in setup() 139 shape_a = p_shape_a; in Area2PairSW() 151 area_b->remove_area_from_query(area_a, shape_a, shape_b); in ~Area2PairSW() 154 area_a->remove_area_from_query(area_b, shape_b, shape_a); in ~Area2PairSW()
|
/dports/devel/godot/godot-3.2.3-stable/servers/physics_2d/ |
H A D | area_pair_2d_sw.cpp | 101 if (area_a->is_shape_set_as_disabled(shape_a) || area_b->is_shape_set_as_disabled(shape_b)) { in setup() 103 …isionSolver2DSW::solve(area_a->get_shape(shape_a), area_a->get_transform() * area_a->get_shape_tra… in setup() 112 area_b->add_area_to_query(area_a, shape_a, shape_b); in setup() 115 area_a->add_area_to_query(area_b, shape_b, shape_a); in setup() 120 area_b->remove_area_from_query(area_a, shape_a, shape_b); in setup() 123 area_a->remove_area_from_query(area_b, shape_b, shape_a); in setup() 139 shape_a = p_shape_a; in Area2Pair2DSW() 151 area_b->remove_area_from_query(area_a, shape_a, shape_b); in ~Area2Pair2DSW() 154 area_a->remove_area_from_query(area_b, shape_b, shape_a); in ~Area2Pair2DSW()
|
/dports/devel/godot-tools/godot-3.2.3-stable/servers/physics_2d/ |
H A D | area_pair_2d_sw.cpp | 101 if (area_a->is_shape_set_as_disabled(shape_a) || area_b->is_shape_set_as_disabled(shape_b)) { in setup() 103 …isionSolver2DSW::solve(area_a->get_shape(shape_a), area_a->get_transform() * area_a->get_shape_tra… in setup() 112 area_b->add_area_to_query(area_a, shape_a, shape_b); in setup() 115 area_a->add_area_to_query(area_b, shape_b, shape_a); in setup() 120 area_b->remove_area_from_query(area_a, shape_a, shape_b); in setup() 123 area_a->remove_area_from_query(area_b, shape_b, shape_a); in setup() 139 shape_a = p_shape_a; in Area2Pair2DSW() 151 area_b->remove_area_from_query(area_a, shape_a, shape_b); in ~Area2Pair2DSW() 154 area_a->remove_area_from_query(area_b, shape_b, shape_a); in ~Area2Pair2DSW()
|
/dports/math/py-theano/Theano-1.0.5/theano/tensor/ |
H A D | fourier.py | 79 shape_a = in_shapes[0] 82 if len(shape_a) == 1: 85 out_shape = (list(shape_a[0: axis.data.item()]) + [n] + 86 list(shape_a[axis.data + 1:])) 88 l = len(shape_a) 89 shape_a = tensor.stack(shape_a) 90 out_shape = tensor.concatenate((shape_a[0: axis], [n], 91 shape_a[axis + 1:]))
|
/dports/graphics/libgnomecanvas/libgnomecanvas-2.30.3/demos/ |
H A D | canvas-arrowhead.c | 56 int shape_a, shape_b, shape_c; in set_arrow_shape() local 77 points->coords[0] = RIGHT - 10 * shape_a; in set_arrow_shape() 99 RIGHT - 10 * shape_a, in set_arrow_shape() 118 RIGHT - 10 * shape_a, in set_arrow_shape() 122 RIGHT - 10 * shape_a / 2.0, in set_arrow_shape() 124 shape_a); in set_arrow_shape() 169 "arrow_shape_a", (double) shape_a, in set_arrow_shape() 175 "arrow_shape_a", (double) shape_a, in set_arrow_shape() 271 int shape_a; in shape_a_event() local 277 shape_a = (RIGHT - x) / 10; in shape_a_event() [all …]
|
/dports/graphics/goocanvas/goocanvas-1.0.0/demo/ |
H A D | mv-demo-arrowhead.c | 57 int shape_a, shape_b, shape_c; in set_arrow_shape() local 70 "arrow-tip-length", (double) (shape_a), in set_arrow_shape() 100 RIGHT - 10 * shape_a * width, in set_arrow_shape() 119 RIGHT - 10 * shape_a * width, in set_arrow_shape() 123 RIGHT - 10 * shape_a * width / 2.0, in set_arrow_shape() 125 shape_a); in set_arrow_shape() 170 "arrow-tip-length", (double) shape_a, in set_arrow_shape() 176 "arrow-tip-length", (double) shape_a, in set_arrow_shape() 358 shape_a = (RIGHT - x) / 10 / width; in on_motion() 359 if ((shape_a < 0) || (shape_a > 30)) in on_motion() [all …]
|
H A D | demo-arrowhead.c | 58 int shape_a, shape_b, shape_c; in set_arrow_shape() local 71 "arrow-tip-length", (double) (shape_a), in set_arrow_shape() 101 RIGHT - 10 * shape_a * width, in set_arrow_shape() 120 RIGHT - 10 * shape_a * width, in set_arrow_shape() 124 RIGHT - 10 * shape_a * width / 2.0, in set_arrow_shape() 126 shape_a); in set_arrow_shape() 171 "arrow-tip-length", (double) shape_a, in set_arrow_shape() 177 "arrow-tip-length", (double) shape_a, in set_arrow_shape() 338 shape_a = (RIGHT - x) / 10 / width; in on_motion() 339 if ((shape_a < 0) || (shape_a > 30)) in on_motion() [all …]
|
/dports/graphics/goocanvas3/goocanvas-3.0.0/demo/ |
H A D | demo-arrowhead.c | 58 int shape_a, shape_b, shape_c; in set_arrow_shape() local 71 "arrow-tip-length", (double) (shape_a), in set_arrow_shape() 101 RIGHT - 10 * shape_a * width, in set_arrow_shape() 120 RIGHT - 10 * shape_a * width, in set_arrow_shape() 124 RIGHT - 10 * shape_a * width / 2.0, in set_arrow_shape() 126 shape_a); in set_arrow_shape() 171 "arrow-tip-length", (double) shape_a, in set_arrow_shape() 177 "arrow-tip-length", (double) shape_a, in set_arrow_shape() 340 shape_a = (RIGHT - x) / 10 / width; in on_motion() 341 if ((shape_a < 0) || (shape_a > 30)) in on_motion() [all …]
|
H A D | mv-demo-arrowhead.c | 57 int shape_a, shape_b, shape_c; in set_arrow_shape() local 70 "arrow-tip-length", (double) (shape_a), in set_arrow_shape() 100 RIGHT - 10 * shape_a * width, in set_arrow_shape() 119 RIGHT - 10 * shape_a * width, in set_arrow_shape() 123 RIGHT - 10 * shape_a * width / 2.0, in set_arrow_shape() 125 shape_a); in set_arrow_shape() 170 "arrow-tip-length", (double) shape_a, in set_arrow_shape() 176 "arrow-tip-length", (double) shape_a, in set_arrow_shape() 360 shape_a = (RIGHT - x) / 10 / width; in on_motion() 361 if ((shape_a < 0) || (shape_a > 30)) in on_motion() [all …]
|
/dports/graphics/goocanvas2/goocanvas-2.0.4/demo/ |
H A D | demo-arrowhead.c | 58 int shape_a, shape_b, shape_c; in set_arrow_shape() local 71 "arrow-tip-length", (double) (shape_a), in set_arrow_shape() 101 RIGHT - 10 * shape_a * width, in set_arrow_shape() 120 RIGHT - 10 * shape_a * width, in set_arrow_shape() 124 RIGHT - 10 * shape_a * width / 2.0, in set_arrow_shape() 126 shape_a); in set_arrow_shape() 171 "arrow-tip-length", (double) shape_a, in set_arrow_shape() 177 "arrow-tip-length", (double) shape_a, in set_arrow_shape() 340 shape_a = (RIGHT - x) / 10 / width; in on_motion() 341 if ((shape_a < 0) || (shape_a > 30)) in on_motion() [all …]
|
H A D | mv-demo-arrowhead.c | 57 int shape_a, shape_b, shape_c; in set_arrow_shape() local 70 "arrow-tip-length", (double) (shape_a), in set_arrow_shape() 100 RIGHT - 10 * shape_a * width, in set_arrow_shape() 119 RIGHT - 10 * shape_a * width, in set_arrow_shape() 123 RIGHT - 10 * shape_a * width / 2.0, in set_arrow_shape() 125 shape_a); in set_arrow_shape() 170 "arrow-tip-length", (double) shape_a, in set_arrow_shape() 176 "arrow-tip-length", (double) shape_a, in set_arrow_shape() 360 shape_a = (RIGHT - x) / 10 / width; in on_motion() 361 if ((shape_a < 0) || (shape_a > 30)) in on_motion() [all …]
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tutorials/optimize/ |
H A D | opt_matmul_auto_tensorcore.py | 112 shape_a = (N, L) 115 shape_a = (L, N) 118 shape_a = (N, L) 121 shape_a = (L, N) 126 A = te.placeholder(shape_a, name="A", dtype=dtype) 310 shape_a = (N, L) 313 shape_a = (L, N) 316 shape_a = (N, L) 319 shape_a = (L, N) 328 a_np = np.random.uniform(size=shape_a).astype(np.float16) [all …]
|
/dports/misc/tvm/incubator-tvm-0.6.1/tutorials/optimize/ |
H A D | opt_matmul_auto_tensorcore.py | 99 shape_a = (N, L) 102 shape_a = (L, N) 105 shape_a = (N, L) 108 shape_a = (L, N) 113 A = tvm.placeholder(shape_a, name='A', dtype=dtype) 269 shape_a = (N, L) 272 shape_a = (L, N) 275 shape_a = (N, L) 278 shape_a = (L, N) 287 a_np = np.random.uniform(size=shape_a).astype(np.float16) [all …]
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/tutorials/optimize/ |
H A D | opt_matmul_auto_tensorcore.py | 99 shape_a = (N, L) 102 shape_a = (L, N) 105 shape_a = (N, L) 108 shape_a = (L, N) 113 A = tvm.placeholder(shape_a, name='A', dtype=dtype) 269 shape_a = (N, L) 272 shape_a = (L, N) 275 shape_a = (N, L) 278 shape_a = (L, N) 287 a_np = np.random.uniform(size=shape_a).astype(np.float16) [all …]
|
/dports/devel/py-tinyarray/tinyarray-1.2.4/src/ |
H A D | arithmetic.cc | 31 size_t *shape_a, *shape_b; in array_scalar_product() local 32 a->ndim_shape(&ndim_a, &shape_a); in array_scalar_product() 36 size_t n = shape_a[0]; in array_scalar_product() 67 size_t *shape_a, *shape_b; in array_matrix_product() local 68 a->ndim_shape(&ndim_a, &shape_a); in array_matrix_product() 79 const size_t n = shape_a[ndim_a - 1]; in array_matrix_product() 84 a0 *= shape[d++] = shape_a[id]; in array_matrix_product() 141 size_t *shape_a, *shape_b; in apply_binary_ufunc() local 142 reinterpret_cast<Array_base*>(a)->ndim_shape(&ndim_a, &shape_a); in apply_binary_ufunc() 151 size_t ext_a = d_a >= 0 ? shape_a[d_a] : 1; in apply_binary_ufunc() [all …]
|
/dports/x11-wm/mutter/mutter-41.1/src/compositor/ |
H A D | meta-window-shape.c | 190 meta_window_shape_equal (MetaWindowShape *shape_a, in meta_window_shape_equal() argument 193 if (shape_a->n_rectangles != shape_b->n_rectangles) in meta_window_shape_equal() 196 return memcmp (shape_a->rectangles, shape_b->rectangles, in meta_window_shape_equal() 197 sizeof (cairo_rectangle_int_t) * shape_a->n_rectangles) == 0; in meta_window_shape_equal()
|
/dports/x11-wm/muffin/muffin-4.8.0/src/compositor/ |
H A D | meta-window-shape.c | 191 meta_window_shape_equal (MetaWindowShape *shape_a, in meta_window_shape_equal() argument 194 if (shape_a->n_rectangles != shape_b->n_rectangles) in meta_window_shape_equal() 197 return memcmp (shape_a->rectangles, shape_b->rectangles, in meta_window_shape_equal() 198 sizeof (cairo_rectangle_int_t) * shape_a->n_rectangles) == 0; in meta_window_shape_equal()
|
/dports/graphics/libgnomecanvas/libgnomecanvas-2.30.3/libgnomecanvas/ |
H A D | gnome-canvas-line.c | 281 line->shape_a = 0.0; in gnome_canvas_line_init() 434 double shape_a, shape_b, shape_c; in reconfigure_arrows() local 483 shape_a = line->shape_a; in reconfigure_arrows() 488 shape_a /= line->item.canvas->pixels_per_unit; in reconfigure_arrows() 493 shape_a += 0.001; in reconfigure_arrows() 519 vx = poly[0] - shape_a * cos_theta; in reconfigure_arrows() 520 vy = poly[1] - shape_a * sin_theta; in reconfigure_arrows() 563 vx = poly[0] - shape_a * cos_theta; in reconfigure_arrows() 564 vy = poly[1] - shape_a * sin_theta; in reconfigure_arrows() 786 line->shape_a = fabs (g_value_get_double (value)); in gnome_canvas_line_set_property() [all …]
|
/dports/devel/p5-Goo-Canvas/Goo-Canvas-0.06/demo/ |
H A D | demo.pl | 865 $canvas->{shape_a} = DEFAULT_SHAPE_A; 936 my $shape_a = $canvas->{shape_a}; 942 'arrow-tip-length' => $shape_a, 976 RIGHT - 10 * $shape_a * $width, 980 RIGHT - 10 * $shape_a * $width / 2.0, 982 $shape_a); 1006 $shape_a) 1020 "arrow-tip-length" => $shape_a, 1114 $shape_a = (RIGHT-$x)/10/$width; 1115 if ( ($shape_a < 0) || ($shape_a>30) ) { [all …]
|
H A D | mv-demo.pl | 854 $canvas->{shape_a} = DEFAULT_SHAPE_A; 927 my $shape_a = $canvas->{shape_a}; 933 'arrow-tip-length' => $shape_a, 967 RIGHT - 10 * $shape_a * $width, 971 RIGHT - 10 * $shape_a * $width / 2.0, 973 $shape_a); 997 $shape_a) 1011 "arrow-tip-length" => $shape_a, 1108 $shape_a = (RIGHT-$x)/10/$width; 1109 if ( ($shape_a < 0) || ($shape_a>30) ) { [all …]
|