/dports/science/py-OpenFermion/OpenFermion-1.3.0/src/openfermion/transforms/opconversions/ |
H A D | bravyi_kitaev.py | 409 left_pad = x_pad + y_pad + z_pad 433 left_pad = x_pad + y_pad 442 seeley_richard_love_op.append(left_pad + ((j, "Y"), 444 seeley_richard_love_op.append(left_pad + ((j, "X"), 446 seeley_richard_love_op.append(left_pad + ((j, "X"), 448 seeley_richard_love_op.append(left_pad + ((j, "Y"), 469 seeley_richard_love_op.append(left_pad + ((j, "Y"), 490 left_pad = x_pad + y_pad 552 left_pad = tuple( 573 left_pad = x_pad + y_pad [all …]
|
/dports/x11-fonts/roboto-fonts-ttf/roboto-2.134/third_party/spiro/ppedit/ |
H A D | image.c | 118 int left_pad = -src_x0; in render_image() local 121 if (left_pad > x1 - x0) left_pad = x1 - x0; in render_image() 122 if (left_pad > 0) { in render_image() 123 memset(dest_line, 255, 3 * left_pad); in render_image() 124 } else left_pad = 0; in render_image() 127 img_run = x1 - x0 - left_pad; in render_image() 130 memcpy(dest_line + 3 * left_pad, img_line + 3 * img_off, 3 * img_run); in render_image() 132 right_pad = x1 - x0 - left_pad - img_run; in render_image() 134 memset(dest_line + 3 * (left_pad + img_run), 255, 3 * right_pad); in render_image()
|
/dports/math/py-numpy/numpy-1.20.3/numpy/lib/ |
H A D | arraypad.py | 321 left_pad, right_pad = width_pair 331 if left_pad > 0: 343 edge_slice = _slice_at_axis(slice(left_pad, left_pad + 1), axis) 348 stop = left_pad 352 left_pad -= chunk_length 378 return left_pad, right_pad 401 left_pad, right_pad = width_pair 411 if left_pad > 0: 423 if left_pad > period: 425 pad_area = _slice_at_axis(slice(left_pad - period, left_pad), axis) [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/cairo/libpixman/src/ |
H A D | pixman-fast-path.h | 78 int32_t * left_pad, in pad_repeat_get_scanline_bounds() argument 88 *left_pad = *width; in pad_repeat_get_scanline_bounds() 93 *left_pad = (int32_t) tmp; in pad_repeat_get_scanline_bounds() 99 *left_pad = 0; in pad_repeat_get_scanline_bounds() 353 if (left_pad > 0) \ 378 if (left_pad > 0) \ 601 int32_t * left_pad, in bilinear_pad_repeat_get_scanline_bounds() argument 615 *left_pad = left_pad2; in bilinear_pad_repeat_get_scanline_bounds() 782 if (left_pad > 0) \ 788 dst += left_pad; \ [all …]
|
H A D | pixman-inlines.h | 271 int32_t * left_pad, in pad_repeat_get_scanline_bounds() argument 281 *left_pad = *width; in pad_repeat_get_scanline_bounds() 286 *left_pad = (int32_t) tmp; in pad_repeat_get_scanline_bounds() 292 *left_pad = 0; in pad_repeat_get_scanline_bounds() 536 if (left_pad > 0) \ 565 if (left_pad > 0) \ 792 int32_t * left_pad, in bilinear_pad_repeat_get_scanline_bounds() argument 806 *left_pad = left_pad2; in bilinear_pad_repeat_get_scanline_bounds() 1033 if (left_pad > 0) \ 1040 dst += left_pad; \ [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/cairo/libpixman/src/ |
H A D | pixman-fast-path.h | 78 int32_t * left_pad, in pad_repeat_get_scanline_bounds() argument 88 *left_pad = *width; in pad_repeat_get_scanline_bounds() 93 *left_pad = (int32_t) tmp; in pad_repeat_get_scanline_bounds() 99 *left_pad = 0; in pad_repeat_get_scanline_bounds() 353 if (left_pad > 0) \ 378 if (left_pad > 0) \ 601 int32_t * left_pad, in bilinear_pad_repeat_get_scanline_bounds() argument 615 *left_pad = left_pad2; in bilinear_pad_repeat_get_scanline_bounds() 782 if (left_pad > 0) \ 788 dst += left_pad; \ [all …]
|
H A D | pixman-inlines.h | 271 int32_t * left_pad, in pad_repeat_get_scanline_bounds() argument 281 *left_pad = *width; in pad_repeat_get_scanline_bounds() 286 *left_pad = (int32_t) tmp; in pad_repeat_get_scanline_bounds() 292 *left_pad = 0; in pad_repeat_get_scanline_bounds() 536 if (left_pad > 0) \ 565 if (left_pad > 0) \ 792 int32_t * left_pad, in bilinear_pad_repeat_get_scanline_bounds() argument 806 *left_pad = left_pad2; in bilinear_pad_repeat_get_scanline_bounds() 1033 if (left_pad > 0) \ 1040 dst += left_pad; \ [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/cairo/libpixman/src/ |
H A D | pixman-fast-path.h | 78 int32_t * left_pad, in pad_repeat_get_scanline_bounds() argument 88 *left_pad = *width; in pad_repeat_get_scanline_bounds() 93 *left_pad = (int32_t) tmp; in pad_repeat_get_scanline_bounds() 99 *left_pad = 0; in pad_repeat_get_scanline_bounds() 353 if (left_pad > 0) \ 378 if (left_pad > 0) \ 601 int32_t * left_pad, in bilinear_pad_repeat_get_scanline_bounds() argument 615 *left_pad = left_pad2; in bilinear_pad_repeat_get_scanline_bounds() 782 if (left_pad > 0) \ 788 dst += left_pad; \ [all …]
|
H A D | pixman-inlines.h | 270 int32_t * left_pad, in pad_repeat_get_scanline_bounds() argument 280 *left_pad = *width; in pad_repeat_get_scanline_bounds() 285 *left_pad = (int32_t) tmp; in pad_repeat_get_scanline_bounds() 291 *left_pad = 0; in pad_repeat_get_scanline_bounds() 535 if (left_pad > 0) \ 564 if (left_pad > 0) \ 791 int32_t * left_pad, in bilinear_pad_repeat_get_scanline_bounds() argument 805 *left_pad = left_pad2; in bilinear_pad_repeat_get_scanline_bounds() 1032 if (left_pad > 0) \ 1039 dst += left_pad; \ [all …]
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/mkldnn/src/cpu/ |
H A D | zero_point_utils.cpp | 48 const dim_t bottom_pad, const dim_t left_pad, const dim_t right_pad, in zero_point_pad_comp_config_t() argument 54 , left_pad(utils::div_up(left_pad, stride_w)) in zero_point_pad_comp_config_t() 59 && (this->left_pad > 0 || this->right_pad > 0 in zero_point_pad_comp_config_t() 63 , mid_w((ow - this->left_pad - this->right_pad > 0) in zero_point_pad_comp_config_t() 70 || this->right_pad > 0 || this->left_pad) in zero_point_pad_comp_config_t() 74 , w(this->left_pad + this->right_pad + this->mid_w) in zero_point_pad_comp_config_t() 80 ow, this->w, this->left_pad, this->mid_w, this->right_pad); in zero_point_pad_comp_config_t()
|
/dports/math/onednn/oneDNN-2.5.1/src/cpu/ |
H A D | zero_point_utils.cpp | 48 const dim_t bottom_pad, const dim_t left_pad, const dim_t right_pad, in zero_point_pad_comp_config_t() argument 54 , left_pad(utils::div_up(left_pad, stride_w)) in zero_point_pad_comp_config_t() 59 && (this->left_pad > 0 || this->right_pad > 0 in zero_point_pad_comp_config_t() 63 , mid_w((ow - this->left_pad - this->right_pad > 0) in zero_point_pad_comp_config_t() 70 || this->right_pad > 0 || this->left_pad) in zero_point_pad_comp_config_t() 74 , w(this->left_pad + this->right_pad + this->mid_w) in zero_point_pad_comp_config_t() 80 ow, this->w, this->left_pad, this->mid_w, this->right_pad); in zero_point_pad_comp_config_t()
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/cairo/libpixman/src/ |
H A D | pixman-inlines.h | 267 int32_t * left_pad, in pad_repeat_get_scanline_bounds() argument 277 *left_pad = *width; in pad_repeat_get_scanline_bounds() 282 *left_pad = (int32_t) tmp; in pad_repeat_get_scanline_bounds() 288 *left_pad = 0; in pad_repeat_get_scanline_bounds() 532 if (left_pad > 0) \ 561 if (left_pad > 0) \ 789 int32_t * left_pad, in bilinear_pad_repeat_get_scanline_bounds() argument 803 *left_pad = left_pad2; in bilinear_pad_repeat_get_scanline_bounds() 989 if (left_pad > 0) \ 995 dst += left_pad; \ [all …]
|
/dports/www/firefox/firefox-99.0/gfx/cairo/libpixman/src/ |
H A D | pixman-inlines.h | 267 int32_t * left_pad, in pad_repeat_get_scanline_bounds() argument 277 *left_pad = *width; in pad_repeat_get_scanline_bounds() 282 *left_pad = (int32_t) tmp; in pad_repeat_get_scanline_bounds() 288 *left_pad = 0; in pad_repeat_get_scanline_bounds() 532 if (left_pad > 0) \ 561 if (left_pad > 0) \ 789 int32_t * left_pad, in bilinear_pad_repeat_get_scanline_bounds() argument 803 *left_pad = left_pad2; in bilinear_pad_repeat_get_scanline_bounds() 989 if (left_pad > 0) \ 995 dst += left_pad; \ [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/cairo/libpixman/src/ |
H A D | pixman-inlines.h | 267 int32_t * left_pad, in pad_repeat_get_scanline_bounds() argument 277 *left_pad = *width; in pad_repeat_get_scanline_bounds() 282 *left_pad = (int32_t) tmp; in pad_repeat_get_scanline_bounds() 288 *left_pad = 0; in pad_repeat_get_scanline_bounds() 532 if (left_pad > 0) \ 561 if (left_pad > 0) \ 789 int32_t * left_pad, in bilinear_pad_repeat_get_scanline_bounds() argument 803 *left_pad = left_pad2; in bilinear_pad_repeat_get_scanline_bounds() 989 if (left_pad > 0) \ 995 dst += left_pad; \ [all …]
|
/dports/x11/pixman/pixman-0.40.0/pixman/ |
H A D | pixman-inlines.h | 267 int32_t * left_pad, in pad_repeat_get_scanline_bounds() argument 277 *left_pad = *width; in pad_repeat_get_scanline_bounds() 282 *left_pad = (int32_t) tmp; in pad_repeat_get_scanline_bounds() 288 *left_pad = 0; in pad_repeat_get_scanline_bounds() 532 if (left_pad > 0) \ 561 if (left_pad > 0) \ 789 int32_t * left_pad, in bilinear_pad_repeat_get_scanline_bounds() argument 803 *left_pad = left_pad2; in bilinear_pad_repeat_get_scanline_bounds() 989 if (left_pad > 0) \ 995 dst += left_pad; \ [all …]
|
/dports/misc/py-gluoncv/gluon-cv-0.9.0/gluoncv/model_zoo/siamrpn/ |
H A D | siamrpn_tracker.py | 383 left_pad = int(max(0., -context_xmin)) 388 context_xmin = context_xmin + left_pad 389 context_xmax = context_xmax + left_pad 394 if any([top_pad, bottom_pad, left_pad, right_pad]): 396 size = (im_h + top_pad + bottom_pad, im_w + left_pad + right_pad, im_c) 398 te_im[top_pad:top_pad + im_h, left_pad:left_pad + im_w, :] = img 400 te_im[0:top_pad, left_pad:left_pad + im_w, :] = avg_chans 402 te_im[im_h + top_pad:, left_pad:left_pad + im_w, :] = avg_chans 403 if left_pad: 404 te_im[:, 0:left_pad, :] = avg_chans [all …]
|
/dports/graphics/opencv/opencv-4.5.3/samples/dnn/ |
H A D | siamrpnpp.py | 120 left_pad = int(max(0., -context_xmin)) 124 context_xmin += left_pad 125 context_xmax += left_pad 129 if any([top_pad, bottom_pad, left_pad, right_pad]): 130 size = (im_h + top_pad + bottom_pad, im_w + left_pad + right_pad, im_d) 132 te_im[top_pad:top_pad + im_h, left_pad:left_pad + im_w, :] = im 134 te_im[0:top_pad, left_pad:left_pad + im_w, :] = avg_chans 136 te_im[im_h + top_pad:, left_pad:left_pad + im_w, :] = avg_chans 137 if left_pad: 138 te_im[:, 0:left_pad, :] = avg_chans [all …]
|
/dports/lang/micropython/micropython-1.17/py/ |
H A D | mpprint.c | 62 int left_pad = 0; in mp_print_strn() local 83 left_pad = pad / 2; in mp_print_strn() 84 right_pad = pad - left_pad; in mp_print_strn() 88 left_pad = pad; in mp_print_strn() 91 if (left_pad > 0) { in mp_print_strn() 92 total_chars_printed += left_pad; in mp_print_strn() 93 while (left_pad > 0) { in mp_print_strn() 94 int p = left_pad; in mp_print_strn() 99 left_pad -= p; in mp_print_strn()
|
/dports/finance/py-mplfinance/mplfinance-0.12.7a17/src/mplfinance/ |
H A D | _panels.py | 155 left_pad = 0.18 179 left_pad *= scale_left 185 plot_width = 1.0 - (left_pad + right_pad) 207 ax0 = figure.add_axes( [left_pad, bot_pad+lift, plot_width, height] ) 209 …ax0 = figure.add_axes( [left_pad, bot_pad+lift, plot_width, height], sharex=panels.at[0,'axes'][0]…
|
/dports/x11/pixman/pixman-0.40.0/test/ |
H A D | scaling-helpers-test.c | 14 int32_t * left_pad, in bilinear_pad_repeat_get_scanline_bounds_ref() argument 22 *left_pad = 0; in bilinear_pad_repeat_get_scanline_bounds_ref() 32 *left_pad += 1; in bilinear_pad_repeat_get_scanline_bounds_ref()
|
/dports/devel/py-hypothesis/hypothesis-6.28.0/src/hypothesis/strategies/_internal/ |
H A D | regex.py | 204 left_pad = draw(left_pad_strategy) 205 if left_pad and regex.search(left_pad + result): 206 result = left_pad + result 250 left_pad = base_padding_strategy 264 left_pad = empty 267 left_pad = st.one_of(empty, st.builds(operator.add, left_pad, newline)) 269 left_pad = empty 273 return maybe_pad(regex, base, left_pad, right_pad)
|
/dports/shells/xonsh/xonsh-0.7.9/xonsh/completers/ |
H A D | tools.py | 26 def justify(s, max_length, left_pad=0): argument 32 txt = textwrap.wrap(s, width=max_length, subsequent_indent=" " * left_pad)
|
/dports/misc/frugally-deep/frugally-deep-0.15.13-p0/include/fdeep/layers/ |
H A D | zero_padding_2d_layer.hpp | 22 std::size_t left_pad, in zero_padding_2d_layer() argument 27 left_pad_(left_pad), in zero_padding_2d_layer()
|
/dports/multimedia/gstreamer1-plugins-theora/gst-plugins-base-1.16.2/ext/gl/ |
H A D | gstglstereosplit.c | 126 pad = self->left_pad = in gst_gl_stereosplit_init() 130 gst_element_add_pad (GST_ELEMENT (self), self->left_pad); in gst_gl_stereosplit_init() 322 stereosplit_get_src_caps (split, split->left_pad, in stereosplit_set_output_caps() 371 if (!gst_pad_set_caps (split->left_pad, left)) { in stereosplit_set_output_caps() 513 if (!gst_pad_peer_query (self->left_pad, query)) { in stereosplit_do_bufferpool() 569 ret = gst_pad_push (split->left_pad, gst_buffer_ref (left)); in stereosplit_chain() 663 if (!(left = gst_pad_peer_query_caps (split->left_pad, NULL))) in stereosplit_sink_query() 682 templ_caps = gst_pad_get_pad_template_caps (split->left_pad); in stereosplit_sink_query()
|
/dports/multimedia/gstreamer1-plugins/gst-plugins-base-1.16.2/ext/gl/ |
H A D | gstglstereosplit.c | 126 pad = self->left_pad = in gst_gl_stereosplit_init() 130 gst_element_add_pad (GST_ELEMENT (self), self->left_pad); in gst_gl_stereosplit_init() 322 stereosplit_get_src_caps (split, split->left_pad, in stereosplit_set_output_caps() 371 if (!gst_pad_set_caps (split->left_pad, left)) { in stereosplit_set_output_caps() 513 if (!gst_pad_peer_query (self->left_pad, query)) { in stereosplit_do_bufferpool() 569 ret = gst_pad_push (split->left_pad, gst_buffer_ref (left)); in stereosplit_chain() 663 if (!(left = gst_pad_peer_query_caps (split->left_pad, NULL))) in stereosplit_sink_query() 682 templ_caps = gst_pad_get_pad_template_caps (split->left_pad); in stereosplit_sink_query()
|