Home
last modified time | relevance | path

Searched +refs:new +refs:cols (Results 151 – 175 of 6861) sorted by relevance

12345678910>>...275

/dports/security/vault/vault-1.8.2/vendor/github.com/apple/foundationdb/fdbcli/linenoise/
H A Dlinenoise.c261 int cols, rows; in getCursorPosition() local
278 return cols; in getCursorPosition()
447 char *new = realloc(ab->b,ab->len+len); in abAppend() local
449 if (new == NULL) return; in abAppend()
450 memcpy(new+ab->len,s,len); in abAppend()
451 ab->b = new; in abAppend()
1074 char **new; in linenoiseHistorySetMaxLen() local
1080 new = malloc(sizeof(char*)*len); in linenoiseHistorySetMaxLen()
1081 if (new == NULL) return 0; in linenoiseHistorySetMaxLen()
1090 memset(new,0,sizeof(char*)*len); in linenoiseHistorySetMaxLen()
[all …]
/dports/net-mgmt/net-snmp/net-snmp-5.9/perl/AnyData_SNMP/
H A DStorage.pm62 my $count = $#cols;
65 push @cols, $index;
91 return \@cols;
105 $cols{$i} = ++$cnt;
109 return \%cols;
191 if ($#$cols == -1) {
201 @retcols = @$cols;
238 @$cols = ();
270 my $new = SNMP::translateObj($_->[2], 0);
274 if ($new) {
[all …]
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/src/
H A Dproperty_registry.h99 int cols;
102 cols(N) in VectorProperty()
104 data = new double[N]; in VectorProperty()
116 for(int col = 1; col < cols; col++) { in print_value()
118 if((col+1) < cols) fprintf(out, " "); in print_value()
128 int cols; variable
132 cols(M) in MatrixProperty()
134 double * array = new double[N*M]; in MatrixProperty()
135 data = new double*[N]; in MatrixProperty()
157 for(int col = 1; col < cols; col++) { in print_value()
[all …]
/dports/devel/py-pyface/pyface-7.2.0/pyface/wx/spreadsheet/
H A Dvirtual_model.py117 for current, new, delmsg, addmsg in [
131 if new < current:
132 msg = GridTableMessage(self, delmsg, new, current - new)
134 elif new > current:
135 msg = GridTableMessage(self, addmsg, new - current)
217 def DeleteCols88(self, cols): argument
226 cols = cols[:]
227 cols.sort()
228 for i in cols:
/dports/math/R-cran-dplyr/dplyr/R/
H A Dsummarise.R129 out <- summarise_build(.data, cols)
139 out <- summarise_build(.data, cols)
143 if (cols$all_one) {
181 out <- summarise_build(.data, cols)
204 mask <- DataMask$new(.data, caller_env)
212 cols <- list() list
294 cols[[ out_names[i] ]] <- result
348 list(new = cols, size = sizes, all_one = identical(sizes, 1L)) nameattr
351 summarise_build <- function(.data, cols) { argument
353 if (!cols$all_one) {
[all …]
/dports/math/spectra/spectra-1.0.0/include/Spectra/contrib/
H A DPartialSVDSolver.h27 virtual Index cols() const = 0;
56 m_dim((std::min)(mat.rows(), mat.cols())), in SVDTallMatOp()
62 Index cols() const override { return m_dim; } in cols() function
67 MapConstVec x(x_in, m_mat.cols()); in perform_op()
68 MapVec y(y_out, m_mat.cols()); in perform_op()
96 m_cache(mat.cols()) in SVDWideMatOp()
141 m_op = new SVDTallMatOp<Scalar, MatrixType>(mat); in PartialSVDSolver()
145 m_op = new SVDWideMatOp<Scalar, MatrixType>(mat); in PartialSVDSolver()
149 m_eigs = new SymEigsSolver<SVDMatOp<Scalar>>(*m_op, ncomp, ncv); in PartialSVDSolver()
179 if (m_evecs.cols() < 1) in matrix_U()
[all …]
/dports/lang/nim/nim-1.6.2/lib/wrappers/linenoise/
H A Dlinenoise.c264 int cols, rows; in getCursorPosition() local
281 return cols; in getCursorPosition()
462 char *new = realloc(ab->b,ab->len+len); in abAppend() local
464 if (new == NULL) return; in abAppend()
465 memcpy(new+ab->len,s,len); in abAppend()
466 ab->b = new; in abAppend()
1142 char **new; in linenoiseHistorySetMaxLen() local
1148 new = malloc(sizeof(char*)*len); in linenoiseHistorySetMaxLen()
1149 if (new == NULL) return 0; in linenoiseHistorySetMaxLen()
1158 memset(new,0,sizeof(char*)*len); in linenoiseHistorySetMaxLen()
[all …]
/dports/databases/redis-devel/redis-0e5b813/deps/linenoise/
H A Dlinenoise.c280 int cols, rows; in getCursorPosition() local
297 return cols; in getCursorPosition()
478 char *new = realloc(ab->b,ab->len+len); in abAppend() local
480 if (new == NULL) return; in abAppend()
481 memcpy(new+ab->len,s,len); in abAppend()
482 ab->b = new; in abAppend()
1162 char **new; in linenoiseHistorySetMaxLen() local
1168 new = malloc(sizeof(char*)*len); in linenoiseHistorySetMaxLen()
1169 if (new == NULL) return 0; in linenoiseHistorySetMaxLen()
1178 memset(new,0,sizeof(char*)*len); in linenoiseHistorySetMaxLen()
[all …]
/dports/databases/redis5/redis-5.0.14/deps/linenoise/
H A Dlinenoise.c264 int cols, rows; in getCursorPosition() local
281 return cols; in getCursorPosition()
462 char *new = realloc(ab->b,ab->len+len); in abAppend() local
464 if (new == NULL) return; in abAppend()
465 memcpy(new+ab->len,s,len); in abAppend()
466 ab->b = new; in abAppend()
1134 char **new; in linenoiseHistorySetMaxLen() local
1140 new = malloc(sizeof(char*)*len); in linenoiseHistorySetMaxLen()
1141 if (new == NULL) return 0; in linenoiseHistorySetMaxLen()
1150 memset(new,0,sizeof(char*)*len); in linenoiseHistorySetMaxLen()
[all …]
/dports/databases/redis6/redis-6.0.16/deps/linenoise/
H A Dlinenoise.c278 int cols, rows; in getCursorPosition() local
295 return cols; in getCursorPosition()
476 char *new = realloc(ab->b,ab->len+len); in abAppend() local
478 if (new == NULL) return; in abAppend()
479 memcpy(new+ab->len,s,len); in abAppend()
480 ab->b = new; in abAppend()
1160 char **new; in linenoiseHistorySetMaxLen() local
1166 new = malloc(sizeof(char*)*len); in linenoiseHistorySetMaxLen()
1167 if (new == NULL) return 0; in linenoiseHistorySetMaxLen()
1176 memset(new,0,sizeof(char*)*len); in linenoiseHistorySetMaxLen()
[all …]
/dports/ports-mgmt/pkg/pkg-1.17.5/external/linenoise/
H A Dlinenoise.c264 int cols, rows; in getCursorPosition() local
281 return cols; in getCursorPosition()
462 char *new = realloc(ab->b,ab->len+len); in abAppend() local
464 if (new == NULL) return; in abAppend()
465 memcpy(new+ab->len,s,len); in abAppend()
466 ab->b = new; in abAppend()
1136 char **new; in linenoiseHistorySetMaxLen() local
1142 new = malloc(sizeof(char*)*len); in linenoiseHistorySetMaxLen()
1143 if (new == NULL) return 0; in linenoiseHistorySetMaxLen()
1152 memset(new,0,sizeof(char*)*len); in linenoiseHistorySetMaxLen()
[all …]
/dports/devel/fossil/fossil-src-2.17/src/
H A Dlinenoise.c278 int cols, rows; in getCursorPosition() local
295 return cols; in getCursorPosition()
476 char *new = realloc(ab->b,ab->len+len); in abAppend() local
478 if (new == NULL) return; in abAppend()
479 memcpy(new+ab->len,s,len); in abAppend()
480 ab->b = new; in abAppend()
1161 char **new; in linenoiseHistorySetMaxLen() local
1167 new = malloc(sizeof(char*)*len); in linenoiseHistorySetMaxLen()
1168 if (new == NULL) return 0; in linenoiseHistorySetMaxLen()
1177 memset(new,0,sizeof(char*)*len); in linenoiseHistorySetMaxLen()
[all …]
/dports/databases/libcouchbase/libcouchbase-2.10.7/tools/linenoise/
H A Dlinenoise.c263 int cols, rows;
280 return cols;
461 char *new = realloc(ab->b,ab->len+len);
463 if (new == NULL) return;
464 memcpy(new+ab->len,s,len);
465 ab->b = new;
1134 char **new;
1140 new = malloc(sizeof(char*)*len);
1141 if (new == NULL) return 0;
1150 memset(new,0,sizeof(char*)*len);
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/issues/
H A Dissue-15734.rs7 struct Mat<T> { data: Vec<T>, cols: usize, } field
10 fn new(data: Vec<T>, cols: usize) -> Mat<T> { in new() method
11 Mat { data: data, cols: cols } in new()
22 &self.data[row * self.cols + col] in index()
45 let m = Mat::new(vec![1, 2, 3, 4, 5, 6], 3); in main()
/dports/games/gnome-sudoku/gnome-sudoku-40.2/lib/
H A Dsudoku-generator.vala65 var board = new SudokuBoard ();
66 int[] puzzle = new int[board.rows * board.cols];
71 for (var col = 0; col < board.cols; col++)
73 var val = puzzle[(row * board.cols) + col];
85 var boards = new ArrayList<SudokuBoard> ();
86 var pool = new ThreadPool<Worker>.with_owned_data ((worker) => {
99 pool.add (new Worker (nboards, category, boards, generate_boards_async.callback));
110 var puzzle = new int[board.rows * board.cols];
113 for (var col = 0; col < board.cols; col++)
114 puzzle[(row * board.cols) + col] = cells[row, col];
/dports/math/fricas/fricas-1.3.7/src/algebra/
H A Dnumarr.spad10 ++ qnew(n) creates a new uninitialized vector of length n.
26 new(n, x) == Qnew1(n, x)
72 qnew(rows, cols) == Qnew(rows, cols)
73 new(rows, cols, a) == Qnew1(rows, cols, a)
86 ++ qnew(n) creates a new uninitialized vector of length n.
103 new(n, x) ==
151 qnew(rows, cols) == Qnew(rows, cols)
152 new(rows, cols, a) ==
153 res : % := Qnew(rows, cols)
155 for j in 0..(cols - 1) repeat
/dports/devel/hadoop/hadoop-1.2.1/src/webapps/datanode/
H A DbrowseDirectory.jsp39 static JspHelper jspHelper = new JspHelper();
118 File f = new File(dir);
135 String cols [] = new String[headings.length];
142 cols[1] = "file";
148 cols[1] = "dir";
149 cols[2] = "";
150 cols[3] = "";
151 cols[4] = "";
158 cols[5] = FsShell.dateForm.format(new Date((files[i].getModificationTime())));
160 cols[7] = files[i].getOwner();
[all …]
/dports/misc/broot/broot-1.7.0/cargo-crates/termimad-0.17.0/src/
H A Dtbl.rs103 let mut cols: Vec<Col> = widths in reduce_col_widths() localVariable
114 cols.sort_by_key(|c| cmp::Reverse(c.width)); in reduce_col_widths()
125 for col in &mut cols { in reduce_col_widths()
138 for col in cols.iter_mut() { in reduce_col_widths()
151 for col in &mut cols { in reduce_col_widths()
159 for col in &mut cols { in reduce_col_widths()
173 for c in cols { in reduce_col_widths()
190 cells.push(FmtComposite::new()); in fix_columns()
232 cells_to_add.push(Vec::new()); in fix_columns()
252 FmtComposite::new() in fix_columns()
[all …]
/dports/graphics/dssim/dssim-3.1.2/cargo-crates/lcms2-5.4.1/src/
H A Dstage.rs29 ffi::cmsStageAllocIdentity(GlobalContext::new().as_ptr(), channels) in new_identity()
37 … ffi::cmsStageAllocToneCurves(GlobalContext::new().as_ptr(), ptrs.len() as u32, ptrs.as_ptr()) in new_tone_curves()
45 …pub fn new_matrix(matrix2d: &[f64], rows: usize, cols: usize, offsets: Option<&[f64]>) -> LCMSResu… in new_matrix()
46 if matrix2d.len() < rows * cols { in new_matrix()
50 if offsets.len() < cols { in new_matrix()
55 …ffi::cmsStageAllocMatrix(GlobalContext::new().as_ptr(), rows as u32, cols as u32, matrix2d.as_ptr(… in new_matrix()
71 …Value::stage_alloc_clut(GlobalContext::new().as_ptr(), grid_point_nodes as u32, input_channels, ou… in new_clut()
/dports/databases/grass7/grass-7.8.6/lib/python/docs/src/
H A Dpygrass_raster.rst46 >>> new = raster.RasterRow('new')
57 >>> print(new)
60 >>> new.rename('new')
62 new
80 >>> # the .info.cols attribute is set to total number of map cols only when the map is open
81 >>> # cols in .info.cols equals the number reported by r.info module
83 >>> elev.info.cols
90 >>> elev.info.cols
94 >>> # number of available rows/cols also can be determined by len()
107 >>> new = raster.RasterRow('new')
[all …]
/dports/emulators/dps8m/dps8m-572f79bb4f0f84a8b16c3892c894c2b9ed64b458/src/simh/
H A Dlinehistory.c587 char *new = realloc(ab->b, ab->len + len); in abAppend() local
589 if (new == NULL) in abAppend()
594 memcpy(new + ab->len, s, len); in abAppend()
595 ab->b = new; in abAppend()
822 rpos2 = ( plen + l->pos + l->cols ) / l->cols; in refreshMultiLine()
1758 char **new; in linenoiseHistorySetMaxLen() local
1769 new = malloc(sizeof ( char * ) * len); in linenoiseHistorySetMaxLen()
1770 if (new == NULL) in linenoiseHistorySetMaxLen()
1788 memset(new, 0, sizeof ( char * ) * len); in linenoiseHistorySetMaxLen()
1790 new, in linenoiseHistorySetMaxLen()
[all …]
/dports/devel/bullet/bullet3-3.21/examples/ThirdPartyLibs/Eigen/src/SVD/
H A DJacobiSVD.h78 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) in allocate()
81 ::new (&m_qr) QRType(svd.rows(), svd.cols()); in allocate()
124 if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) in allocate()
127 ::new (&m_qr) QRType(svd.cols(), svd.rows()); in allocate()
161 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) in allocate()
164 ::new (&m_qr) QRType(svd.rows(), svd.cols()); in allocate()
214 if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) in allocate()
217 ::new (&m_qr) QRType(svd.cols(), svd.rows()); in allocate()
259 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) in allocate()
262 ::new (&m_qr) QRType(svd.rows(), svd.cols()); in allocate()
[all …]
/dports/math/pdal/PDAL-2.3.0/vendor/eigen/Eigen/src/SVD/
H A DJacobiSVD.h78 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) in allocate()
81 ::new (&m_qr) QRType(svd.rows(), svd.cols()); in allocate()
124 if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) in allocate()
127 ::new (&m_qr) QRType(svd.cols(), svd.rows()); in allocate()
161 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) in allocate()
164 ::new (&m_qr) QRType(svd.rows(), svd.cols()); in allocate()
215 if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) in allocate()
218 ::new (&m_qr) QRType(svd.cols(), svd.rows()); in allocate()
260 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) in allocate()
263 ::new (&m_qr) QRType(svd.rows(), svd.cols()); in allocate()
[all …]
/dports/graphics/blender/blender-2.91.0/extern/Eigen3/Eigen/src/SVD/
H A DJacobiSVD.h78 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) in allocate()
81 ::new (&m_qr) QRType(svd.rows(), svd.cols()); in allocate()
124 if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) in allocate()
127 ::new (&m_qr) QRType(svd.cols(), svd.rows()); in allocate()
161 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) in allocate()
164 ::new (&m_qr) QRType(svd.rows(), svd.cols()); in allocate()
215 if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) in allocate()
218 ::new (&m_qr) QRType(svd.cols(), svd.rows()); in allocate()
260 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) in allocate()
263 ::new (&m_qr) QRType(svd.rows(), svd.cols()); in allocate()
[all …]
/dports/math/eigen3/eigen-3.3.9/Eigen/src/SVD/
H A DJacobiSVD.h78 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) in allocate()
81 ::new (&m_qr) QRType(svd.rows(), svd.cols()); in allocate()
124 if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) in allocate()
127 ::new (&m_qr) QRType(svd.cols(), svd.rows()); in allocate()
161 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) in allocate()
164 ::new (&m_qr) QRType(svd.rows(), svd.cols()); in allocate()
215 if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols()) in allocate()
218 ::new (&m_qr) QRType(svd.cols(), svd.rows()); in allocate()
260 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols()) in allocate()
263 ::new (&m_qr) QRType(svd.rows(), svd.cols()); in allocate()
[all …]

12345678910>>...275