/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-core/Doc/06tutorial/step12-src/ |
H A D | CurrencyConverter.py | 11 def convertAmount(self, amt, rate): 12 return amt * rate 25 rate = self.rateField.floatValue() 27 total = self.converter.convertAmount(rate, amt) 36 rate = self.rateField.floatValue() 37 if rate != 0.0: 38 rate = 1.0 / rate 39 self.rateField.setFloatValue_(rate)
|
/macosx-10.10/WebCore-7600.1.25/platform/audio/ |
H A D | AudioResamplerKernel.cpp | 54 double nextFractionalIndex = m_virtualReadIndex + framesToProcess * rate(); 80 double rate = this->rate(); 81 rate = std::max(0.0, rate); 82 rate = std::min(AudioResampler::MaxRate, rate); 95 ASSERT(virtualReadIndex >= 0 && 1 + static_cast<unsigned>(virtualReadIndex + (framesToProcess - 1) * rate) < m_sourceBuffer.size()); 110 virtualReadIndex += rate; 134 double AudioResamplerKernel::rate() cons function in class:WebCore::AudioResamplerKernel [all...] |
H A D | AudioResampler.h | 54 // 0 < rate <= MaxRate 55 void setRate(double rate); 56 double rate() const { return m_rate; } function in class:WebCore::AudioResampler
|
H A D | AudioResamplerKernel.h | 58 double rate() const;
|
H A D | AudioResampler.cpp | 109 void AudioResampler::setRate(double rate) argument 111 if (std::isnan(rate) || std::isinf(rate) || rate <= 0.0) 114 m_rate = std::min(AudioResampler::MaxRate, rate);
|
/macosx-10.10/tcl-105/tcl_ext/incrtcl/incrTcl/itcl/tests/old/toasters/ |
H A D | Outlet.tcl | 45 set amount [format "$%.2f" [expr $usage*$rate]] 70 proc rate {{newval ""}} { procedure 72 return $rate 74 set rate $newval 80 common rate 0.05
|
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-core/Doc/06tutorial/ |
H A D | step8-CurrencyConverter.py | 13 def convertAmount(self, amt, rate): 14 return amt * rate 27 rate = self.rateField.floatValue() 29 total = self.converter.convertAmount(rate, amt)
|
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CurrencyConverter/ |
H A D | CurrencyConverter.py | 7 def convertAmount(self, amt, rate): 8 return amt*rate 28 rate = self.rateField.floatValue() 31 total = self.converter.convertAmount(rate, amt)
|
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CurrencyConverter/ |
H A D | CurrencyConverter.py | 7 def convertAmount(self, amt, rate): 8 return amt*rate 28 rate = self.rateField.floatValue() 31 total = self.converter.convertAmount(rate, amt)
|
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Examples/AppKit/CurrencyConverter/ |
H A D | CurrencyConverter.py | 7 def convertAmount(self, amt, rate): 8 return amt*rate 28 rate = self.rateField.floatValue() 31 total = self.converter.convertAmount(rate, amt)
|
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/libtommath/ |
H A D | pretty.build | 14 my $rate = 0; 29 if ($rate > 0) { 30 my $tleft = ($count - $i) / $rate; 57 $rate = $i/$delay; 62 printf("\nFinished building source (%d seconds, %3.2f files per second).\n", time - $starttime, $rate);
|
/macosx-10.10/emacs-93/emacs/lisp/calc/ |
H A D | calc-fin.el | 82 (defun calc-fin-rate () 87 (if (calc-is-inverse) "ratb" "rate")) 92 'calcFunc-rate)) 142 (defun calcFunc-pv (rate num amount &optional lump) 143 (math-check-financial rate num) 145 (let ((p (math-pow (math-add 1 rate) num))) 148 rate)) 152 (defun calcFunc-pvl (rate num amount) 153 (calcFunc-pv rate num 0 amount)) 156 (defun calcFunc-pvb (rate nu [all...] |
/macosx-10.10/WebCore-7600.1.25/platform/mac/ |
H A D | PlatformClockCA.cpp | 91 void PlatformClockCA::setPlayRate(double rate) argument 93 CAClockSetPlayRate(m_clock, rate); 98 double rate = 0; local 99 if (CAClockGetPlayRate(m_clock, &rate) == noErr) 100 return rate;
|
H A D | PlatformClockCM.mm | 50 SOFT_LINK(CoreMedia, CMTimebaseSetRate, OSStatus, (CMTimebaseRef timebase, Float64 rate), (timebase, rate)) 110 void PlatformClockCM::setPlayRate(double rate) 112 if (m_rate == rate) 115 m_rate = rate; 117 CMTimebaseSetRate(m_timebase.get(), rate);
|
/macosx-10.10/rsync-45/rsync/ |
H A D | progress.c | 67 double rate, remain; local 75 rate = (double) (ofs - ph_start.ofs) * 1000.0 / diff / 1024.0; 82 rate = (double) (ofs - ph_list[oldest_hpos].ofs) * 1000.0 84 remain = rate ? (double) (size - ofs) / rate / 1000.0 : 0.0; 87 if (rate > 1024*1024) { 88 rate /= 1024.0 * 1024.0; 90 } else if (rate > 1024) { 91 rate /= 1024.0; 109 human_num(ofs), pct, rate, unit [all...] |
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/nmea/ |
H A D | nmea.tcl | 13 array set ::nmea::nmea [list checksum 1 log {} rate 0] 26 proc ::nmea::open_file {file {rate {}}} { 30 if {[string is integer -strict $rate]} { 31 if {$rate < 0} { set rate 0 } 32 set nmea(rate) $rate 35 if {$nmea(rate) > 0} { 36 after $nmea(rate) [list ::nmea::read_file $nmea(fh)] 86 after $nmea(rate) [lis [all...] |
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | fixprogs | 65 ($null, $null, $rate) = split(/,/, $ent[0]); 66 $est = $rate / $entscale; # scale the estimate back
|
/macosx-10.10/WebCore-7600.1.25/platform/ |
H A D | ClockGeneric.cpp | 54 void ClockGeneric::setPlayRate(double rate) argument 58 m_rate = rate;
|
H A D | PlatformSpeechSynthesisUtterance.h | 63 float rate() const { return m_rate; } function in class:WebCore::PlatformSpeechSynthesisUtterance 64 void setRate(float rate) { m_rate = std::max(std::min(10.0f, rate), 0.1f); } argument
|
/macosx-10.10/dcerpc-61/dcerpc/ncklib/ |
H A D | dglossy.c | 111 INTERNAL int rate = 0, dbg_prnt_level = 0; variable 126 * The rate of loss is determined by the dg_lossy debug switch value. 139 if (rate != 0) 144 rate = 5; 149 rate = 6; 154 rate = 10; 159 rate = 20; 167 rate = 200; 323 * or re-orders delivery of packets. The rate of loss is determined 353 switch ((int) RPC_RANDOM_GET(0, 10000) % rate) /* Mi [all...] |
/macosx-10.10/tcl-105/tcl_ext/snack/snack/demos/tcl/ |
H A D | oggstream.tcl | 24 sound s -channel $sock -channels 2 -rate 44100 -fileformat ogg
|
H A D | record.tcl | 50 set ::s(rate) [s cget -rate] 67 pack [radiobutton $w.q.f1.r$e -text $e -value $e -variable ::s(rate)] \ 70 pack [entry $w.q.f1.e -textvariable ::s(rate) -width 6] -anchor w 90 s configure -rate $::s(rate) -channels $::s(chan) -encoding $::s(enc) 91 t configure -rate $::s(rate) -channels $::s(chan) -encoding $::s(enc) 104 set end [expr int([s cget -rate] * $t)] 105 set start [expr $end - [s cget -rate] / 1 [all...] |
H A D | cool.tcl | 37 set v(rate) 16000 47 set v(rate) 16000 93 set start [expr int($v(start) + double($v(rate)) * [lindex $co 0] / $v(pps))] 94 set end [expr int($v(start) + double($v(rate)) * [lindex $co 2] / $v(pps))] 100 set v(pps) [expr $v(width) / (double($end - $start) / $v(rate))] 111 set delta [expr int($v(rate) * $v(width) / $v(pps))] 121 set v(pps) [expr $v(width) / (double($end - $start) / $v(rate))] 131 set delta [expr int($v(rate) * $v(width) / $v(pps))] 226 set v(rate) [$tmps cget -rate] [all...] |
/macosx-10.10/WebCore-7600.1.25/Modules/speech/ |
H A D | SpeechSynthesisUtterance.h | 58 float rate() const { return m_platformUtterance->rate(); } function in class:WebCore::final 59 void setRate(float rate) { m_platformUtterance->setRate(rate); } argument
|
/macosx-10.10/postfix-255/postfix/src/global/ |
H A D | anvil_clnt.c | 5 /* connection count and rate management client interface 15 /* count, rate) 20 /* int *rate; 52 /* count, rate, msgs, rcpts) 57 /* int *rate; 66 /* connection count and connection rate for that remote client. 69 /* returns the current MAIL FROM rate for the specified remote 73 /* returns the current RCPT TO rate for the specified remote 78 /* current newtls request rate for the specified remote client. 81 /* rate fo 182 anvil_clnt_lookup(ANVIL_CLNT *anvil_clnt, const char *service, const char *addr, int *count, int *rate, int *msgs, int *rcpts, int *newtls) argument 211 anvil_clnt_connect(ANVIL_CLNT *anvil_clnt, const char *service, const char *addr, int *count, int *rate) argument 386 int rate; local [all...] |