/dports/games/54321/54321/code/ |
H A D | font.cpp | 10 this->widths[ ii ] = 0; in Font() 13 this->widths[ ii ] = 8; in Font() 16 this->widths[ ' ' ] = 4; in Font() 17 this->widths[ ',' ] = 4; in Font() 18 this->widths[ 't' ] = 6; in Font() 20 this->widths[ '!' ] = 5; in Font() 21 this->widths[ '-' ] = 7; in Font() 22 this->widths[ 'E' ] = 7; in Font() 23 this->widths[ ']' ] = 6; in Font() 24 this->widths[ 'i' ] = 4; in Font() [all …]
|
/dports/finance/quantlib/QuantLib-1.20/Examples/EquityOption/ |
H A D | EquityOption.cpp | 91 Size widths[] = { 35, 14, 14, 14 }; in main() local 143 std::cout << std::setw(widths[0]) << std::left << method in main() 146 << std::setw(widths[2]) << std::left << "N/A" in main() 147 << std::setw(widths[3]) << std::left << "N/A" in main() 164 << std::setw(widths[2]) << std::left << "N/A" in main() 165 << std::setw(widths[3]) << std::left << "N/A" in main() 181 << std::setw(widths[2]) << std::left << "N/A" in main() 182 << std::setw(widths[3]) << std::left << "N/A" in main() 198 << std::setw(widths[2]) << std::left << "N/A" in main() 199 << std::setw(widths[3]) << std::left << "N/A" in main() [all …]
|
/dports/games/54321/54321/nws/ |
H A D | font.nw | 43 this->widths[ ii ] = 0; 46 this->widths[ ii ] = 8; 60 this->widths[ ' ' ] = 4; 61 this->widths[ ',' ] = 4; 62 this->widths[ 't' ] = 6; 64 this->widths[ '!' ] = 5; 65 this->widths[ '-' ] = 7; 66 this->widths[ 'E' ] = 7; 67 this->widths[ ']' ] = 6; 68 this->widths[ 'i' ] = 4; [all …]
|
/dports/graphics/py-traitsui/traitsui-7.1.1/traitsui/tests/ |
H A D | test_helper.py | 31 self.assertEqual(widths, [50, 50, 50, 50]) 39 self.assertEqual(widths, [10, 50, 40, 20]) 47 self.assertEqual(widths, [10, 50, 40, 20]) 55 self.assertEqual(widths, [60, 40, 50, 50]) 63 self.assertEqual(widths, [70, 30, 30, 70]) 71 self.assertEqual(widths, [50, 50, 25, 75]) 79 self.assertEqual(widths, [30, 50, 25, 30]) 86 widths = compute_column_widths( 90 self.assertEqual(widths, [50, 50, 50, 75]) 97 widths = compute_column_widths( [all …]
|
/dports/misc/broot/broot-1.7.0/cargo-crates/termimad-0.10.3/src/ |
H A D | tbl.rs | 33 pub widths: Vec<usize>, field 39 self.widths.truncate(nbcols); in set_nbcols() 42 if ic >= self.widths.len() { in set_nbcols() 43 self.widths.push(0); in set_nbcols() 95 if widths.len()==1 { in reduce_col_widths() 96 widths[0] = goal; in reduce_col_widths() 101 let mut cols: Vec<Col> = widths in reduce_col_widths() 185 widths[ic] = widths[ic].max(cells[ic].visible_length); in fix_columns() 205 widths[ic] = 3; in fix_columns() 274 rule.widths[ic] = widths[ic]; in fix_columns() [all …]
|
/dports/multimedia/zoneminder/zoneminder-1.36.5/web/api/lib/Cake/Console/Helper/ |
H A D | TableShellHelper.php | 41 $widths = array(); 45 if ($columnLength > (isset($widths[$i]) ? $widths[$i] : 0)) { 46 $widths[$i] = $columnLength; 50 return $widths; 61 foreach ($widths as $column) { 79 $pad = $widths[$i] - mb_strlen($column); 98 $this->_rowSeparator($widths); 101 $this->_rowSeparator($widths); 104 $this->_render($line, $widths); 106 $this->_rowSeparator($widths); [all …]
|
/dports/net-mgmt/icingaweb2/icingaweb2-2.8.2/library/vendor/dompdf/src/Renderer/ |
H A D | Inline.php | 35 $widths = array( 82 … $this->$method($x, $y, $h + $widths[0] + $widths[2], $bp["left"]["color"], $widths, "left"); 90 … $this->$method($x, $y, $w + $widths[1] + $widths[3], $bp["top"]["color"], $widths, "top"); 95 …$this->$method($x, $y + $h + $widths[0] + $widths[2], $w + $widths[1] + $widths[3], $bp["bottom"][… 136 $this->_canvas->filled_rectangle($x + $widths[3], $y + $widths[0], $w, $h, $bg); 148 $this->_background_image($url, $x + $widths[3], $y + $widths[0], $w, $h, $style); 152 $w += (float)$widths[1] + (float)$widths[3]; 153 $h += (float)$widths[0] + (float)$widths[2]; 162 $this->$method($x, $y, $h, $bp["left"]["color"], $widths, "left"); 168 $this->$method($x, $y, $w, $bp["top"]["color"], $widths, "top"); [all …]
|
/dports/print/py-fonttools3/fonttools-3.44.0/Lib/fontTools/cffLib/ |
H A D | width.py | 44 if not hasattr(widths, 'items'): 46 for w in widths: 48 widths = d 51 for w,freq in widths.items(): 67 for w in widths: 73 minw, maxw = min(widths), max(widths) 78 bestCost = len(widths) * 5 + 1 92 def optimizeWidths(widths): argument 100 for w in widths: 102 widths = d [all …]
|
/dports/textproc/p5-Text-Table-TinyBorderStyle/Text-Table-TinyBorderStyle-0.004/lib/Text/Table/ |
H A D | TinyBorderStyle.pm | 31 my $widths = _maxwidths($rows); 35 my $row_format = _get_row_format ($border_style_obj, $widths); 82 my $widths = []; 86 push @$widths, $max; 88 return $widths; 99 my ($border_style_obj, $widths) = @_; 110 my ($border_style_obj, $widths) = @_; 120 my ($border_style_obj, $widths) = @_; 130 my ($border_style_obj, $widths) = @_; 140 my ($border_style_obj, $widths) = @_; [all …]
|
/dports/finance/quantlib/QuantLib-1.20/Examples/Replication/ |
H A D | Replication.cpp | 80 Size widths[] = { 45, 15, 15 }; in main() local 81 Size totalWidth = widths[0]+widths[1]+widths[2]; in main() 127 std::cout << std::setw(widths[0]) << std::left in main() 198 std::cout << std::setw(widths[0]) << std::left in main() 229 std::cout << std::setw(widths[0]) << std::left in main() 260 std::cout << std::setw(widths[0]) << std::left in main() 283 std::cout << std::setw(widths[0]) << std::left in main() 291 std::cout << std::setw(widths[0]) << std::left in main() 299 std::cout << std::setw(widths[0]) << std::left in main() 307 std::cout << std::setw(widths[0]) << std::left in main() [all …]
|
/dports/print/py-fonttools/fonttools-4.28.2/Lib/fontTools/cffLib/ |
H A D | width.py | 47 if not hasattr(widths, 'items'): 49 for w in widths: 51 widths = d 54 for w,freq in widths.items(): 70 for w in widths: 76 minw, maxw = min(widths), max(widths) 81 bestCost = len(widths) * 5 + 1 95 def optimizeWidths(widths): argument 103 for w in widths: 105 widths = d [all …]
|
/dports/textproc/p5-Text-Table-Tiny/Text-Table-Tiny-1.02/lib/Text/Table/ |
H A D | Tiny.pm | 50 my @widths = _calculate_widths($rows); 74 : ($param{align}) x int(@widths) 78 @align = ('l') x int(@widths); 95 my ($param, $widths, $char) = @_; 103 my ($param, $widths, $char) = @_; 124 my ($param, $row, $widths, $align, $char) = @_; 132 my ($param, $widths, $char) = @_; 153 for (my $i = 0; $i < @$widths; $i++) { 185 my @widths; 193 $widths[$i] = $width if !defined($widths[$i]) [all …]
|
/dports/graphics/piddle/piddle-1.0.15/src/piddle/ |
H A D | piddlePSmetrics.py | 99 widths = [0] * 255 111 for i in range(len(widths)): 112 if widths[i] == 0: 113 widths[i] == widths[32] 115 return widths 122 global widths 123 self.__widtharrays = widths 130 widths = parseAFMfile(filename) 150 w = w + widths[ord(char)] 162 _psWidths = { 'StandardEncoding' : widths, [all …]
|
/dports/misc/broot/broot-1.7.0/cargo-crates/termimad-0.17.0/src/ |
H A D | tbl.rs | 36 pub widths: Vec<usize>, field 42 self.widths.truncate(nbcols); in set_nbcols() 46 self.widths.push(0); in set_nbcols() 98 if widths.len()==1 { in reduce_col_widths() 99 widths[0] = goal; in reduce_col_widths() 103 let mut cols: Vec<Col> = widths in reduce_col_widths() 192 widths[ic] = widths[ic].max(cells[ic].visible_length); in fix_columns() 214 widths[ic] = 3; in fix_columns() 284 rule.widths[..nbcols].clone_from_slice(&widths[..nbcols]); in fix_columns() 367 for &width in &widths { in test_col_reduction_bug_01() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/doc/docportal/help/ |
H A D | credits.rst | 15 :widths: 35 65 30 :widths: 35 65 41 :widths: 35 65 59 :widths: 35 65 70 :widths: 35 65 79 :widths: 35 65 104 :widths: 35 65 121 :widths: 35 65 208 :widths: 35 65 229 :widths: 35 65 [all …]
|
/dports/graphics/movit/movit-1.6.3/ |
H A D | deinterlace_effect.cpp | 64 widths[input_num] = width; in inform_input_size() 72 assert(widths[0] == widths[1]); in get_output_size() 73 assert(widths[1] == widths[2]); in get_output_size() 74 assert(widths[2] == widths[3]); in get_output_size() 75 assert(widths[3] == widths[4]); in get_output_size() 88 inv_width = 1.0 / widths[0]; in set_gl_state() 181 widths[input_num] = width; in inform_input_size() 188 assert(widths[0] == widths[1]); in get_output_size() 189 assert(widths[1] == widths[2]); in get_output_size() 190 assert(widths[2] == widths[3]); in get_output_size() [all …]
|
/dports/x11-toolkits/p5-Gtk2/Gtk2-1.24993/tools/ |
H A D | podifystockitems.pl | 32 my @widths = (0, 0, 0); 50 $widths[0] = length($data[$#data][0]) 51 if (length($data[$#data][0]) > $widths[0]); 52 $widths[1] = length($data[$#data][1]) 53 if (length($data[$#data][1]) > $widths[1]); 54 $widths[2] = length($data[$#data][2]) 55 if (length($data[$#data][2]) > $widths[2]); 58 my $end = ' +-'.'-'x$widths[0].'-+-'.'-'x$widths[1].'-+-' 59 .'-'x$widths[2]."-+\n"; 61 my $fmt = " | %-$widths[0]s | %-$widths[1]s | %-$widths[2]s |\n";
|
/dports/net/tightvnc/vnc_unixsrc/Xvnc/programs/Xserver/mi/ |
H A D | mispans.c | 245 tw = widths[a]; widths[a] = widths[b]; widths[b] = tw; \ 264 tw = widths[i]; 267 widths[k] = widths[k-1]; 270 widths[j] = tw; 405 xfree(spans->widths); 446 for (j = 0, points = spans->points, widths = spans->widths; 480 newspans->widths[newspans->count] = *widths; 507 if (widths) 508 xfree (widths); 521 widths[count] = yspans[i].widths[0]; [all …]
|
/dports/science/rdkit/rdkit-Release_2021_03_5/rdkit/sping/PDF/ |
H A D | pdfmetrics.py | 43 widths = { variable 263 widths = [0] * 255 272 widths[int(cid)] = int(width) 275 for i in range(len(widths)): 276 if widths[i] == 0: 277 widths[i] == widths[32] 279 return widths 287 global widths 288 self.__widtharrays = widths 294 widths = parseAFMfile(filename) [all …]
|
/dports/textproc/p5-Text-Table-TinyColor/Text-Table-TinyColor-0.002/lib/Text/Table/ |
H A D | TinyColor.pm | 28 my $widths = _maxwidths($rows); 32 my $format = _get_format($widths); 33 my $row_sep = _get_row_separator($widths); 34 my $head_row_sep = _get_header_row_separator($widths); 56 map { ta_pad((defined($row->[$_]) ? $row->[$_] : ''), $widths->[$_]) } (0..$max_index) 75 my $widths = []; 79 push @$widths, $max; 81 return $widths; 91 my $widths = shift; 96 my $widths = shift; [all …]
|
/dports/textproc/p5-Text-Table-TinyColorWide/Text-Table-TinyColorWide-0.001/lib/Text/Table/ |
H A D | TinyColorWide.pm | 28 my $widths = _maxwidths($rows); 32 my $format = _get_format($widths); 33 my $row_sep = _get_row_separator($widths); 34 my $head_row_sep = _get_header_row_separator($widths); 56 map { ta_mbpad((defined($row->[$_]) ? $row->[$_] : ''), $widths->[$_]) } (0..$max_index) 75 my $widths = []; 79 push @$widths, $max; 81 return $widths; 91 my $widths = shift; 96 my $widths = shift; [all …]
|
/dports/textproc/p5-Text-Table-TinyWide/Text-Table-TinyWide-0.001/lib/Text/Table/ |
H A D | TinyWide.pm | 28 my $widths = _maxwidths($rows); 32 my $format = _get_format($widths); 33 my $row_sep = _get_row_separator($widths); 34 my $head_row_sep = _get_header_row_separator($widths); 56 map { mbpad((defined($row->[$_]) ? $row->[$_] : ''), $widths->[$_]) } (0..$max_index) 75 my $widths = []; 79 push @$widths, $max; 81 return $widths; 91 my $widths = shift; 96 my $widths = shift; [all …]
|
/dports/devel/scons/SCons-4.2.0/SCons/Tool/docbook/docbook-xsl-1.76.1/extensions/ |
H A D | docbook.py | 96 widths = [] 108 widths.append(rel) 109 widths = correctRoundingError(widths) 137 widths.append(rel) 138 widths = correctRoundingError(widths) 180 widths = [] 183 widths.append(width) 187 columnError = totalError / len(widths) 189 for count in range(len(widths)): 190 width = widths[count] [all …]
|
/dports/textproc/docbook-xsl-ns/docbook-xsl-ns-1.79.1/extensions/ |
H A D | docbook.py | 99 widths = [] 111 widths.append(rel) 112 widths = correctRoundingError(widths) 140 widths.append(rel) 141 widths = correctRoundingError(widths) 183 widths = [] 186 widths.append(width) 190 columnError = totalError / len(widths) 192 for count in range(len(widths)): 193 width = widths[count] [all …]
|
/dports/textproc/docbook-xsl/docbook-xsl-1.79.1/extensions/ |
H A D | docbook.py | 99 widths = [] 111 widths.append(rel) 112 widths = correctRoundingError(widths) 140 widths.append(rel) 141 widths = correctRoundingError(widths) 183 widths = [] 186 widths.append(width) 190 columnError = totalError / len(widths) 192 for count in range(len(widths)): 193 width = widths[count] [all …]
|