Searched refs:factor (Results 1 - 25 of 112) sorted by relevance

12345

/macosx-10.10.1/file_cmds-242/csh/
H A Dstrpct.c62 u_long result, factor; local
66 factor = 100L;
68 factor *= 10;
72 if (numerator < (ULONG_MAX / factor)) {
73 numerator *= factor;
76 denominator /= factor;
92 factor /= 100L; /* undo initialization */
95 fmt, result / factor, result % factor);
/macosx-10.10.1/libstdcxx-104.1/include/c++/4.2.1/ext/pb_ds/detail/binary_heap_/
H A Dresize_policy.hpp123 factor = 2 enumerator in enum:pb_ds::detail::resize_policy::__anon9469
170 { return m_next_grow_size* factor; }
177 const size_type half_size = m_next_grow_size / factor;
188 ret *= factor;
199 m_next_grow_size *= factor;
210 m_next_shrink_size /= factor;
215 std::max(m_next_grow_size / factor, static_cast<size_type>(min_size));
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/modules/plotchart/
H A Dscaling.tcl98 # Determine the factor of 10 so that dx falls within the range 1-10
101 set factor [expr {pow(10.0,$expon)}]
103 set dx [expr {$dx/$factor}]
111 set fmin [expr {$xmin/$factor/$step}]
112 set fmax [expr {$xmax/$factor/$step}]
119 set nicemin [expr {$step*$factor*wide($fmin)}]
120 set nicemax [expr {$step*$factor*wide($fmax)}]
123 set nicemax [expr {$nicemax+$step*$factor}]
126 set nicemin [expr {$nicemin-$step*$factor}]
130 return [list $nicemin $nicemax [expr {$step*$factor}]]
[all...]
H A Dplotannot.tcl189 set factor $settings($w,balloonarrowsize)
196 set xnew [expr {$xbase+$xscale*$factor}]
197 set ynew [expr {$ybase+$yscale*$factor}]
264 # factor Factor by which to brighten the colour
270 proc ::Plotchart::BrightenColour {color intensity factor} {
273 set $i [expr {int(255.*($n+($d-$n)*$factor)/$f)}]
360 set factor [expr {($first*$i+$last*($n-$i-1))/double($n)}]
361 set gcolour [BrightenColour $colour $intensity $factor]
/macosx-10.10.1/BerkeleyDB-21/db/test/
H A Dsdbscript.tcl7 # Usage: subdbscript testfile subdbnumber factor
10 # factor: Delete over factor'th + n'th from my subdb.
12 # I.e. if factor is 10, and n is 0, remove entries, 0, 10, 20, ...
13 # if factor is 10 and n is 1, remove entries 1, 11, 21, ...
17 set usage "subdbscript testfile subdbnumber factor"
28 set factor [ lindex $argv 2 ]
38 if { $x >= 0 && [expr $x % $factor] == 0 } {
/macosx-10.10.1/emacs-93/emacs/lisp/progmodes/
H A Debnf-bnf.el85 ;; term = factor
86 ;; | [factor] "+" ;; one-or-more
87 ;; | [factor] "/" [factor] ;; one-or-more
90 ;; factor = [ "$" ] "\"" terminal "\"" ;; terminal
262 ;;; term = factor
263 ;;; | [factor] "+" ;; one-or-more
264 ;;; | [factor] "/" [factor] ;; one-or-more
268 (let ((factor (ebn
[all...]
H A Debnf-ebx.el57 ;; term ::= factor ('*' | '+' | '?')?
59 ;; factor ::= hex-char+
302 ;;; term ::= factor ('*' | '+' | '?')?
306 (let ((factor (ebnf-ebx-factor token)))
307 (when factor
310 (setq factor (ebnf-make-zero-or-more factor)
313 (setq factor (ebnf-make-one-or-more factor)
[all...]
H A Debnf-iso.el56 ;; term = factor, ['-', exception];
58 ;; exception = factor (* without <meta identifier> *);
60 ;; factor = [integer, '*'], primary;
211 ;;; term = factor, ['-', exception];
213 ;;; exception = factor (* without <meta identifier> *);
216 (let ((factor (ebnf-iso-factor token)))
217 (if (not (eq (car factor) 'except))
218 ;; factor
219 factor
[all...]
/macosx-10.10.1/sudo-73/src/
H A Daix.c55 int factor; member in struct:aix_limit
103 rlim.rlim_max = val == -1 ? RLIM64_INFINITY : val * aix_limits[n].factor;
105 rlim.rlim_cur = val == -1 ? RLIM64_INFINITY : val * aix_limits[n].factor;
112 rlim.rlim_cur = val == -1 ? RLIM64_INFINITY : val * aix_limits[n].factor;
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/units/
H A Dunits.tcl90 # targetUnits A units string which may also include a scale factor.
137 # single multiplicitive factor and sorted list of primitive units.
147 # A unit string consists of an optional scale factor followed
148 # by zero or more subunit strings. The scale factor must be
153 # the leading scale factor from the rest of the subunits.
176 # is the multiplicitive factor, and the remaining elements are
220 # Check for leading scale factor
228 # Ensure that scale factor is a nice floating point number
260 # scale factor.
263 # factor
[all...]
/macosx-10.10.1/misc_cmds-33/units/
H A Dunits.c55 double factor; member in struct:unittype
213 theunit->factor = 1.0;
243 printf("\t%.8g", theunit->factor);
344 theunit->factor *= num;
347 theunit->factor /= num;
356 theunit->factor /= num;
359 theunit->factor *= num;
370 theunit->factor *= num;
373 theunit->factor /= num;
649 (have->factor
[all...]
/macosx-10.10.1/apache-793/httpd/modules/metadata/
H A Dmod_expires.c220 int factor; local
275 factor = 60 * 60 * 24 * 365;
278 factor = 60 * 60 * 24 * 30;
281 factor = 60 * 60 * 24 * 7;
284 factor = 60 * 60 * 24;
287 factor = 60 * 60;
290 factor = 60;
293 factor = 1;
300 modifier = modifier + factor * num;
H A Dmod_usertrack.c293 time_t factor, modifier = 0; local
330 factor = 60 * 60 * 24 * 365;
332 factor = 60 * 60 * 24 * 30;
334 factor = 60 * 60 * 24 * 7;
336 factor = 60 * 60 * 24;
338 factor = 60 * 60;
340 factor = 60;
342 factor = 1;
346 modifier = modifier + factor * num;
/macosx-10.10.1/WTF-7600.1.24/wtf/dtoa/
H A Dbignum.h62 void MultiplyByUInt32(uint32_t factor);
63 void MultiplyByUInt64(uint64_t factor);
128 void SubtractTimes(const Bignum& other, int factor);
H A Dbignum.cc251 void Bignum::MultiplyByUInt32(uint32_t factor) { argument
252 if (factor == 1) return;
253 if (factor == 0) {
259 // The product of a bigit with the factor is of size kBigitSize + 32.
264 DoubleChunk product = static_cast<DoubleChunk>(factor) * bigits_[i] + carry;
277 void Bignum::MultiplyByUInt64(uint64_t factor) { argument
278 if (factor == 1) return;
279 if (factor == 0) {
285 uint64_t low = factor & 0xFFFFFFFF;
286 uint64_t high = factor >> 3
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/math/
H A Delliptic.tcl85 set factor 0.25
90 set sumc [expr {$sumc+$factor*($a-$b)*($a-$b)}]
91 set factor [expr {$factor*2.0}]
H A Dlinalg.tcl396 set factor [expr {($sum2-$sum*$sum/$count)/($count-1)}]
397 if { $factor > 0.0 } {
398 set factor [expr {1.0/sqrt($factor)}]
400 set factor 0.0
404 lappend result [expr {$factor*($c-$corr)}]
413 # scale Scale factor (a) for the first vector/matrix
431 # scale Scale factor (a) for the first vector
450 # scale Scale factor (a) for the first matrix
563 # scale Scale factor (scala
[all...]
H A Dmachineparameters.tcl140 set factor 2.
144 set epsilon [expr {$epsilon / $factor}]
/macosx-10.10.1/ICU-531.30/icuSources/i18n/
H A Dcollationbasedatabuilder.cpp210 int32_t factor; local
215 factor = 251;
220 factor = 254;
222 linear1 += factor * (int32_t)((p1 >> 24) & 0xff);
223 linear2 += factor * (int32_t)((p2 >> 24) & 0xff);
237 int32_t factor; local
242 factor = 251 * 254;
247 factor = 254 * 254;
249 linear1 += factor * (int32_t)((p1 >> 24) & 0xff);
250 linear2 += factor * (int32_
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/pt/tools/
H A Dbench-compare.tcl81 set factor [expr {double($usecbase)/double($usecnew)}]
82 set percent [expr {100 * $factor - 100}]
85 [format %.2f $factor] \
/macosx-10.10.1/Chess-310.6/sjeng/
H A Dnewbook.c590 float factor; local
620 factor = factortable[iters-1];
637 playinc = 0.5f * factor;
639 playinc = 0.25f * factor;
644 playinc = -0.5f * factor;
646 playinc = -0.25f * factor;
651 playinc = -0.3f * factor;
653 playinc = 0.3f * factor;
/macosx-10.10.1/groff-38/groff/src/roff/troff/
H A Ddictionary.h46 double factor; member in class:dictionary
H A Ddictionary.cpp41 dictionary::dictionary(int n) : size(n), used(0), threshold(0.5), factor(1.5)
71 size = int(size*factor);
/macosx-10.10.1/BerkeleyDB-21/db/btree/
H A Dbt_stat.c491 double factor; local
503 factor = 1.0;
518 kp->greater += factor * (sp->entries - 1)/sp->entries;
520 kp->less += factor;
522 kp->less += factor * sp->indx / sp->entries;
523 kp->greater += factor *
526 factor *= 1.0/sp->entries;
531 * Otherwise that factor belongs to those greater than the key, unless
535 kp->equal = factor;
538 kp->greater += factor;
[all...]
H A Dbt_compact.c88 u_int32_t factor; local
102 factor = 0;
169 * We want factor to be the target number of free bytes on each page,
176 factor = dbp->pgsize - SIZEOF_PAGE;
178 factor *= c_data->compact_fillpercent;
179 factor /= 100;
182 factor = (dbp->pgsize - SIZEOF_PAGE) - factor;
207 if ((ret = __bam_compact_int(dbc, &current, stop, factor,
387 __bam_compact_int(dbc, start, stop, factor, span
[all...]

Completed in 200 milliseconds

12345