/dports/math/py-cvxpy/cvxpy-1.1.17/cvxpy/cvxcore/src/ |
H A D | LinOpOperations.cpp | 358 int arg_rows = (arg.get_shape().size() >= 2) ? arg.get_shape()[0] : 1; in get_vstack_mat() 360 ? arg.get_shape()[arg.get_shape().size() - 1] in get_vstack_mat() 367 (prev_arg.get_shape().size() >= 2) ? prev_arg.get_shape()[0] : 1; in get_vstack_mat() 378 Matrix coeff(vecprod(lin.get_shape()), vecprod(arg.get_shape())); in get_vstack_mat() 398 int arg_rows = (arg.get_shape().size() >= 1) ? arg.get_shape()[0] : 1; in get_hstack_mat() 399 int arg_cols = (arg.get_shape().size() >= 2) ? arg.get_shape()[1] : 1; in get_hstack_mat() 414 Matrix coeff(vecprod(lin.get_shape()), vecprod(arg.get_shape())); in get_hstack_mat() 435 int rows = lin.get_shape()[0]; in get_conv_mat() 508 int rows = lin.get_shape()[0]; in get_diag_matrix_mat() 1086 unsigned m = (lin.get_shape().size() >= 1) ? lin.get_shape()[0] : 1; in get_param_coeffs() [all …]
|
/dports/devel/godot2/godot-2.1.6-stable/editor/plugins/ |
H A D | collision_shape_2d_editor_plugin.cpp | 74 Ref<LineShape2D> line = node->get_shape(); in get_handle_value() 85 Ref<RayShape2D> ray = node->get_shape(); in get_handle_value() 103 Ref<SegmentShape2D> seg = node->get_shape(); in get_handle_value() 155 Ref<LineShape2D> line = node->get_shape(); in set_handle() 169 Ref<RayShape2D> ray = node->get_shape(); in set_handle() 250 Ref<LineShape2D> line = node->get_shape(); in commit_handle() 267 Ref<RayShape2D> ray = node->get_shape(); in commit_handle() 312 if (!node->get_shape().is_valid()) { in forward_input_event() 393 Ref<Shape2D> s = node->get_shape(); in _get_current_shape_type() 428 if (!node->get_shape().is_valid()) { in _canvas_draw() [all …]
|
/dports/devel/godot2-tools/godot-2.1.6-stable/editor/plugins/ |
H A D | collision_shape_2d_editor_plugin.cpp | 74 Ref<LineShape2D> line = node->get_shape(); in get_handle_value() 85 Ref<RayShape2D> ray = node->get_shape(); in get_handle_value() 103 Ref<SegmentShape2D> seg = node->get_shape(); in get_handle_value() 155 Ref<LineShape2D> line = node->get_shape(); in set_handle() 169 Ref<RayShape2D> ray = node->get_shape(); in set_handle() 250 Ref<LineShape2D> line = node->get_shape(); in commit_handle() 267 Ref<RayShape2D> ray = node->get_shape(); in commit_handle() 312 if (!node->get_shape().is_valid()) { in forward_input_event() 393 Ref<Shape2D> s = node->get_shape(); in _get_current_shape_type() 428 if (!node->get_shape().is_valid()) { in _canvas_draw() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/editor/plugins/ |
H A D | collision_shape_2d_editor_plugin.cpp | 81 Ref<LineShape2D> line = node->get_shape(); in get_handle_value() 92 Ref<RayShape2D> ray = node->get_shape(); in get_handle_value() 110 Ref<SegmentShape2D> seg = node->get_shape(); in get_handle_value() 162 Ref<LineShape2D> line = node->get_shape(); in set_handle() 176 Ref<RayShape2D> ray = node->get_shape(); in set_handle() 216 node->get_shape()->_change_notify(); in set_handle() 260 Ref<LineShape2D> line = node->get_shape(); in commit_handle() 277 Ref<RayShape2D> ray = node->get_shape(); in commit_handle() 322 if (!node->get_shape().is_valid()) { in forward_canvas_gui_input() 398 Ref<Shape2D> s = node->get_shape(); in _get_current_shape_type() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/editor/plugins/ |
H A D | collision_shape_2d_editor_plugin.cpp | 81 Ref<LineShape2D> line = node->get_shape(); in get_handle_value() 92 Ref<RayShape2D> ray = node->get_shape(); in get_handle_value() 110 Ref<SegmentShape2D> seg = node->get_shape(); in get_handle_value() 162 Ref<LineShape2D> line = node->get_shape(); in set_handle() 176 Ref<RayShape2D> ray = node->get_shape(); in set_handle() 216 node->get_shape()->_change_notify(); in set_handle() 260 Ref<LineShape2D> line = node->get_shape(); in commit_handle() 277 Ref<RayShape2D> ray = node->get_shape(); in commit_handle() 322 if (!node->get_shape().is_valid()) { in forward_canvas_gui_input() 398 Ref<Shape2D> s = node->get_shape(); in _get_current_shape_type() [all …]
|
/dports/math/py-fvcore/fvcore-0.1.5.post20210924/fvcore/nn/ |
H A D | jit_handles.py | 18 def get_shape(val: Any) -> Optional[List[int]]: function 67 out_shape = get_shape(outputs[0]) 83 input_shapes = [get_shape(v) for v in inputs[1:3]] 115 input_shapes = [get_shape(v) for v in inputs] 154 x_shape, w_shape, out_shape = (get_shape(x), get_shape(w), get_shape(outputs[0])) 208 input_shapes = [get_shape(v) for v in inputs] 226 input_shape = get_shape(inputs[0]) 241 has_affine = get_shape(inputs[1]) is not None 242 input_shape = prod(get_shape(inputs[0])) 259 shape = get_shape(inputs[0]) [all …]
|
/dports/games/exult/exult-snapshot-v1.7.0.20211128/gumps/ |
H A D | Gump.cc | 63 Shape_frame *shape = get_shape(); in Gump() 100 Shape_frame *shape = get_shape(); in set_pos() 127 const Shape_frame *s = obj->get_shape(); in get_shape_rect() 170 s = obj->get_shape(); in find_object() 261 Shape_frame *shape = obj->get_shape(); in add() 356 Shape_frame *shape = obj->get_shape(); in paint() 413 Shape_frame *s = get_shape(); in has_point() 423 Shape_frame *s = get_shape(); in get_rect() 439 if (shnum == game->get_shape("gumps/box")) { in initialize() 445 } else if (shnum == game->get_shape("gumps/bag")) { in initialize() [all …]
|
H A D | misc_buttons.cc | 38 : Gump_button(par, game->get_shape("gumps/check"), px, py) { in Checkmark_button() 59 : Gump_button(par, game->get_shape("gumps/heart"), px, py) { in Heart_button() 70 gumpman->add_gump(parent->get_container(), game->get_shape("gumps/statsdisplay")); in activate() 79 : Gump_button(par, game->get_shape("gumps/disk"), px, py) { in Disk_button() 101 : Gump_button(par, game->get_shape("gumps/combat"), in Combat_button() 135 : Gump_button(par, game->get_shape("gumps/halo"), px, py), actor(a) { in Halo_button() 170 : Gump_button(par, game->get_shape("gumps/combatmode"), px, py), in Combat_mode_button() 199 : Gump_button(par, game->get_shape("gumps/combat_stats"), px, py) in Cstats_button() 213 gumpman->add_gump(nullptr, game->get_shape("gumps/cstats/1") + cnt); in activate()
|
H A D | Sign_gump.cc | 44 shapenum = game->get_shape("gumps/goldsign"); in Sign_gump() 49 if (shapenum == game->get_shape("gumps/woodsign")) { in Sign_gump() 51 } else if (shapenum == game->get_shape("gumps/tombstone")) { in Sign_gump() 53 } else if (shapenum == game->get_shape("gumps/goldsign")) { in Sign_gump() 58 } else if (shapenum == game->get_shape("gumps/scroll")) in Sign_gump() 116 if (get_shapenum() == game->get_shape("gumps/goldsign")) { in paint() 123 else if (get_shapenum() == game->get_shape("gumps/tombstone")) in paint()
|
H A D | File_gump.cc | 73 game->get_shape("gumps/quitbtn"), px, py) in Quit_button() 102 if (get_shapenum() == game->get_shape("gumps/loadbtn")) in activate() 153 ShapeID(shnum, 0, SF_GUMPS_VGA).get_shape(); in Gump_text() 304 ) : Modal_gump(nullptr, game->get_shape("gumps/fileio")) { in File_gump() 311 game->get_shape("gumps/fntext"), in File_gump() 320 game->get_shape("gumps/musicbtn"), in File_gump() 323 game->get_shape("gumps/speechbtn"), in File_gump() 326 game->get_shape("gumps/soundbtn"), in File_gump() 556 btn_cols[0], btn_rows[0], game->get_shape("gumps/loadbtn")); in mouse_up() 559 btn_cols[1], btn_rows[0], game->get_shape("gumps/savebtn")); in mouse_up() [all …]
|
H A D | Jawbone_gump.cc | 43 ) : Gump(cont, initx, inity, game->get_shape("gumps/jawbone")), in Jawbone_gump() 75 ShapeID shape(game->get_shape("gumps/tooth"), index, SF_GUMPS_VGA); in paint_tooth() 110 ShapeID sid(game->get_shape("gumps/tooth"), index, SF_GUMPS_VGA); in on_tooth() 111 Shape_frame *shape = sid.get_shape(); in on_tooth() 124 Shape_frame *shape = obj->get_shape(); in set_to_spot()
|
H A D | Slider_gump.cc | 99 ) : Modal_gump(nullptr, game->get_shape("gumps/slider")), in Slider_gump() 102 diamond = ShapeID(game->get_shape("gumps/slider_diamond"), 0, SF_GUMPS_VGA); in Slider_gump() 109 game->get_shape("gumps/slider_left"), true)); in Slider_gump() 111 game->get_shape("gumps/slider_right"), false)); in Slider_gump() 187 Shape_frame *d_shape = diamond.get_shape(); in mouse_down()
|
/dports/games/exult/exult-snapshot-v1.7.0.20211128/gamemgr/ |
H A D | bggame.cc | 813 Shape_frame *s = shapes.get_shape(0x21, 0); in scene_guardian() 827 Shape_frame *s = shapes.get_shape(0x22, 0); in scene_guardian() 841 Shape_frame *s = shapes.get_shape(0x23, 0); in scene_guardian() 932 shapes.get_shape(shnum, frnum)); in scene_guardian() 1015 Shape_frame *s = shapes.get_shape(0x23, 0); in scene_guardian() 1053 Shape_frame *s = shapes.get_shape(0x14, 0); in scene_guardian() 1415 shapes.get_shape(0x02, 0)); in scene_moongate() 1417 shapes.get_shape(0x03, 0)); in scene_moongate() 1419 shapes.get_shape(0x04, 0)); in scene_moongate() 1421 shapes.get_shape(0x05, 0)); in scene_moongate() [all …]
|
/dports/lang/gnu-apl/apl-1.8/src/ |
H A D | ScalarFunction.cc | 145 Value_P Z(B->get_shape(), LOC); in do_scalar_B() 202 Value_P Z1(B1->get_shape(), LOC); in do_scalar_B() 677 Value_P Z(B->get_shape(), LOC); in eval_fill_AB() 694 Value_P Z(A->get_shape(), LOC); in eval_fill_AB() 730 Value_P Z(B->get_shape(), LOC); in eval_fill_B() 760 if (!FI0->is_scalar()) Q1(FI0->get_shape()) in eval_scalar_identity_fun() 762 const Shape shape_Z = B->get_shape().without_axis(axis); in eval_scalar_identity_fun() 870 Shape weight_A = A->get_shape().reverse_scan(); in eval_scalar_AXB() 872 Value_P Z(B->get_shape(), LOC); in eval_scalar_AXB() 908 Value_P Z(B->get_shape(), LOC); in eval_AB() [all …]
|
H A D | Bif_OPER2_RANK.cc | 70 const Shape shape_Z = B->get_shape().high_shape(B->get_rank() - rank_chunk_B); in do_LyXB() 76 Z->set_shape(B->get_shape()); in do_LyXB() 81 const Shape shape_B = B->get_shape().low_shape(rank_chunk_B); in do_LyXB() 153 const Shape shape_Z = rk_B_frame ? B->get_shape().high_shape(rk_B_frame) in do_ALyXB() 154 : A->get_shape().high_shape(rk_A_frame); in do_ALyXB() 159 if (shape_Z != A->get_shape().high_shape(rk_A_frame)) LENGTH_ERROR; in do_ALyXB() 168 if (A->is_empty()) shape_Z = A->get_shape(); in do_ALyXB() 171 if (B->is_empty()) shape_Z = B->get_shape(); in do_ALyXB() 182 const Shape low_A = A->get_shape().low_shape(rank_chunk_A); in do_ALyXB() 183 const Shape low_B = B->get_shape().low_shape(rank_chunk_B); in do_ALyXB()
|
H A D | Bif_OPER1_EACH.cc | 60 if (A->is_empty()) shape_Z = A->get_shape(); in eval_ALB() 63 if (B->is_empty()) shape_Z = B->get_shape(); in eval_ALB() 125 if (LO->has_result()) Z = Value_P(B->get_shape(), LOC); in eval_ALB() 131 if (LO->has_result()) Z = Value_P(A->get_shape(), LOC); in eval_ALB() 136 if (LO->has_result()) Z = Value_P(A->get_shape(), LOC); in eval_ALB() 197 Z1->set_shape(B->get_shape()); in eval_LB() 201 Value_P Z(B->get_shape(), LOC); in eval_LB() 220 if (LO->has_result()) Z = Value_P(B->get_shape(), LOC); in eval_LB()
|
H A D | Bif_OPER1_SCAN.cc | 41 Shape shape_B = B->get_shape(); in expand() 147 const Shape shape_Z = B->get_shape().without_axis(axis); in scan() 151 const Shape3 shape_Z3(B->get_shape(), axis); in scan() 153 Value_P Z(B->get_shape(), LOC); in scan() 195 const Shape3 Z3(B->get_shape(), axis); in scan() 208 if (B->get_shape().is_empty()) return LO->eval_identity_fun(B, axis); in scan() 210 return Bif_REDUCE::do_reduce(B->get_shape(), Z3, -1, LO, B, m_len); in scan()
|
/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/testsuite/misc-ming.all/loop/ |
H A D | simple_loop_test.c | 37 get_shape(int r, int g, int b) in get_shape() function 65 sh = get_shape(255, 0, 0); in main() 74 sh = get_shape(0, 255, 0); in main() 84 sh = get_shape(0, 0, 255); in main()
|
/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/testsuite/misc-ming.all/ |
H A D | replace_shapes1test.c | 62 SWFShape get_shape(int width, int height, int r, int g, int b); 65 get_shape(int width, int height, int r, int g, int b) in get_shape() function 78 SWFShape sh = get_shape(width, height, r, g, b); in get_static_mc() 129 static1 = get_shape(60, 60, 255, 0, 0); in main() 130 static2 = get_shape(60, 60, 0, 255, 0); in main()
|
/dports/misc/py-onnx-tf/onnx-tf-1.6.0/onnx_tf/handlers/backend/ |
H A D | conv_mixin.py | 29 x_rank = len(x.get_shape()) 30 x_shape = x.get_shape().as_list() 39 weights_rank = len(in_weights.get_shape()) 49 assert in_weights.get_shape().as_list()[2:] == kernel_shape, ( 54 in_weights.get_shape().as_list()) 56 kernel_shape = in_weights.get_shape().as_list()[2:] 112 weights_shape = weights.get_shape().as_list() 164 conv_rs_shape = conv_rs.get_shape().as_list()
|
H A D | broadcast_mixin.py | 23 total_num_dim = len(x.get_shape()) 27 if axis + len(y.get_shape()) == total_num_dim: 30 dims = [axis + i for i in range(len(y.get_shape()))]
|
/dports/devel/godot2/godot-2.1.6-stable/scene/resources/ |
H A D | concave_polygon_shape.cpp | 69 PhysicsServer::get_singleton()->shape_set_data(get_shape(), p_value); in _set() 79 r_ret = PhysicsServer::get_singleton()->shape_get_data(get_shape()); in _get() 94 PhysicsServer::get_singleton()->shape_set_data(get_shape(), p_faces); in set_faces() 100 return PhysicsServer::get_singleton()->shape_get_data(get_shape()); in get_faces()
|
/dports/devel/godot2-tools/godot-2.1.6-stable/scene/resources/ |
H A D | concave_polygon_shape.cpp | 69 PhysicsServer::get_singleton()->shape_set_data(get_shape(), p_value); in _set() 79 r_ret = PhysicsServer::get_singleton()->shape_get_data(get_shape()); in _get() 94 PhysicsServer::get_singleton()->shape_set_data(get_shape(), p_faces); in set_faces() 100 return PhysicsServer::get_singleton()->shape_get_data(get_shape()); in get_faces()
|
/dports/math/py-sympy/sympy-1.9/sympy/tensor/array/expressions/ |
H A D | arrayexpr_derivatives.py | 9 get_shape, ArrayContraction 33 shape_prev = reduce(operator.add, map(get_shape, args_prev), ()) 34 shape_succ = reduce(operator.add, map(get_shape, args_succ), ()) 36 tot1 = len(get_shape(x)) 38 tot3 = tot2 + len(get_shape(arg)) 142 rank_x = len(get_shape(x)) 151 rank_x = len(get_shape(x))
|
/dports/devel/godot-tools/godot-3.2.3-stable/servers/physics/ |
H A D | area_pair_sw.cpp | 40 …verSW::solve_static(body->get_shape(body_shape), body->get_transform() * body->get_shape_transform… in setup() 103 …rSW::solve_static(area_a->get_shape(shape_a), area_a->get_transform() * area_a->get_shape_transfor… in setup()
|