/dports/emulators/uae/uae-0.8.29/src/ |
H A D | gfxutil.c | 132 nb_cols[RED] = i; in alloc_colors256() 133 nb_cols[GRN] = i; in alloc_colors256() 134 nb_cols[BLU] = i; in alloc_colors256() 171 k = nb_cols[GRN]-1; in alloc_colors256() 184 xcolors[rgb] = map[(cr * nb_cols[GRN] + cg) * nb_cols[BLU] + cb]; in alloc_colors256() 330 nb_cols[RED] = i; in setup_dither() 331 nb_cols[GRN] = i; in setup_dither() 332 nb_cols[BLU] = i; in setup_dither() 334 if (nb_cols[RED]*(++i)*nb_cols[BLU] <= maxcol) { in setup_dither() 335 nb_cols[GRN] = i; in setup_dither() [all …]
|
/dports/misc/vxl/vxl-3.3.2/core/vgui/ |
H A D | vgui_grid_tableau.cxx | 46 nb_cols = initial_cols; in init() 93 if (col_pos < nb_cols) in get_x() 126 return 1.0f / nb_cols; in get_w() 199 unsigned col_pos = nb_cols - 1; in add_next() 297 if (col_pos >= nb_cols) in get_tableau_at() 338 *col_pos = nb_cols + 1; in get_active_position() 476 nb_cols++; in add_column() 481 if (nb_cols > max_cols) in add_column() 488 add_default(nb_cols - 1, j); in add_column() 499 if (nb_cols > 1) in remove_column() [all …]
|
/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/ |
H A D | gfxutil.c | 502 nb_cols[RED] = i; in alloc_colors256() 503 nb_cols[GRN] = i; in alloc_colors256() 504 nb_cols[BLU] = i; in alloc_colors256() 548 k = nb_cols[GRN]-1; in alloc_colors256() 561 xcolors[rgb] = map[(cr * nb_cols[GRN] + cg) * nb_cols[BLU] + cb]; in alloc_colors256() 731 nb_cols[RED] = i; in setup_dither() 732 nb_cols[GRN] = i; in setup_dither() 733 nb_cols[BLU] = i; in setup_dither() 735 if (nb_cols[RED]*(++i)*nb_cols[BLU] <= maxcol) { in setup_dither() 736 nb_cols[GRN] = i; in setup_dither() [all …]
|
/dports/math/elpa/elpa-2019.05.002/src/elpa_generalized/ |
H A D | cannon_back_template.c | 104 nb_cols = numroc_(&nb, &nblk, &my_pcol, &zero, &np_cols); in cannons_triang_rectangular_impl() 119 Buf_cols_B = nb_cols; in cannons_triang_rectangular_impl() 121 Buf_cols_B = nb_cols + nblk; in cannons_triang_rectangular_impl() 124 Buf_cols_B = nb_cols; in cannons_triang_rectangular_impl() 126 Buf_cols_B = nb_cols + nblk; in cannons_triang_rectangular_impl() 128 Buf_cols_B = nb_cols + nblk - nb_cols%nblk; in cannons_triang_rectangular_impl() 155 for(i = 0; i < na_rows*nb_cols; i++) in cannons_triang_rectangular_impl() 333 C_LACPY("A", &na_rows, &nb_cols, B, &na_rows, Buf_to_send_B, &na_rows); in cannons_triang_rectangular_impl() 334 …MPI_Sendrecv(Buf_to_send_B, nb_cols*na_rows, MPI_MATH_DATATYPE_PRECISION_C, where_to_send_B, 0, Bu… in cannons_triang_rectangular_impl() 336 Size_receive_B = Size_receive_B/nb_cols; // how many rows I have received in cannons_triang_rectangular_impl() [all …]
|
/dports/science/tfel/tfel-3.4.0/include/TFEL/Math/Matrix/ |
H A D | matrix.ixx | 91 for(j=0;j<this->nb_cols;++j){ 109 for(j=0;j<this->nb_cols;++j){ 147 for(j=0;j<this->nb_cols;++j){ 169 for(j=0;j<this->nb_cols;++j){ 191 for(j=0;j<this->nb_cols;++j){ 221 return this->nb_cols; 244 nb_cols(m) 250 nb_cols(src.nb_cols) 258 this->nb_cols = s.nb_cols; 266 return (this->nb_rows==s.nb_rows)&&(this->nb_cols==s.nb_cols); [all …]
|
/dports/science/tfel-edf/tfel-3.2.1/include/TFEL/Math/Matrix/ |
H A D | matrix.ixx | 91 for(j=0;j<this->nb_cols;++j){ 109 for(j=0;j<this->nb_cols;++j){ 147 for(j=0;j<this->nb_cols;++j){ 169 for(j=0;j<this->nb_cols;++j){ 191 for(j=0;j<this->nb_cols;++j){ 221 return this->nb_cols; 244 nb_cols(m) 250 nb_cols(src.nb_cols) 258 this->nb_cols = s.nb_cols; 266 return (this->nb_rows==s.nb_rows)&&(this->nb_cols==s.nb_cols); [all …]
|
/dports/finance/homebank/homebank-5.5.1/src/ |
H A D | gtk-chart-colors.c | 361 scheme->nb_cols = homebank_nbcolors; in colorscheme_init() 368 scheme->nb_cols = money_nbcolors; in colorscheme_init() 376 scheme->nb_cols = quicken_nbcolors; in colorscheme_init() 384 scheme->nb_cols = analytics_nbcolors; in colorscheme_init() 391 scheme->nb_cols = office2010_nbcolors; in colorscheme_init() 398 scheme->nb_cols = office2013_nbcolors; in colorscheme_init() 405 scheme->nb_cols = sap_nbcolors; in colorscheme_init() 412 scheme->nb_cols = ynab_nbcolors; in colorscheme_init()
|
/dports/games/flare-engine/flare-engine-1.12/src/ |
H A D | MenuItemStorage.cpp | 38 , nb_cols(0) in MenuItemStorage() 57 nb_cols = _nb_cols; in initGrid() 61 slots[i]->pos.x = grid_area.x + (i % nb_cols * eset->resolutions.icon_size); in initGrid() 62 slots[i]->pos.y = grid_area.y + (i / nb_cols * eset->resolutions.icon_size); in initGrid() 77 nb_cols = 0; in initFromList() 90 if (nb_cols > 0) { in setPos() 143 if (Utils::isWithinRect(grid_area, position) && nb_cols > 0) { in slotOver() 144 …sition.x - grid_area.x) / slots[0]->pos.w + (position.y - grid_area.y) / slots[0]->pos.w * nb_cols; in slotOver() 146 else if (nb_cols == 0) { in slotOver()
|
/dports/science/gnudatalanguage/gdl-1.0.1/src/ |
H A D | terminfo.cpp | 285 DLong nb_lines = -1, nb_cols = -1; in terminal_size_fun() local 288 e->AssureLongScalarPar( 0, nb_cols); in terminal_size_fun() 291 e->AssureLongScalarPar( 0, nb_cols); in terminal_size_fun() 295 if (nb_cols <= 0) nb_cols = TermWidth(); in terminal_size_fun() 300 SetTermSize(nb_lines, nb_cols); in terminal_size_fun()
|
/dports/lang/gambit-c/gambit-4.9.3/lib/guide/ |
H A D | guideuiinspector.cpp | 55 void GuideUiInspector::set_nb_cols (int nb_cols) in set_nb_cols() argument 59 if (n > nb_cols) in set_nb_cols() 61 while (n > nb_cols) in set_nb_cols() 67 else if (n < nb_cols) in set_nb_cols() 69 while (n < nb_cols) in set_nb_cols()
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/common/include/pcl/impl/ |
H A D | pcl_base.hpp | 99 …setIndices (std::size_t row_start, std::size_t col_start, std::size_t nb_rows, std::size_t nb_cols) in setIndices() argument 107 if ((nb_cols > input_->width) || (col_start > input_->width)) in setIndices() 120 std::size_t col_end = col_start + nb_cols; in setIndices() 128 indices_->reserve (nb_cols * nb_rows); in setIndices()
|
/dports/databases/libgda5/libgda-5.2.10/libgda/ |
H A D | gda-data-access-wrapper.c | 239 model->priv->nb_cols = 0; in clear_internal_state() 323 gint i, j, nb_cols; in compute_columns() local 325 nmapping = g_new (gint, model->priv->nb_cols); in compute_columns() 327 for (i = 0, j = 0; i < model->priv->nb_cols; i++) { in compute_columns() 329 if (nb >= nb_cols) in compute_columns() 340 model->priv->nb_cols = j; in compute_columns() 495 wrapper->priv->nb_cols = mapping_size; in gda_data_access_wrapper_set_mapping() 551 return imodel->priv->nb_cols; in gda_data_access_wrapper_get_n_columns() 592 row = gda_row_new (model->priv->nb_cols); in create_new_row() 593 for (i = 0; i < model->priv->nb_cols; i++) { in create_new_row() [all …]
|
/dports/databases/libgda5-bdb/libgda-5.2.10/libgda/ |
H A D | gda-data-access-wrapper.c | 239 model->priv->nb_cols = 0; in clear_internal_state() 323 gint i, j, nb_cols; in compute_columns() local 325 nmapping = g_new (gint, model->priv->nb_cols); in compute_columns() 327 for (i = 0, j = 0; i < model->priv->nb_cols; i++) { in compute_columns() 329 if (nb >= nb_cols) in compute_columns() 340 model->priv->nb_cols = j; in compute_columns() 495 wrapper->priv->nb_cols = mapping_size; in gda_data_access_wrapper_set_mapping() 551 return imodel->priv->nb_cols; in gda_data_access_wrapper_get_n_columns() 592 row = gda_row_new (model->priv->nb_cols); in create_new_row() 593 for (i = 0; i < model->priv->nb_cols; i++) { in create_new_row() [all …]
|
/dports/databases/libgda5-postgresql/libgda-5.2.10/libgda/ |
H A D | gda-data-access-wrapper.c | 239 model->priv->nb_cols = 0; in clear_internal_state() 323 gint i, j, nb_cols; in compute_columns() local 325 nmapping = g_new (gint, model->priv->nb_cols); in compute_columns() 327 for (i = 0, j = 0; i < model->priv->nb_cols; i++) { in compute_columns() 329 if (nb >= nb_cols) in compute_columns() 340 model->priv->nb_cols = j; in compute_columns() 495 wrapper->priv->nb_cols = mapping_size; in gda_data_access_wrapper_set_mapping() 551 return imodel->priv->nb_cols; in gda_data_access_wrapper_get_n_columns() 592 row = gda_row_new (model->priv->nb_cols); in create_new_row() 593 for (i = 0; i < model->priv->nb_cols; i++) { in create_new_row() [all …]
|
/dports/databases/libgda5-ui/libgda-5.2.10/libgda/ |
H A D | gda-data-access-wrapper.c | 239 model->priv->nb_cols = 0; in clear_internal_state() 323 gint i, j, nb_cols; in compute_columns() local 325 nmapping = g_new (gint, model->priv->nb_cols); in compute_columns() 327 for (i = 0, j = 0; i < model->priv->nb_cols; i++) { in compute_columns() 329 if (nb >= nb_cols) in compute_columns() 340 model->priv->nb_cols = j; in compute_columns() 495 wrapper->priv->nb_cols = mapping_size; in gda_data_access_wrapper_set_mapping() 551 return imodel->priv->nb_cols; in gda_data_access_wrapper_get_n_columns() 592 row = gda_row_new (model->priv->nb_cols); in create_new_row() 593 for (i = 0; i < model->priv->nb_cols; i++) { in create_new_row() [all …]
|
/dports/databases/libgda5-mysql/libgda-5.2.10/libgda/ |
H A D | gda-data-access-wrapper.c | 239 model->priv->nb_cols = 0; in clear_internal_state() 323 gint i, j, nb_cols; in compute_columns() local 325 nmapping = g_new (gint, model->priv->nb_cols); in compute_columns() 327 for (i = 0, j = 0; i < model->priv->nb_cols; i++) { in compute_columns() 329 if (nb >= nb_cols) in compute_columns() 340 model->priv->nb_cols = j; in compute_columns() 495 wrapper->priv->nb_cols = mapping_size; in gda_data_access_wrapper_set_mapping() 551 return imodel->priv->nb_cols; in gda_data_access_wrapper_get_n_columns() 592 row = gda_row_new (model->priv->nb_cols); in create_new_row() 593 for (i = 0; i < model->priv->nb_cols; i++) { in create_new_row() [all …]
|
/dports/databases/libgda5-jdbc/libgda-5.2.10/libgda/ |
H A D | gda-data-access-wrapper.c | 239 model->priv->nb_cols = 0; in clear_internal_state() 323 gint i, j, nb_cols; in compute_columns() local 325 nmapping = g_new (gint, model->priv->nb_cols); in compute_columns() 327 for (i = 0, j = 0; i < model->priv->nb_cols; i++) { in compute_columns() 329 if (nb >= nb_cols) in compute_columns() 340 model->priv->nb_cols = j; in compute_columns() 495 wrapper->priv->nb_cols = mapping_size; in gda_data_access_wrapper_set_mapping() 551 return imodel->priv->nb_cols; in gda_data_access_wrapper_get_n_columns() 592 row = gda_row_new (model->priv->nb_cols); in create_new_row() 593 for (i = 0; i < model->priv->nb_cols; i++) { in create_new_row() [all …]
|
/dports/databases/libgda5-ldap/libgda-5.2.10/libgda/ |
H A D | gda-data-access-wrapper.c | 239 model->priv->nb_cols = 0; in clear_internal_state() 323 gint i, j, nb_cols; in compute_columns() local 325 nmapping = g_new (gint, model->priv->nb_cols); in compute_columns() 327 for (i = 0, j = 0; i < model->priv->nb_cols; i++) { in compute_columns() 329 if (nb >= nb_cols) in compute_columns() 340 model->priv->nb_cols = j; in compute_columns() 495 wrapper->priv->nb_cols = mapping_size; in gda_data_access_wrapper_set_mapping() 551 return imodel->priv->nb_cols; in gda_data_access_wrapper_get_n_columns() 592 row = gda_row_new (model->priv->nb_cols); in create_new_row() 593 for (i = 0; i < model->priv->nb_cols; i++) { in create_new_row() [all …]
|
/dports/biology/stringtie/stringtie-2.1.1/SuperReads_RNA/global-1/jellyfish/unit_tests/ |
H A D | test_rectangular_binary_matrix.cc | 201 const unsigned int nb_cols = col_sizes[k]; in TEST() local 202 uint64_t *cols = new uint64_t[nb_cols]; in TEST() 203 RectangularBinaryMatrix p(nb_rows, nb_cols); in TEST() 208 for(i = 0; i < nb_cols; ++i) in TEST() 210 RectangularBinaryMatrix m(cols, nb_rows, nb_cols); in TEST() 213 for(i = 0; i < nb_cols - nb_rows; ++i) in TEST() 215 for( ; i < nb_cols; ++i) in TEST()
|
/dports/biology/jellyfish/jellyfish-2.3.0/unit_tests/ |
H A D | test_rectangular_binary_matrix.cc | 205 const unsigned int nb_cols = col_sizes[k]; in TEST() local 206 uint64_t *cols = new uint64_t[nb_cols]; in TEST() 207 RectangularBinaryMatrix p(nb_rows, nb_cols); in TEST() 212 for(i = 0; i < nb_cols; ++i) in TEST() 214 RectangularBinaryMatrix m(cols, nb_rows, nb_cols); in TEST() 217 for(i = 0; i < nb_cols - nb_rows; ++i) in TEST() 219 for( ; i < nb_cols; ++i) in TEST()
|
/dports/misc/visp/visp-3.4.0/modules/core/test/math/ |
H A D | testMatrixDeterminant.cpp | 182 void create_bench(unsigned int nb_matrices, unsigned int nb_rows, unsigned int nb_cols, bool verbos… in create_bench() argument 186 …std::cout << "Create a bench of " << nb_matrices << " " << nb_rows << " by " << nb_cols << " matri… in create_bench() 189 vpMatrix M = make_random_matrix(nb_rows, nb_cols); in create_bench() 280 unsigned int nb_cols = 6; in main() local 287 …ions(argc, argv, nb_matrices, nb_iterations, use_plot_file, plotfile, nb_rows, nb_cols, verbose) == in main() 318 create_bench(nb_matrices, nb_rows, nb_cols, verbose, bench); in main()
|
H A D | testMatrixPseudoInverse.cpp | 190 …h_random_matrix(unsigned int nb_matrices, unsigned int nb_rows, unsigned int nb_cols, bool verbose, in create_bench_random_matrix() argument 194 …std::cout << "Create a bench of " << nb_matrices << " " << nb_rows << " by " << nb_cols << " matri… in create_bench_random_matrix() 197 vpMatrix M = make_random_matrix(nb_rows, nb_cols); in create_bench_random_matrix() 532 unsigned int nb_cols = 6; in main() local 544 …ions(argc, argv, nb_matrices, nb_iterations, use_plot_file, plotfile, nb_rows, nb_cols, verbose) == in main() 553 ncols[s] = nb_cols; in main() 555 nrows[s] = nb_cols; in main() 556 ncols[s] = nb_cols; in main() 558 nrows[s] = nb_cols; in main()
|
H A D | testMatrixInverse.cpp | 223 …h_random_matrix(unsigned int nb_matrices, unsigned int nb_rows, unsigned int nb_cols, bool verbose, in create_bench_random_matrix() argument 227 …std::cout << "Create a bench of " << nb_matrices << " " << nb_rows << " by " << nb_cols << " matri… in create_bench_random_matrix() 234 for (M = make_random_matrix(nb_rows, nb_cols); std::fabs(det = M.AtA().det()) < .01; in create_bench_random_matrix() 235 M = make_random_matrix(nb_rows, nb_cols)) { in create_bench_random_matrix() 242 M = make_random_matrix(nb_rows, nb_cols); in create_bench_random_matrix() 513 unsigned int nb_cols = 6; in main() local 520 …ions(argc, argv, nb_matrices, nb_iterations, use_plot_file, plotfile, nb_rows, nb_cols, verbose) == in main() 575 create_bench_random_matrix(nb_matrices, nb_rows, nb_cols, verbose, bench_random_matrices); in main()
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/filters/ |
H A D | hevcmerge.c | 91 u32 nb_cols; member 551 tile_x = use_abs_pos ? nb_cols * ctx->max_CU_width : nb_cols; in hevcmerge_build_srdmap() 572 u32 nb_cols=0; in hevcmerge_rebuild_grid() local 807 nb_cols = max_cols; in hevcmerge_rebuild_grid() 814 nb_cols=0; in hevcmerge_rebuild_grid() 837 ctx->grid[nb_cols].last_row_idx = ctx->grid[nb_cols].row_pos +1 ; in hevcmerge_rebuild_grid() 842 nb_cols++; in hevcmerge_rebuild_grid() 843 j=nb_cols-1; in hevcmerge_rebuild_grid() 892 for (i=0; i<nb_cols; i++) { in hevcmerge_rebuild_grid() 897 ctx->nb_cols = nb_cols; in hevcmerge_rebuild_grid() [all …]
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/filters/ |
H A D | hevcmerge.c | 91 u32 nb_cols; member 551 tile_x = use_abs_pos ? nb_cols * ctx->max_CU_width : nb_cols; in hevcmerge_build_srdmap() 572 u32 nb_cols=0; in hevcmerge_rebuild_grid() local 807 nb_cols = max_cols; in hevcmerge_rebuild_grid() 814 nb_cols=0; in hevcmerge_rebuild_grid() 837 ctx->grid[nb_cols].last_row_idx = ctx->grid[nb_cols].row_pos +1 ; in hevcmerge_rebuild_grid() 842 nb_cols++; in hevcmerge_rebuild_grid() 843 j=nb_cols-1; in hevcmerge_rebuild_grid() 892 for (i=0; i<nb_cols; i++) { in hevcmerge_rebuild_grid() 897 ctx->nb_cols = nb_cols; in hevcmerge_rebuild_grid() [all …]
|