/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/tools/ |
H A D | plot_bucketing_strategies.py | 54 def plot_seq(seq_info, x_begin, y_begin, x_end, y_end, save_path=None, title=None): argument 58 y_len = float(y_end - y_begin) 62 rect = Rectangle((x_begin + x_len * i, y_begin), x_len, 85 y_len = float(y_end - y_begin) 120 def add_padded_batches(ax, all_batch_inds, seq_info, x_begin, y_begin, x_end, y_end): argument 126 y_len = float(y_end - y_begin) 129 rect = Rectangle((x_begin + x_len * cnt + bid * PAD_LEN, y_begin), 140 border_rect = Rectangle((x_begin + x_len * cnt + bid * PAD_LEN, y_begin), 150 y_begin - 0.03, 157 rect = Rectangle((x_begin + x_len * cnt + bid * PAD_LEN, y_begin), x_len, [all …]
|
/dports/devel/cppurses/CPPurses-0.3-5-g342a389/src/painter/ |
H A D | screen.cpp | 98 const auto y_begin = empty_space.offset().y; in paint_empty_tiles() local 100 const auto y_end = y_begin + empty_space.area().height; in paint_empty_tiles() 102 for (auto y = y_begin; y < y_end; ++y) { in paint_empty_tiles() 165 const auto y_begin = widg.y(); in full_paint() local 167 const auto y_end = y_begin + widg.outer_height(); in full_paint() 169 for (auto y = y_begin; y < y_end; ++y) { in full_paint() 203 const auto y_begin = new_space.offset().y; in paint_resize_event() local 205 const auto y_end = y_begin + new_space.area().height; in paint_resize_event() 207 for (auto y = y_begin; y < y_end; ++y) { in paint_resize_event()
|
/dports/devel/cppurses/CPPurses-0.3-5-g342a389/src/system/ |
H A D | resize_event.cpp | 28 const auto y_begin = w.y(); in build_resize_mask() local 30 const auto y_end = y_begin + new_size.height; in build_resize_mask() 32 for (auto y = y_begin; y < y_end; ++y) { in build_resize_mask() 40 const auto y_begin = w.y() + old_size.height; in build_resize_mask() local 44 for (auto y = y_begin; y < y_end; ++y) { in build_resize_mask()
|
/dports/games/el/Eternal-Lands-1.9.5.9-1/ |
H A D | books.h | 237 bool has_free_range(int y_begin, int y_end) const in has_free_range() argument 241 if (range.first <= y_begin && range.second >= y_end) in has_free_range() 263 int y_begin = ((range.first + min_height - 1) / min_height) * min_height; in find_free_range_aligned() local 264 if (range.second - y_begin >= min_height) in find_free_range_aligned() 265 return std::make_pair(y_begin, range.second); in find_free_range_aligned() 284 void add_text_block(TextBlock &&block, int y_begin, int y_end) in add_text_block() argument 287 occupy_range(y_begin, y_end); in add_text_block() 302 void add_image(BookImage &&image, int y_begin, int y_end) in add_image() argument 305 occupy_range(y_begin, y_end); in add_image() 335 void occupy_range(int y_begin, int y_end);
|
H A D | books.cpp | 84 void Page::occupy_range(int y_begin, int y_end) in occupy_range() argument 86 if (y_begin >= y_end) in occupy_range() 96 if (it->first < y_begin) in occupy_range() 100 it->second = y_begin; in occupy_range() 176 int y_begin, y_end; in layout_text() local 178 while (y_begin < 0) in layout_text() 184 int nr_lines_this_page = (y_end - y_begin) / line_h; in layout_text() 200 x, y_begin, page_width, height, zoom, line_spacing); in layout_text() 201 page->add_text_block(std::move(block), y_begin, y_begin + height); in layout_text() 366 int y_begin = std::max(scaled_img.y() - margin, 0); in layout_image() local [all …]
|
/dports/x11-toolkits/libdazzle/libdazzle-3.42.0/src/graphing/ |
H A D | dzl-graph-renderer.c | 32 gdouble y_begin, in G_DEFINE_INTERFACE() 50 gdouble y_begin, in dzl_graph_view_renderer_render() argument 59 …DZL_GRAPH_RENDERER_GET_IFACE (self)->render (self, table, x_begin, x_end, y_begin, y_end, cr, area… in dzl_graph_view_renderer_render()
|
H A D | dzl-graph-renderer.h | 42 gdouble y_begin, 53 gdouble y_begin,
|
H A D | dzl-graph-line-renderer.c | 125 gdouble y_begin, in dzl_graph_view_line_renderer_render() argument 149 last_y = calc_y (&iter, y_begin, y_end, area->height, self->column); in dzl_graph_view_line_renderer_render() 159 y = calc_y (&iter, y_begin, y_end, area->height, self->column); in dzl_graph_view_line_renderer_render()
|
/dports/math/minizinc-ide/MiniZincIDE-2.5.5/cp-profiler/src/cpprofiler/pixel_views/ |
H A D | pixel_image.cpp | 96 const int y_begin = y * pixel_size_; in drawRect() local 103 setPixel(buffer_, col, y_begin, BLACK); in drawRect() 112 for (auto row = y_begin; row < y_end; ++row) in drawRect() 121 for (auto row = y_begin + 1; row < y_end - 1; ++row) in drawRect()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/ |
H A D | dimg_scale.cpp | 738 for (y = y_begin ; y < y_end ; ++y) in dimgSampleRGBA() 742 dptr = dest + (y - y_begin) * dow; in dimgSampleRGBA() 783 for (y = y_begin ; y < y_end ; ++y) in dimgSampleRGBA16() 787 dptr = dest + (y - y_begin) * dow; in dimgSampleRGBA16() 839 for (y = y_begin ; y < y_end ; ++y) in dimgScaleAARGBA() 969 for (y = y_begin ; y < y_end ; ++y) in dimgScaleAARGBA() 1067 for (y = y_begin ; y < y_end ; ++y) in dimgScaleAARGBA() 1168 for (y = y_begin ; y < y_end ; ++y) in dimgScaleAARGBA() 1328 for (y = y_begin ; y < y_end ; ++y) in dimgScaleAARGB() 1447 for (y = y_begin ; y < y_end ; ++y) in dimgScaleAARGB() [all …]
|
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Helpers.ocd/Clock.ocd/ |
H A D | Script.c | 22 var y_begin = GUI_Controller_Clock_IconMargin; in Construction() local 23 var y_end = y_begin + GUI_Controller_Clock_IconSize; in Construction() 25 …var x_end = y_begin + GUI_Controller_Goal_IconSize + GUI_Controller_Goal_IconMargin + GUI_Controll… in Construction() 32 Top = ToEmString(y_begin), in Construction()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/thermal/tmon/ |
H A D | tui.c | 118 int y_begin = 1; in setup_windows() local 127 y_begin += TITLE_BAR_HIGHT; in setup_windows() 129 tz_sensor_window = subwin(stdscr, SENSOR_WIN_HIGHT, maxx, y_begin, 0); in setup_windows() 130 y_begin += SENSOR_WIN_HIGHT; in setup_windows() 133 y_begin, 0); in setup_windows() 134 y_begin += ptdata.nr_cooling_dev + 3; /* 2 lines for border */ in setup_windows() 144 NR_LINES_TZDATA + 3, maxx, y_begin, 0); in setup_windows() 145 y_begin += ptdata.nr_tz_sensor * NR_LINES_TZDATA + 3; in setup_windows() 146 control_window = subwin(stdscr, 4, maxx, y_begin, 0); in setup_windows()
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/thermal/tmon/ |
H A D | tui.c | 118 int y_begin = 1; in setup_windows() local 127 y_begin += TITLE_BAR_HIGHT; in setup_windows() 129 tz_sensor_window = subwin(stdscr, SENSOR_WIN_HIGHT, maxx, y_begin, 0); in setup_windows() 130 y_begin += SENSOR_WIN_HIGHT; in setup_windows() 133 y_begin, 0); in setup_windows() 134 y_begin += ptdata.nr_cooling_dev + 3; /* 2 lines for border */ in setup_windows() 144 NR_LINES_TZDATA + 3, maxx, y_begin, 0); in setup_windows() 145 y_begin += ptdata.nr_tz_sensor * NR_LINES_TZDATA + 3; in setup_windows() 146 control_window = subwin(stdscr, 4, maxx, y_begin, 0); in setup_windows()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/thermal/tmon/ |
H A D | tui.c | 118 int y_begin = 1; in setup_windows() local 127 y_begin += TITLE_BAR_HIGHT; in setup_windows() 129 tz_sensor_window = subwin(stdscr, SENSOR_WIN_HIGHT, maxx, y_begin, 0); in setup_windows() 130 y_begin += SENSOR_WIN_HIGHT; in setup_windows() 133 y_begin, 0); in setup_windows() 134 y_begin += ptdata.nr_cooling_dev + 3; /* 2 lines for border */ in setup_windows() 144 NR_LINES_TZDATA + 3, maxx, y_begin, 0); in setup_windows() 145 y_begin += ptdata.nr_tz_sensor * NR_LINES_TZDATA + 3; in setup_windows() 146 control_window = subwin(stdscr, 4, maxx, y_begin, 0); in setup_windows()
|
/dports/math/snns/SNNSv4.3/tools/sources/ |
H A D | ff_bignet.c | 287 int y_begin; in calculate_y_begin() local 290 y_begin = *y_offset + 2; in calculate_y_begin() 291 *relative_y_max = y_begin + height; in calculate_y_begin() 296 y_begin = *relative_y_max + 2; in calculate_y_begin() 297 *relative_y_max = y_begin + height; in calculate_y_begin() 303 y_begin = *y_offset + 2; in calculate_y_begin() 304 *absolute_y_max = y_begin + height; in calculate_y_begin() 305 *relative_y_max = y_begin + height; in calculate_y_begin() 307 return y_begin; in calculate_y_begin() 328 int y_offset=0,relative_y_max=0,absolute_y_max=0,y_begin; in create_snns_unit() local [all …]
|
H A D | td_bignet.c | 363 int y_begin; in calculate_y_begin() local 366 y_begin = *y_offset + 2; in calculate_y_begin() 367 *relative_y_max = y_begin + height; in calculate_y_begin() 372 y_begin = *relative_y_max + 2; in calculate_y_begin() 373 *relative_y_max = y_begin + height; in calculate_y_begin() 379 y_begin = *y_offset + 2; in calculate_y_begin() 380 *absolute_y_max = y_begin + height; in calculate_y_begin() 381 *relative_y_max = y_begin + height; in calculate_y_begin() 383 return y_begin; in calculate_y_begin() 411 int y_offset=0,relative_y_max=0,absolute_y_max=0,y_begin; in create_snns_unit() local [all …]
|
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/HUD.ocd/Controller.ocd/ControllerGoal.ocd/ |
H A D | Script.c | 59 var y_begin = GUI_Controller_Goal_IconMargin; in Construction() local 60 var y_end = y_begin + GUI_Controller_Goal_IconSize; in Construction() 63 var x_end = y_begin; in Construction() 78 Top = ToEmString(y_begin), in Construction()
|
/dports/devel/cppurses/CPPurses-0.3-5-g342a389/demos/palette/ |
H A D | all_colors_display.cpp | 24 int y_begin = inverted_ ? 0 : height - 1; in paint_event() local 32 for (auto y = y_begin, i = 0; y_end(y); increment(y)) { in paint_event()
|
/dports/devel/ispc/ispc-1.16.1/examples/xpu/mandelbrot/ |
H A D | mandelbrot.ispc | 71 uniform const int y_begin = taskIndex1 * p->tile_size; 74 uniform const int y_edge = y_begin + p->tile_size; 79 foreach (yi = y_begin... y_end, xi = x_begin... x_end) {
|
/dports/games/libretro-paralleln64/parallel-n64-6e26fbb/mupen64plus-video-angrylion/n64video/vi/ |
H A D | vi.c | 139 int32_t y_begin = 0; in vi_process_full_parallel() local 144 y_begin = worker_id; in vi_process_full_parallel() 148 for (y = y_begin; y < y_end; y += y_inc) { in vi_process_full_parallel() 478 int32_t y_begin = 0; in vi_process_fast_parallel() local 491 y_begin = worker_id; in vi_process_fast_parallel() 495 for (y = y_begin; y < y_end; y += y_inc) { in vi_process_fast_parallel()
|
/dports/games/libretro-paralleln64/parallel-n64-6e26fbb/mupen64plus-video-angrylion/n64video/ |
H A D | vi.c | 149 int32_t y_begin = 0; in vi_process_full_parallel() local 154 y_begin = worker_id; in vi_process_full_parallel() 158 for (y = y_begin; y < y_end; y += y_inc) { in vi_process_full_parallel() 488 int32_t y_begin = 0; in vi_process_fast_parallel() local 501 y_begin = worker_id; in vi_process_fast_parallel() 505 for (y = y_begin; y < y_end; y += y_inc) { in vi_process_fast_parallel()
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/include/cantera/base/ |
H A D | utilities.h | 78 InputIter2 y_begin) in dot() argument 80 return std::inner_product(x_begin, x_end, y_begin, 0.0); in dot()
|
/dports/deskutils/peaclock/peaclock-0.4.3/src/ob/ |
H A D | rect.hh | 105 std::size_t y_begin {0}; in draw() local 114 y_begin = text_height / 2 - ln.size() / 2; in draw() 124 y_begin = text_height - ln.size(); in draw() 336 if (! _text.empty() && y >= y_begin && row < ln.size()) in draw()
|
/dports/x11-wm/blackbox/blackbox-0.70.1/src/ |
H A D | Screen.cc | 2159 y_begin = coords.begin() + _stackingList.size() * 2 + 2, in smartPlacement() local 2160 y_end = y_begin; in smartPlacement() 2202 assert(x_end <= y_begin); in smartPlacement() 2208 std::sort(y_begin, y_end); in smartPlacement() 2209 y_end = std::unique(y_begin, y_end); in smartPlacement() 2213 gh = y_end - y_begin - 1; in smartPlacement() 2257 top = t_it - y_begin, in smartPlacement() 2258 bottom = b_it - y_begin; in smartPlacement() 2310 where.setCoords(*(x_begin + gx), *(y_begin + gy), in smartPlacement() 2334 where.setCoords(*(x_begin + gx), *(y_begin + gy), in smartPlacement() [all …]
|
/dports/biology/seqan1/seqan-1.3.1/seqan/seeds/ |
H A D | banded_align.h | 68 TStringIterator y_begin = begin(str2_); in _bandedNeedlemanWunsch() local 69 --y_begin; in _bandedNeedlemanWunsch() 98 TStringIterator y = y_begin; in _bandedNeedlemanWunsch() 174 while (y!= y_begin) in _bandedNeedlemanWunsch() 331 TStringIterator y_begin = begin(str2_) - 1; in _bandedGotoh() local 487 while(y!= y_begin)//for (int i = 0; i != main; ++i){ in _bandedGotoh()
|