Home
last modified time | relevance | path

Searched refs:scols (Results 1 – 25 of 119) sorted by relevance

12345

/dports/databases/percona-toolkit/percona-toolkit-3.3.0/t/lib/
H A DTableNibbler.t44 scols => [qw(film_id)],
64 scols => [qw(film_id)],
82 scols => [qw(film_id)],
119 scols => [qw(title)],
165 scols => [qw(title)],
187 scols => [qw(film_id)],
291 scols => [qw(rental_date)],
679 scols => [qw(a a d)],
694 scols => [qw(a a d)],
709 scols => [qw(a a d)],
[all …]
/dports/databases/grass7/grass-7.8.6/lib/segment/
H A Dformat.c63 int Segment_format(int fd, off_t nrows, off_t ncols, int srows, int scols, in Segment_format() argument
66 return seg_format(fd, nrows, ncols, srows, scols, len, 1); in Segment_format()
101 int Segment_format_nofill(int fd, off_t nrows, off_t ncols, int srows, int scols, in Segment_format_nofill() argument
104 return seg_format(fd, nrows, ncols, srows, scols, len, 0); in Segment_format_nofill()
109 int srows, int scols, int len, int fill) in seg_format() argument
114 if (nrows <= 0 || ncols <= 0 || len <= 0 || srows <= 0 || scols <= 0) { in seg_format()
116 nrows, ncols, srows, scols, len); in seg_format()
120 spr = ncols / scols; in seg_format()
121 if (ncols % scols) in seg_format()
124 size = srows * scols * len; in seg_format()
[all …]
H A Daddress.c21 ((((row) & ((SEG)->srows - 1)) << (SEG)->scolbits) + ((col) & ((SEG)->scols - 1)))
25 #define SEG_INDEX_ROW_ZERO(SEG, col) ((col) & ((SEG)->scols - 1))
47 *index = ((row & (SEG->srows - 1)) << SEG->scolbits) + (col & (SEG->scols - 1)); in seg_address_fast()
78 off_t seg_c = col / SEG->scols; in seg_address_slow()
81 *index = (row - seg_r * SEG->srows) * SEG->scols + col - in seg_address_slow()
82 seg_c * SEG->scols; in seg_address_slow()
86 *n = col / SEG->scols; in seg_address_slow()
87 *index = col - *n * SEG->scols; in seg_address_slow()
H A Dput_row.c48 int scols; in Segment_put_row() local
60 scols = SEG->scols; in Segment_put_row()
61 size = scols * SEG->len; in Segment_put_row()
64 for (col = 0; col < ncols; col += scols) { in Segment_put_row()
H A Dget_row.c47 int scols; in Segment_get_row() local
57 scols = SEG->scols; in Segment_get_row()
58 size = scols * SEG->len; in Segment_get_row()
60 for (col = 0; col < ncols; col += scols) { in Segment_get_row()
H A Dsetup.c45 || SEG->srows <= 0 || SEG->scols <= 0 in seg_setup()
54 SEG->spr = SEG->ncols / SEG->scols; in seg_setup()
55 SEG->spill = SEG->ncols % SEG->scols; in seg_setup()
63 while (SEG->scols - (1 << seg_exp) > 0) in seg_setup()
66 if (SEG->scols - (1 << seg_exp) == 0) { in seg_setup()
121 SEG->srowscols = SEG->srows * SEG->scols; in seg_setup()
H A Dopen.c48 int srows, int scols, int len, int nseg) in Segment_open() argument
54 ((ncols + scols - 1) / scols); in Segment_open()
90 scols, len))) { in Segment_open()
/dports/devel/util-linux/util-linux-2.36/libsmartcols/samples/
H A DMakemodule.am3 sample-scols-title \
4 sample-scols-wrap \
5 sample-scols-continuous \
6 sample-scols-fromfile \
7 sample-scols-grouping-simple \
8 sample-scols-grouping-overlay \
9 sample-scols-maxout
16 check_PROGRAMS += sample-scols-tree
/dports/databases/grass7/grass-7.8.6/lib/python/pygrass/raster/
H A Dsegment.py15 def __init__(self, srows=64, scols=64, maxmem=100): argument
17 self.scols = scols
31 ((cols + self.scols - 1) / self.scols))
38 self.cols() / self.scols + 2)
52 self.srows, self.scols,
68 self.cols(), self.srows, self.scols, size)
72 self.srows, self.scols, size)
108 return row_index / self.srows * self.cols / self.scols + \
109 col_index / self.scols
/dports/math/vtk9/VTK-9.1.0/IO/Image/
H A DvtkPostScriptWriter.cxx34 int cols, rows, scols, srows; in WriteFileHeader() local
46 scols = (int)(cols * pixfac); in WriteFileHeader()
48 if (scols > pagewid * VTK_MARGIN || srows > pagehgt * VTK_MARGIN) in WriteFileHeader()
50 if (scols > pagewid * VTK_MARGIN) in WriteFileHeader()
52 scale = scale * (pagewid * VTK_MARGIN / scols); in WriteFileHeader()
53 scols = (int)(scale * cols * pixfac); in WriteFileHeader()
59 scols = (int)(scale * cols * pixfac); in WriteFileHeader()
63 float llx = (pagewid - scols) / 2; in WriteFileHeader()
71 *file << "%%BoundingBox: " << (int)llx << " " << (int)lly << " " << (int)(llx + scols + 0.5) in WriteFileHeader()
97 *file << scols << " " << srows << " scale\n"; in WriteFileHeader()
/dports/math/vtk8/VTK-8.2.0/IO/Image/
H A DvtkPostScriptWriter.cxx40 int cols, rows, scols, srows; in WriteFileHeader() local
52 scols = (int)(cols * pixfac); in WriteFileHeader()
54 if ( scols > pagewid * VTK_MARGIN || srows > pagehgt * VTK_MARGIN ) in WriteFileHeader()
56 if ( scols > pagewid * VTK_MARGIN ) in WriteFileHeader()
58 scale = scale*(pagewid * VTK_MARGIN / scols); in WriteFileHeader()
59 scols = (int)(scale * cols * pixfac); in WriteFileHeader()
65 scols = (int)(scale * cols * pixfac); in WriteFileHeader()
69 float llx = ( pagewid - scols ) / 2; in WriteFileHeader()
78 << " " << (int) ( llx + scols + 0.5 ) << " " << in WriteFileHeader()
104 *file << scols << " " << srows << " scale\n"; in WriteFileHeader()
/dports/math/vtk6/VTK-6.2.0/IO/Image/
H A DvtkPostScriptWriter.cxx40 int cols, rows, scols, srows; in WriteFileHeader() local
52 scols = (int)(cols * pixfac); in WriteFileHeader()
54 if ( scols > pagewid * VTK_MARGIN || srows > pagehgt * VTK_MARGIN ) in WriteFileHeader()
56 if ( scols > pagewid * VTK_MARGIN ) in WriteFileHeader()
58 scale = scale*(pagewid * VTK_MARGIN / scols); in WriteFileHeader()
59 scols = (int)(scale * cols * pixfac); in WriteFileHeader()
65 scols = (int)(scale * cols * pixfac); in WriteFileHeader()
69 float llx = ( pagewid - scols ) / 2; in WriteFileHeader()
78 << " " << (int) ( llx + scols + 0.5 ) << " " << in WriteFileHeader()
104 *file << scols << " " << srows << " scale\n"; in WriteFileHeader()
/dports/databases/grass7/grass-7.8.6/imagery/i.segment/
H A Dopen_files.c118 scols = 64; in open_files()
125 scols, inlen, nseg) != 1) in open_files()
131 scols, inlen, nseg) != 1) in open_files()
140 scols, outlen, nseg * 2) != 1) in open_files()
299 load_seeds(globals, srows, scols, nseg); in open_files()
564 sizeof(CELL) * 4 * srows * scols); in manage_memory()
569 sizeof(CELL) * 4 * srows * scols); in manage_memory()
577 sizeof(CELL) * 2 * srows * scols); in manage_memory()
582 sizeof(CELL) * 2 * srows * scols); in manage_memory()
586 (globals->ncols / scols + (globals->ncols % scols > 0)); in manage_memory()
[all …]
/dports/net/kamailio/kamailio-5.4.5/src/modules/mtree/
H A Dmtree.c148 if(scols!=NULL && scols->s!=NULL && scols->len>0) { in mt_init_tree()
149 pt->scols[0].s = (char*)shm_malloc((1+scols->len)*sizeof(char)); in mt_init_tree()
150 if(pt->scols[0].s==NULL) { in mt_init_tree()
157 memset(pt->scols[0].s, 0, (1+scols->len)*sizeof(char)); in mt_init_tree()
158 memcpy(pt->scols[0].s, scols->s, scols->len); in mt_init_tree()
159 pt->scols[0].len = scols->len; in mt_init_tree()
163 pt->scols[c].len = (pt->scols[0].s + i - pt->scols[c].s); in mt_init_tree()
165 pt->scols[c].len, pt->scols[c].s); in mt_init_tree()
175 pt->scols[c].s = pt->scols[0].s + i + 1; in mt_init_tree()
176 pt->scols[c].len = pt->scols[0].s + scols->len - pt->scols[c].s; in mt_init_tree()
[all …]
/dports/math/grace/grace-5.1.25/src/
H A Deditpwin.c102 *scols = 1; in get_ep_set_dims()
104 *scols = 0; in get_ep_set_dims()
117 int nrows, ncols, scols, nc, nr; in del_rows_cb() local
178 int nrows, ncols, scols; in add_row_cb() local
310 int nrows, ncols, scols; in leaveCB() local
320 if (cs->column >= ncols + scols) { in leaveCB()
381 int ncols, nrows, scols; in get_cell_content() local
428 int ncols, nrows, scols; in labelCB() local
514 int ncols, nrows, scols; in update_cells() local
566 if (scols) { in update_cells()
[all …]
/dports/comms/mgetty+sendfax/mgetty-1.1.37/patches/
H A Dpnmtops.p1216 ! scols = scale * cols * pixfac;
220 if ( scols > pagewid * MARGIN )
222 scale *= pagewid / scols * MARGIN;
223 ! scols = scale * cols * pixfac;
229 ! scols = scale * cols * pixfac;
235 ! llx = ( pagewid - scols ) / 2;
244 ! scols = scale * xscale * cols * pixfac;
249 if ( scols > pagewid * MARGIN )
251 scale *= pagewid / scols * MARGIN;
252 ! scols = scale * cols * xscale * pixfac;
[all …]
/dports/databases/percona-toolkit/percona-toolkit-3.3.0/lib/
H A DTableNibbler.pm109 scols => [],
135 $asc_stmt->{scols} = $cmp_where->{scols};
220 scols => \@r_scols,
279 scols => [],
293 push @{$del_stmt->{scols}}, $col, $col;
298 push @{$del_stmt->{scols}}, $col;
/dports/graphics/argyllcms/Argyll_V1.9.2/spectro/
H A Dchartread.c1263 if (scols[i]->rr == 0) in read_strips()
1335 scols[i]->id, scols[i]->loc); in read_strips()
1753 if (scols[pix]->rr == 0 && strcmp(scols[pix]->id, "0") != 0) in read_strips()
1798 if (scols[i]->rr == 0 && strcmp(scols[i]->id, "0") != 0) in read_strips()
1803 printf("\nReady to read patch '%s' at '%s'%s\n",scols[pix]->id, scols[pix]->loc, in read_strips()
2009 if (scols[i]->rr == 0 && strcmp(scols[i]->id, "0") != 0) in read_strips()
2018 scols[i]->id, scols[i]->loc); in read_strips()
2065 icmLab2XYZ(&icmD50, scols[pix]->XYZ,scols[pix]->XYZ); in read_strips()
2072 printf(" Got XYZ value %f %f %f\n",scols[pix]->XYZ[0], scols[pix]->XYZ[1], scols[pix]->XYZ[2]); in read_strips()
2824 scols[i] = &cols[i]; in main()
[all …]
/dports/www/rt44/rt-4.4.5/sbin/
H A Drt-validator1309 my ($stable, @scols) = (shift, shift);
1313 @scols = @{ $scols[0] } if ref $scols[0];
1319 my $query = "SELECT s.id, ". join(', ', map "s.$_", @scols)
1322 …' AND ', map columns_eq_cond('s', $stable, $scols[$_] => 't', $ttable, $tcols[$_]), (0..(@scols-1))
1326 ." AND ". join(' AND ', map "s.$_ IS NOT NULL", @scols);
1332 my $type = $TYPE{"$stable.$scols[0]"} || 'number';
1334 $query .= " AND s.$scols[0] != ?"
1337 $query .= " AND s.$scols[0] NOT LIKE ?"
1349 for ( my $i = 0; $i < @scols; $i++ ) {
1350 print STDERR "\t$scols[$i] => '$set[$i]' => $tcols[$i]\n";
[all …]
H A Drt-validator.in1309 my ($stable, @scols) = (shift, shift);
1313 @scols = @{ $scols[0] } if ref $scols[0];
1319 my $query = "SELECT s.id, ". join(', ', map "s.$_", @scols)
1322 …' AND ', map columns_eq_cond('s', $stable, $scols[$_] => 't', $ttable, $tcols[$_]), (0..(@scols-1))
1326 ." AND ". join(' AND ', map "s.$_ IS NOT NULL", @scols);
1332 my $type = $TYPE{"$stable.$scols[0]"} || 'number';
1334 $query .= " AND s.$scols[0] != ?"
1337 $query .= " AND s.$scols[0] NOT LIKE ?"
1349 for ( my $i = 0; $i < @scols; $i++ ) {
1350 print STDERR "\t$scols[$i] => '$set[$i]' => $tcols[$i]\n";
[all …]
/dports/www/rt50/rt-5.0.2/sbin/
H A Drt-validator1309 my ($stable, @scols) = (shift, shift);
1313 @scols = @{ $scols[0] } if ref $scols[0];
1319 my $query = "SELECT s.id, ". join(', ', map "s.$_", @scols)
1322 …' AND ', map columns_eq_cond('s', $stable, $scols[$_] => 't', $ttable, $tcols[$_]), (0..(@scols-1))
1326 ." AND ". join(' AND ', map "s.$_ IS NOT NULL", @scols);
1332 my $type = $TYPE{"$stable.$scols[0]"} || 'number';
1334 $query .= " AND s.$scols[0] != ?"
1337 $query .= " AND s.$scols[0] NOT LIKE ?"
1349 for ( my $i = 0; $i < @scols; $i++ ) {
1350 print STDERR "\t$scols[$i] => '$set[$i]' => $tcols[$i]\n";
[all …]
H A Drt-validator.in1309 my ($stable, @scols) = (shift, shift);
1313 @scols = @{ $scols[0] } if ref $scols[0];
1319 my $query = "SELECT s.id, ". join(', ', map "s.$_", @scols)
1322 …' AND ', map columns_eq_cond('s', $stable, $scols[$_] => 't', $ttable, $tcols[$_]), (0..(@scols-1))
1326 ." AND ". join(' AND ', map "s.$_ IS NOT NULL", @scols);
1332 my $type = $TYPE{"$stable.$scols[0]"} || 'number';
1334 $query .= " AND s.$scols[0] != ?"
1337 $query .= " AND s.$scols[0] NOT LIKE ?"
1349 for ( my $i = 0; $i < @scols; $i++ ) {
1350 print STDERR "\t$scols[$i] => '$set[$i]' => $tcols[$i]\n";
[all …]
/dports/devel/notcurses/notcurses-3.0.1/src/tests/
H A Dreel.cpp75 unsigned srows, scols; in check_allborders() local
76 ncplane_dim_yx(notcurses_stdplane(ncplane_notcurses(ncp)), &srows, &scols); in check_allborders()
78 CHECK(scols == cols + 4); in check_allborders()
88 unsigned srows, scols; in check_noborders() local
89 ncplane_dim_yx(notcurses_stdplane(ncplane_notcurses(ncp)), &srows, &scols); in check_noborders()
91 CHECK(scols == cols); in check_noborders()
101 unsigned srows, scols; in check_notborders() local
102 ncplane_dim_yx(notcurses_stdplane(ncplane_notcurses(ncp)), &srows, &scols); in check_notborders()
104 CHECK(scols == cols + 2); in check_notborders()
114 unsigned srows, scols; in check_norborders() local
[all …]
/dports/databases/grass7/grass-7.8.6/raster/r.spreadpath/
H A Dmain.c70 srows, scols, in main() local
159 scols = ncols / 4 + 1; in main()
165 Segment_open(&in_row_seg, in_row_file, nrows, ncols, srows, scols, len, 4); in main()
166 Segment_open(&in_col_seg, in_col_file, nrows, ncols, srows, scols, len, 4); in main()
168 Segment_open(&out_seg, out_file, nrows, ncols, srows, scols, len, 4); in main()
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/filters/rank/
H A Dcore_cy_3d.pyx26 Py_ssize_t scols, argument
55 for c in range(scols):
90 Py_ssize_t scols, argument
98 for c in range(scols):
183 cdef Py_ssize_t scols = footprint.shape[2]
199 if not 0 <= centre_c < scols:
221 cdef Py_ssize_t se_size = splanes * srows * scols
227 _count_attack_border_elements(footprint, se, num_se, splanes, srows, scols,
236 splanes, srows, scols,

12345