/dports/mail/horde-turba/turba-4.2.25/migration/ |
H A D | 7_turba_upgrade_activesyncschema.php | 32 $cols = array_keys($t->getColumns()); 34 if (!in_array('object_homephone2', $cols)) { 37 if (!in_array('object_carphone', $cols)) { 40 if (!in_array('object_workphone2', $cols)) { 43 if (!in_array('object_radiophone', $cols)) { 46 if (!in_array('object_companyphone', $cols)) { 49 if (!in_array('object_otherstreet', $cols)) { 52 if (!in_array('object_otherpob', $cols)) { 55 if (!in_array('object_othercity', $cols)) { 64 if (!in_array('object_othercountry', $cols)) { [all …]
|
/dports/cad/py-ezdxf/ezdxf-0.16.3/tests/test_02_dxf_graphics/ |
H A D | test_248_mtext_linked_columns_R2000_to_R2013.py | 247 assert cols.count == 3 249 assert cols.auto_height is False 252 assert cols.width == 50.0 272 assert cols.count == 3 274 assert cols.auto_height is True 277 assert cols.width == 50.0 282 assert len(cols.heights) == 0 293 assert cols.count == 3 298 assert cols.width == 50.0 303 assert len(cols.heights) == 0 [all …]
|
/dports/math/R-cran-matrixStats/matrixStats/R/ |
H A D | varDiff.R | 246 if (!is.null(rows) && !is.null(cols)) x <- x[rows, cols, drop = FALSE] 248 else if (!is.null(cols)) x <- x[, cols, drop = FALSE] 265 if (!is.null(rows) && !is.null(cols)) x <- x[rows, cols, drop = FALSE] 267 else if (!is.null(cols)) x <- x[, cols, drop = FALSE] 284 if (!is.null(rows) && !is.null(cols)) x <- x[rows, cols, drop = FALSE] 286 else if (!is.null(cols)) x <- x[, cols, drop = FALSE] 305 else if (!is.null(cols)) x <- x[, cols, drop = FALSE] 324 else if (!is.null(cols)) x <- x[, cols, drop = FALSE] 343 else if (!is.null(cols)) x <- x[, cols, drop = FALSE] 362 else if (!is.null(cols)) x <- x[, cols, drop = FALSE] [all …]
|
H A D | rowCumsums.R | 23 rowCumsums <- function(x, rows = NULL, cols = NULL, dim. = dim(x), ..., useNames = NA) { argument 24 .Call(C_rowCumsums, x, dim., rows, cols, TRUE, useNames) 30 colCumsums <- function(x, rows = NULL, cols = NULL, dim. = dim(x), ..., useNames = NA) { argument 31 .Call(C_rowCumsums, x, dim., rows, cols, FALSE, useNames) 37 rowCumprods <- function(x, rows = NULL, cols = NULL, dim. = dim(x), ..., useNames = NA) { argument 38 .Call(C_rowCumprods, x, dim., rows, cols, TRUE, useNames) 45 .Call(C_rowCumprods, x, dim., rows, cols, FALSE, useNames) 52 .Call(C_rowCummins, x, dim., rows, cols, TRUE, useNames) 59 .Call(C_rowCummins, x, dim., rows, cols, FALSE, useNames) 66 .Call(C_rowCummaxs, x, dim., rows, cols, TRUE, useNames) [all …]
|
/dports/science/lammps/lammps-stable_29Sep2021/src/ |
H A D | atom_vec.cpp | 90 cols = mgrow.cols[i]; in ~AtomVec() 224 cols = mgrow.cols[i]; in grow() 286 cols = mcopy.cols[n]; in copy() 388 cols = mcomm.cols[nn]; in pack_comm() 583 cols = mcomm.cols[nn]; in unpack_comm() 867 cols = mborder.cols[nn]; in pack_border() 1463 cols = mrestart.cols[nn]; in pack_restart() 1667 cols = mcreate.cols[n]; in create_atom() 2298 cols = mgrow.cols[i]; in memory_usage() 2404 cols = mcomm.cols[n]; in setup_fields() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/cudaarithm/test/ |
H A D | test_arithm.cpp | 215 … d_b = cv::cuda::GpuMat(a.rows, a.cols, CV_32FC2, d_b_data.ptr(), a.cols * d_b_data.elemSize()); in testC2C() 228 int cols = randomInt(2, 100); in CUDA_TEST_P() local 253 int cols = randomInt(2, 100); in CUDA_TEST_P() local 290 if (a.cols == 1) in testR2CThenC2R() 293 …d_b = cv::cuda::GpuMat(a.rows / 2 + 1, a.cols, CV_32FC2, d_b_data.ptr(), a.cols * d_b_data.elemSiz… in testR2CThenC2R() 301 … d_c = cv::cuda::GpuMat(a.rows, a.cols, CV_32F, d_c_data.ptr(), a.cols * d_c_data.elemSize()); in testR2CThenC2R() 319 int cols = randomInt(2, 100); in CUDA_TEST_P() local 322 testR2CThenC2R("sanity", cols, rows, false); in CUDA_TEST_P() 331 testR2CThenC2R("sanity", cols, rows, true); in CUDA_TEST_P() 349 C.create(std::abs(A.rows - B.rows) + 1, std::abs(A.cols - B.cols) + 1, A.type()); in convolveDFT() [all …]
|
/dports/devel/libfirm/libfirm-1.21.0/ir/adt/ |
H A D | gaussseidel.c | 34 col_val_t *cols; member 48 row->cols = XREALLOC(row->cols, col_val_t, c_cols); in alloc_cols() 84 xfree(m->rows[i].cols); in gs_delete_matrix() 128 the_row->cols = XREALLOC(the_row->cols, col_val_t, the_row->c_cols); in gs_matrix_trim_row_capacities() 130 xfree(the_row->cols); in gs_matrix_trim_row_capacities() 144 the_row->cols[write_pos++] = the_row->cols[read_pos]; in gs_matrix_delete_zero_entries() 154 col_val_t *cols; in gs_matrix_set() local 173 cols = the_row->cols; in gs_matrix_set() 203 the_row->cols[i] = the_row->cols[i-1]; in gs_matrix_set() 211 assert(c==0 || the_row->cols[c-1].col_idx < the_row->cols[c].col_idx); in gs_matrix_set() [all …]
|
/dports/math/libsemigroups/libsemigroups-1.3.7/extern/eigen-3.3.7/test/ |
H A D | product.h | 34 Index cols = m.cols(); in product() local 40 m3(rows, cols); in product() 46 square2 = ColSquareMatrixType::Random(cols, cols), in product() 47 res2 = ColSquareMatrixType::Random(cols, cols); in product() 49 ColVectorType vc2 = ColVectorType::Random(cols), vcres(cols); in product() 80 if (rows!=cols) in product() 188 vc2 = square2.block(0,0,cols,1); in product() 205 VERIFY_IS_APPROX(m1.col(c) * m1.block(r,0,1,cols), m1.block(0,c,rows,1) * m1.block(r,0,1,cols)); in product() 212 ColVectorType x(cols); x.setRandom(); in product() 214 ColVectorType y(cols); y.setZero(); in product() [all …]
|
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/eigen-3.3.7/test/ |
H A D | product.h | 34 Index cols = m.cols(); in product() local 40 m3(rows, cols); in product() 46 square2 = ColSquareMatrixType::Random(cols, cols), in product() 47 res2 = ColSquareMatrixType::Random(cols, cols); in product() 49 ColVectorType vc2 = ColVectorType::Random(cols), vcres(cols); in product() 80 if (rows!=cols) in product() 188 vc2 = square2.block(0,0,cols,1); in product() 205 VERIFY_IS_APPROX(m1.col(c) * m1.block(r,0,1,cols), m1.block(0,c,rows,1) * m1.block(r,0,1,cols)); in product() 212 ColVectorType x(cols); x.setRandom(); in product() 214 ColVectorType y(cols); y.setZero(); in product() [all …]
|
/dports/graphics/py-pyqtgraph/pyqtgraph-0.12.3/pyqtgraph/opengl/ |
H A D | MeshData.py | 450 th = ((np.arange(cols) * 2 * np.pi / cols).reshape(1, cols)) 455 …verts = verts.reshape((rows+1)*cols, 3)[cols-1:-(cols-1)] ## remove redundant vertexes from top a… 459 …rowtemplate1 = ((np.arange(cols).reshape(cols, 1) + np.array([[0, 1, 0]])) % cols) + np.array([[0,… 460 …rowtemplate2 = ((np.arange(cols).reshape(cols, 1) + np.array([[0, 1, 1]])) % cols) + np.array([[co… 463 faces[start:start+cols] = rowtemplate1 + row * cols 464 faces[start+cols:start+(cols*2)] = rowtemplate2 + row * cols 487 th = np.linspace(2 * np.pi, (2 * np.pi)/cols, cols).reshape(1, cols) 497 …rowtemplate1 = ((np.arange(cols).reshape(cols, 1) + np.array([[0, 1, 0]])) % cols) + np.array([[0,… 498 …rowtemplate2 = ((np.arange(cols).reshape(cols, 1) + np.array([[0, 1, 1]])) % cols) + np.array([[co… 501 faces[start:start+cols] = rowtemplate1 + row * cols [all …]
|
/dports/math/py-matplotlib/matplotlib-3.4.3/lib/matplotlib/ |
H A D | _layoutgrid.py | 186 rows, cols = self.parent_pos 188 cols = np.atleast_1d(cols) 190 left = parent.lefts[cols[0]] 365 cols = np.atleast_1d(cols) 368 self.lefts[cols[0]].value(), 380 cols = np.atleast_1d(cols) 404 cols = np.atleast_1d(cols) 424 cols = np.atleast_1d(cols) 442 cols = np.atleast_1d(cols) 461 cols = np.atleast_1d(cols) [all …]
|
/dports/www/p5-CIF-Client/CIF-Client-0.21/lib/CIF/Client/Plugin/ |
H A D | Table.pm | 34 my @cols; 36 push(@cols,'uuid'); 39 push(@cols,'relatedid'); 41 push(@cols,( 51 push(@cols,('address')); 54 push(@cols,'protocol'); 57 push(@cols,'portlist'); 66 push(@cols,'rir'); 74 push(@cols,'cc'); 78 push(@cols,( [all …]
|
/dports/math/hmat-oss/hmat-oss-1.7.1/src/ |
H A D | scalar_array.cpp | 164 if(col_num > cols) in resize() 173 cols = col_num; in resize() 361 assert(colOffset + a->cols <= cols); in copyMatrixAtOffset() 367 if(a->cols == cols) in copyMatrixAtOffset() 421 assert(cols == a->cols); in axpy() 588 assert(tb.cols==cols); in rankOneUpdateT() 839 size_t vn = cols, vm = cols; in inverse() 1139 size_t _m = c->rows, _n = c->cols, _k = cols; in productQ() 1162 workSize = workSize < c->cols ? c->cols : workSize; in productQ() 1311 cols = rank; in modifiedGramSchmidt() [all …]
|
/dports/print/fontforge/fontforge-20201107/gdraw/ |
H A D | ghvbox.c | 133 si->cols = calloc(gb->cols,sizeof(struct sizedata)); in GHVBoxGatherSizeInfo() 135 for ( c=0; c<gb->cols; ++c ) si->cols[c].allglue = true; in GHVBoxGatherSizeInfo() 142 if ( c+1!=gb->cols && si->cols[c].min<gb->hpad ) si->cols[c].min = gb->hpad; in GHVBoxGatherSizeInfo() 145 if ( c+1!=gb->cols && si->cols[c].min<gb->hpad+ten ) si->cols[c].min = gb->hpad+ten; in GHVBoxGatherSizeInfo() 161 if ( si->cols[c].extra_space<es ) si->cols[c].extra_space=es; in GHVBoxGatherSizeInfo() 246 si->cols[c].sized = si->cols[c].min; in GHVBoxGatherSizeInfo() 252 if ( max<si->cols[c].sized ) max = si->cols[c].sized; in GHVBoxGatherSizeInfo() 254 if ( si->cols[c].min!=0 || si->cols[c].allglue ) in GHVBoxGatherSizeInfo() 258 if ( max<si->cols[c].sized && !si->cols[c].allglue ) max = si->cols[c].sized; in GHVBoxGatherSizeInfo() 314 if(si.cols[gb->cols-1].sized > 0) in GHVBoxResize() [all …]
|
/dports/devel/notcurses/notcurses-3.0.1/src/lib/ |
H A D | layout.c | 10 const int offset = notcurses_align(avail, align, cols); in ncplane_putline() 79 return cols; in puttext_line() 95 return cols; in puttext_line() 102 cols += width; in puttext_line() 104 if(cols > cols_leading_ws){ in puttext_line() 106 cols_leading_break = cols; in puttext_line() 109 cols_leading_ws = cols; in puttext_line() 131 }else if(cols == dimx){ in puttext_line() 138 colsreturn = cols; in puttext_line() 170 if(cols < 0){ in ncplane_puttext() [all …]
|
/dports/astro/py-astropy/astropy-5.0/cextern/cfitsio/lib/ |
H A D | putcol.c | 1218 cols[jj].colnum > ((cols[jj].fptr)->Fptr)->tfield) in ffiter() 1310 if (cols[ii].fptr == cols[jj].fptr) in ffiter() 1808 if (ffgpv(cols[jj].fptr, cols[jj].datatype, in ffiter() 1823 ffgdes(cols[jj].fptr, cols[jj].colnum, frow,&cols[jj].repeat, NULL,status); in ffiter() 1826 if (ffgcv(cols[jj].fptr, cols[jj].datatype, cols[jj].colnum, in ffiter() 1903 if (ffppn(cols[jj].fptr, cols[jj].datatype, in ffiter() 1915 ffgdes(cols[jj].fptr, cols[jj].colnum, frow,&cols[jj].repeat, NULL,status); in ffiter() 1918 if (ffpcn(cols[jj].fptr, cols[jj].datatype, cols[jj].colnum, frow, in ffiter() 1929 if (ffppr(cols[jj].fptr, cols[jj].datatype, in ffiter() 1941 ffgdes(cols[jj].fptr, cols[jj].colnum, frow,&cols[jj].repeat, NULL,status); in ffiter() [all …]
|
/dports/math/dune-fem/dune-fem-d1c625e6d51167d0cce57de6adcef21f548a8f82/dune/fem/operator/matrix/ |
H A D | blockmatrix.hh | 57 resize(rows,cols); in DenseMatrix() 66 cols_ = cols; in resize() 70 matrix_[row].resize(cols); in resize() 110 const int nCol= cols(); in mult() 125 const int nCol= cols(); in multOEM() 146 const int nCols = cols(); in multTransposed() 166 const int nCols = cols(); in multiply() 185 assert( A.cols() == B.cols() ); in multiplyTransposed() 206 resize(A.cols() , A.cols()); in multiply_AT_A() 262 const int nCols = cols(); in operator +=() [all …]
|
/dports/science/smoldyn/smoldyn-2.67/source/NextSubVolume/Eigen/src/Core/ |
H A D | PlainObjectBase.h | 120 EIGEN_STRONG_INLINE Index cols() const { return m_storage.cols(); } 229 m_storage.resize(rows*cols, rows, cols); 552 : (rows() == other.rows() && cols() == other.cols()))) 611 m_storage.resize(rows*cols,rows,cols); 662 if (_this.rows() == rows && _this.cols() == cols) return; 669 _this.derived().m_storage.conservativeResize(rows*cols,rows,cols); 676 const Index common_cols = (std::min)(cols, _this.cols()); 684 if (_this.rows() == other.rows() && _this.cols() == other.cols()) return; 698 const Index new_cols = other.cols() - _this.cols(); 710 const Index common_cols = (std::min)(tmp.cols(), _this.cols()); [all …]
|
/dports/devel/p5-Tickit/Tickit-0.72/t/ |
H A D | 23window-scrolling.t | 39 [ Tickit::Rect->new( top => 9, lines => 1, left => 0, cols => 80 ) ], 55 [ Tickit::Rect->new( top => 0, lines => 1, left => 0, cols => 80 ) ], 71 [ Tickit::Rect->new( top => 0, lines => 10, left => 79, cols => 1 ) ], 87 [ Tickit::Rect->new( top => 0, lines => 10, left => 0, cols => 1 ) ], 105 [ Tickit::Rect->new( top => 2, lines => 1, left => 0, cols => 80 ) ], 122 [ Tickit::Rect->new( top => 4, lines => 1, left => 0, cols => 80 ) ], 138 [ Tickit::Rect->new( top => 2, left => 0, lines => 3, cols => 80 ) ], 165 Tickit::Rect->new( top => 1, left => 4, lines => 2, cols => 10 ), 167 Tickit::Rect->new( top => 3, left => 10, lines => 1, cols => 5 ), 169 Tickit::Rect->new( top => 4, left => 20, lines => 1, cols => 10 ), [all …]
|
/dports/astro/cfitsio/cfitsio-3.49/ |
H A D | putcol.c | 1218 cols[jj].colnum > ((cols[jj].fptr)->Fptr)->tfield) in ffiter() 1310 if (cols[ii].fptr == cols[jj].fptr) in ffiter() 1804 if (ffgpv(cols[jj].fptr, cols[jj].datatype, in ffiter() 1819 ffgdes(cols[jj].fptr, cols[jj].colnum, frow,&cols[jj].repeat, NULL,status); in ffiter() 1822 if (ffgcv(cols[jj].fptr, cols[jj].datatype, cols[jj].colnum, in ffiter() 1899 if (ffppn(cols[jj].fptr, cols[jj].datatype, in ffiter() 1911 ffgdes(cols[jj].fptr, cols[jj].colnum, frow,&cols[jj].repeat, NULL,status); in ffiter() 1914 if (ffpcn(cols[jj].fptr, cols[jj].datatype, cols[jj].colnum, frow, in ffiter() 1925 if (ffppr(cols[jj].fptr, cols[jj].datatype, in ffiter() 1937 ffgdes(cols[jj].fptr, cols[jj].colnum, frow,&cols[jj].repeat, NULL,status); in ffiter() [all …]
|
/dports/astro/oskar/OSKAR-2.8.0/extern/cfitsio/ |
H A D | putcol.c | 1218 cols[jj].colnum > ((cols[jj].fptr)->Fptr)->tfield) in ffiter() 1310 if (cols[ii].fptr == cols[jj].fptr) in ffiter() 1804 if (ffgpv(cols[jj].fptr, cols[jj].datatype, in ffiter() 1819 ffgdes(cols[jj].fptr, cols[jj].colnum, frow,&cols[jj].repeat, NULL,status); in ffiter() 1822 if (ffgcv(cols[jj].fptr, cols[jj].datatype, cols[jj].colnum, in ffiter() 1899 if (ffppn(cols[jj].fptr, cols[jj].datatype, in ffiter() 1911 ffgdes(cols[jj].fptr, cols[jj].colnum, frow,&cols[jj].repeat, NULL,status); in ffiter() 1914 if (ffpcn(cols[jj].fptr, cols[jj].datatype, cols[jj].colnum, frow, in ffiter() 1925 if (ffppr(cols[jj].fptr, cols[jj].datatype, in ffiter() 1937 ffgdes(cols[jj].fptr, cols[jj].colnum, frow,&cols[jj].repeat, NULL,status); in ffiter() [all …]
|
/dports/databases/grass7/grass-7.8.6/lib/gmath/ |
H A D | la.c | 67 tmp_arry->cols = cols; in G_matrix_init() 122 A->cols = cols; in G_matrix_set() 227 if (out->rows != matrix->rows || out->cols != matrix->cols) in G_matrix_scalar_mul() 303 if (mt1->rows != mt2->rows || mt1->cols != mt2->cols) { in G__matrix_add() 382 cols = (integer) mt2->cols; in G_matrix_product() 948 if (A->cols != b->cols) { in G_matvect_product() 1090 if ((v1->type == ROWVEC_ && v1->cols != v2->cols) || in G_vector_sub() 1160 A->cols = 1; in G_vector_set() 1380 if ((v1->type == ROWVEC_ && v1->cols != v2->cols) || in G_vector_product() 1446 tmp_arry->cols = vc1->cols; in G_vector_copy() [all …]
|
/dports/databases/py-gdbm/Python-3.8.12/Modules/_decimal/libmpdec/ |
H A D | transpose.c | 57 isrc = r * cols; in std_trans() 59 for (c = 0; c < cols; c++) { in std_trans() 98 m = cols - 1; in swap_halfrows_pow2() 115 stride = (offset + b < cols/2) ? b : cols/2-offset; in swap_halfrows_pow2() 117 hp = matrix + hn*cols/2; in swap_halfrows_pow2() 155 for (r = 0; r < cols; r++) { in squaretrans() 157 isrc = r*cols + c; in squaretrans() 158 idest = c*cols + r; in squaretrans() 164 idest += cols; in squaretrans() 250 assert(ispower2(cols)); in transpose_pow2() [all …]
|
/dports/lang/python37/Python-3.7.12/Modules/_decimal/libmpdec/ |
H A D | transpose.c | 57 isrc = r * cols; in std_trans() 59 for (c = 0; c < cols; c++) { in std_trans() 98 m = cols - 1; in swap_halfrows_pow2() 115 stride = (offset + b < cols/2) ? b : cols/2-offset; in swap_halfrows_pow2() 117 hp = matrix + hn*cols/2; in swap_halfrows_pow2() 155 for (r = 0; r < cols; r++) { in squaretrans() 157 isrc = r*cols + c; in squaretrans() 158 idest = c*cols + r; in squaretrans() 164 idest += cols; in squaretrans() 250 assert(ispower2(cols)); in transpose_pow2() [all …]
|
/dports/lang/python311/Python-3.11.0a3/Modules/_decimal/libmpdec/ |
H A D | transpose.c | 59 isrc = r * cols; in std_trans() 61 for (c = 0; c < cols; c++) { in std_trans() 100 m = cols - 1; in swap_halfrows_pow2() 117 stride = (offset + b < cols/2) ? b : cols/2-offset; in swap_halfrows_pow2() 119 hp = matrix + hn*cols/2; in swap_halfrows_pow2() 157 for (r = 0; r < cols; r++) { in squaretrans() 159 isrc = r*cols + c; in squaretrans() 160 idest = c*cols + r; in squaretrans() 166 idest += cols; in squaretrans() 252 assert(ispower2(cols)); in transpose_pow2() [all …]
|