Searched refs:max (Results 276 - 300 of 2317) sorted by relevance

<<11121314151617181920>>

/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/pt/
H A Djson_write.tcl71 set max [MaxKeyLength $dict]
78 set k [AlignLeft $max $k]
117 # Find the max length of the keys in the dictionary.
119 set lengths 0 ; # This will be the max if the dict is empty, and
127 return [tcl::mathfunc::max {*}$lengths]
/macosx-10.10/xnu-2782.1.97/libsyscall/mach/
H A Dstring.c71 int width, max = length; local
108 return max - length;
/macosx-10.10/pcre-7/pcre/
H A Dpcre_exec.c58 #undef max macro
85 /* Min and max values for the common repeats; for the maxima, 0 => infinity */
545 #define max frame->Xmax macro
599 int max;
2095 max = rep_max[c]; /* zero for max => infinity */
2096 if (max == 0) max = INT_MAX;
2103 max = GET2(ecode, 3);
2104 if (max
5124 #undef max macro
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/audio/
H A DBiquad.cpp212 cutoff = std::max(0.0, std::min(cutoff, 1.0));
220 resonance = std::max(0.0, resonance); // can't go negative
248 cutoff = std::max(0.0, std::min(cutoff, 1.0));
256 resonance = std::max(0.0, resonance); // can't go negative
310 frequency = std::max(0.0, std::min(frequency, 1.0));
320 double S = 1; // filter slope (1 is max value)
345 frequency = std::max(0.0, std::min(frequency, 1.0));
355 double S = 1; // filter slope (1 is max value)
380 frequency = std::max(0.0, std::min(frequency, 1.0));
383 Q = std::max(0.
[all...]
/macosx-10.10/BerkeleyDB-21/db/test/
H A Dlog003.tcl31 set max [expr 1024 * 128]
42 set logargs "-log_inmemory -log_buffer [expr $max * 2]"
45 -mode 0644 $logargs -log_max $max]
65 -log -mode 0644 -log_max $max]
91 -create -mode 0644 -log_max $max]
128 -create -mode 0644 -log_max $max]
/macosx-10.10/IOGraphics-485/tools/
H A Drange.c17 CGDisplayCount max; local
22 err = CGGetOnlineDisplayList(8, displayIDs, &max);
25 if(max > 8)
26 max = 8;
33 for(i = 0; i < max; i++ )
/macosx-10.10/OpenSSL098-52/src/crypto/asn1/
H A Da_set.c184 c.max=(length == 0)?0:(c.p+length);
186 c.inf=ASN1_get_object(&c.p,&c.slen,&c.tag,&c.xclass,c.max-c.p);
198 if ((c.slen+c.p) > c.max)
207 c.max=c.p+c.slen;
209 while (c.p < c.max)
215 if ((s=func(NULL,&c.p,c.slen,c.max-c.p)) == NULL) */
/macosx-10.10/WebCore-7600.1.25/platform/
H A DScrollAnimator.cpp63 float newPos = std::max(std::min(*currentPos + (step * multiplier), static_cast<float>(m_scrollableArea->scrollSize(orientation))), 0.0f);
116 deltaY = std::max(std::max(static_cast<float>(m_scrollableArea->visibleHeight()) * Scrollbar::minFractionToStepWhenPaging(), static_cast<float>(m_scrollableArea->visibleHeight() - Scrollbar::maxOverlapBetweenPages())), 1.0f);
126 deltaX = std::max(std::max(static_cast<float>(m_scrollableArea->visibleWidth()) * Scrollbar::minFractionToStepWhenPaging(), static_cast<float>(m_scrollableArea->visibleWidth() - Scrollbar::maxOverlapBetweenPages())), 1.0f);
/macosx-10.10/ruby-106/ruby/test/objspace/
H A Dtest_objspace.rb84 max = 0
88 max = [refs.size, max].max
96 assert_operator(max, :>=, long_ary.size+1, "1000 elems + Array class")
/macosx-10.10/ruby-106/ruby/test/
H A Dtest_prime.rb32 max = 2**i
35 break if p >= max
40 assert primes.length >= max/Math.log(max)
42 li = (2..max).step(delta).inject(0){|sum,x| sum + delta/Math.log(x)}
/macosx-10.10/tcl-105/tcl_ext/incrtcl/iwidgets/incoming/src/
H A Dbuttoncage.itk414 # Returns the max number of buttons.
417 set max [expr $itk_option(-width) * $itk_option(-height)]
418 return $max
427 set max 0
432 if {$w > $max} {
433 set max $w
437 return $max
446 set max 0
451 if {$h > $max} {
452 set max
[all...]
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/doctools2toc/
H A Dexport_doctoc.tcl201 upvar 1 $v max
203 if {$x <= $max} return
204 set max $x
209 upvar 1 $v max
210 return [list $str][string repeat { } [expr {$max - [string length [list $str]]}]]
/macosx-10.10/OpenSSH-189/osslshim/ossl/
H A Dossl-bio.c158 b->max = len;
287 bm->data -= bm->max - bm->length;
288 bm->length = bm->max;
290 memset(bm->data, 0, bm->max);
983 int max; local
991 max = -1;
1066 if (max < 0) {
1067 max = 0;
1069 max = 10 * max
1282 fmtstr( char **sbuffer, char **buffer, size_t *currlen, size_t *maxlen, const char *value, int flags, int min, int max) argument
1330 fmtint( char **sbuffer, char **buffer, size_t *currlen, size_t *maxlen, LLONG value, int base, int min, int max, int flags) argument
1479 fmtfp( char **sbuffer, char **buffer, size_t *currlen, size_t *maxlen, LDOUBLE fvalue, int min, int max, int flags) argument
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/graphics/
H A DRoundedRect.cpp67 m_topLeft.setWidth(std::max<LayoutUnit>(0, m_topLeft.width() + leftWidth));
68 m_topLeft.setHeight(std::max<LayoutUnit>(0, m_topLeft.height() + topWidth));
71 m_topRight.setWidth(std::max<LayoutUnit>(0, m_topRight.width() + rightWidth));
72 m_topRight.setHeight(std::max<LayoutUnit>(0, m_topRight.height() + topWidth));
75 m_bottomLeft.setWidth(std::max<LayoutUnit>(0, m_bottomLeft.width() + leftWidth));
76 m_bottomLeft.setHeight(std::max<LayoutUnit>(0, m_bottomLeft.height() + bottomWidth));
79 m_bottomRight.setWidth(std::max<LayoutUnit>(0, m_bottomRight.width() + rightWidth));
80 m_bottomRight.setHeight(std::max<LayoutUnit>(0, m_bottomRight.height() + bottomWidth));
174 int maxRadiusWidth = std::max(m_radii.topLeft().width() + m_radii.topRight().width(), m_radii.bottomLeft().width() + m_radii.bottomRight().width());
175 int maxRadiusHeight = std::max(m_radi
[all...]
/macosx-10.10/ruby-106/ruby/tool/
H A Dtranscode-tblgen.rb166 max = range_list.map {|x, y| y }.join
167 rects << [min, max, action]
210 all_rects.concat rects.map {|min, max, action| [min, max, [i, action]] }
236 min, max, action = rect
245 min, max, action = rect
269 #rects.each {|min, max, action| if min == max then numsing += 1 else numreg += 1 end }
274 min, max, action = rect
275 if min == max
[all...]
/macosx-10.10/Heimdal-398.1.2/admin/
H A Dchange.c140 int i, j, max; local
148 max = 0;
192 if (j >= max) {
195 max = max(max * 2, 1);
196 tmp = realloc (changeset, max * sizeof(*changeset));
/macosx-10.10/WebCore-7600.1.25/platform/text/icu/
H A DUTextProviderUTF16.cpp76 ASSERT(length < std::numeric_limits<int32_t>::max());
77 text->chunkLength = length < std::numeric_limits<int32_t>::max() ? static_cast<int32_t>(length) : 0;
81 ASSERT(offset < std::numeric_limits<int32_t>::max());
82 text->chunkOffset = std::min(offset < std::numeric_limits<int32_t>::max() ? static_cast<int32_t>(offset) : 0, text->chunkLength);
104 ASSERT(offset < std::numeric_limits<int32_t>::max());
105 text->chunkOffset = std::min(offset < std::numeric_limits<int32_t>::max() ? static_cast<int32_t>(offset) : 0, text->chunkLength);
169 if (!string || length > static_cast<unsigned>(std::numeric_limits<int32_t>::max())) {
/macosx-10.10/ruby-106/ruby/ext/tk/sample/demos-en/
H A Dtcolor42 max = red
45 max = green
49 if ( blue > max )
50 max = blue
57 range = max - min
59 if ( max == 0 )
62 sat = (max-min)/max
68 rc = (max-red)/range
69 gc = (max
[all...]
/macosx-10.10/ruby-106/ruby/ext/tk/sample/demos-jp/
H A Dtcolor46 max = red
49 max = green
53 if ( blue > max )
54 max = blue
61 range = max - min
63 if ( max == 0 )
66 sat = (max-min)/max
72 rc = (max-red)/range
73 gc = (max
[all...]
/macosx-10.10/ruby-106/ruby/lib/minitest/
H A Dbenchmark.rb23 # +max+ by powers of +base+. Eg:
27 def self.bench_exp min, max, base = 10
29 max = (Math.log10(max) / Math.log10(base)).to_i
31 (min..max).map { |m| base ** m }.to_a
35 # Returns a set of ranges stepped linearly from +min+ to +max+ by
40 def self.bench_linear min, max, step = 10
41 (min..max).step(step).to_a
43 r = []; (min..max).step(step) { |n| r << n }; r
/macosx-10.10/shell_cmds-179/who/
H A Dutmpentry.c90 int max; local
92 if ((max = strlen(e->name)) > maxname)
93 maxname = max;
94 if ((max = strlen(e->line)) > maxline)
95 maxline = max;
96 if ((max = strlen(e->host)) > maxhost)
97 maxhost = max;
/macosx-10.10/tcl-105/tcl/tcl/generic/
H A DtclThread.c28 int max; /* Max size of the array */ member in struct:__anon12761
184 if (recPtr->num >= recPtr->max) {
185 recPtr->max += 8;
186 newList = (char **) ckalloc(recPtr->max * sizeof(char *));
415 keyRecord.max = 0;
435 mutexRecord.max = 0;
448 condRecord.max = 0;
/macosx-10.10/tcl-105/tk/tk/library/demos/
H A Dtcolor275 set max [expr {double($red)}]
278 set max [expr {double($green)}]
281 if {$blue > $max} {
282 set max [expr {double($blue)}]
286 set range [expr {$max-$min}]
287 if {$max == 0} {
290 set sat [expr {($max-$min)/$max}]
295 set rc [expr {($max - $red)/$range}]
296 set gc [expr {($max
[all...]
/macosx-10.10/tcl-105/tk84/tk/library/demos/
H A Dtcolor281 set max [expr {double($red)}]
284 set max [expr {double($green)}]
287 if {$blue > $max} {
288 set max [expr {double($blue)}]
292 set range [expr {$max-$min}]
293 if {$max == 0} {
296 set sat [expr {($max-$min)/$max}]
301 set rc [expr {($max - $red)/$range}]
302 set gc [expr {($max
[all...]
/macosx-10.10/xnu-2782.1.97/osfmk/kern/
H A Dmk_sp.c80 int max, bas; local
106 max = rr_limit->max_priority;
107 if (invalid_pri(bas) || invalid_pri(max)) {
127 max = fifo_limit->max_priority;
128 if (invalid_pri(bas) || invalid_pri(max)) {
149 max = ts_limit->max_priority;
150 if (invalid_pri(bas) || invalid_pri(max)) {
168 /* Note that we do not pass on max priority. */

Completed in 407 milliseconds

<<11121314151617181920>>