/external/iproute2/tc/ |
tc_cbq.h | 4 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, 6 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt,
|
m_police.c | 37 fprintf(stderr, "Usage: ... police rate BPS burst BYTES[/BYTES] [ mtu BYTES[/BYTES] ]\n"); 119 } else if (strcmp(*argv, "rate") == 0) { 121 if (p.rate.rate) { 122 fprintf(stderr, "Double \"rate\" spec\n"); 125 if (get_rate(&p.rate.rate, *argv)) { 126 explain1("rate"); 141 if (p.peakrate.rate) { 145 if (get_rate(&p.peakrate.rate, *argv)) [all...] |
tc_cbq.c | 27 unsigned int tc_cbq_calc_maxidle(unsigned int bndw, unsigned int rate, unsigned int avpkt, 35 if (bndw != rate && maxburst) { 36 double vxmt = (double)avpkt/rate - xmt; 45 unsigned int tc_cbq_calc_offtime(unsigned int bndw, unsigned int rate, unsigned int avpkt, 49 double offtime = (double)avpkt/rate - (double)avpkt/bndw;
|
/system/chre/platform/slpi/smgr/tests/ |
platform_sensor_util_test.cc | 28 uint16_t rate = intervalToSmgrSamplingRate(Nanoseconds(0)); local 29 EXPECT_EQ(rate, 0); 34 uint16_t rate = intervalToSmgrSamplingRate(kFiftyHertzInterval); local 35 EXPECT_EQ(rate, 50); 40 uint16_t rate = intervalToSmgrSamplingRate(kZeroPointFiveHertzInterval); local 41 EXPECT_EQ(rate, 2000); 46 uint16_t rate = intervalToSmgrSamplingRate(kOneNanoHzInterval); local 47 EXPECT_EQ(rate, INT16_MAX); 52 uint16_t rate = intervalToSmgrSamplingRate(kTwentyMHzInterval); local 53 EXPECT_EQ(rate, 1000); // Should clamp to inversion poin 57 uint32_t rate = intervalToSmgrQ16ReportRate(Nanoseconds(0)); local 63 uint32_t rate = intervalToSmgrQ16ReportRate(kTenHertzInterval); local 69 uint32_t rate = intervalToSmgrQ16ReportRate(kZeroPointFiveHertzInterval); local 74 uint32_t rate = intervalToSmgrQ16ReportRate(Nanoseconds(1)); local [all...] |
/external/libnl/lib/cli/qdisc/ |
htb.c | 23 " --r2q=DIV Rate to quantum divisor (default: 10)\n" 75 " --rate=RATE Rate limit.\n" 76 " --ceil=RATE Rate limit while borrowing (default: equal to --rate).\n" 78 " --quantum=SIZE Amount of bytes to serve at once (default: rate/r2q).\n" 79 " --burst=SIZE Max charge size of rate burst buffer (default: auto).\n" 80 " --cburst=SIZE Max charge size of ceil rate burst buffer (default: auto)\n 90 long rate; local [all...] |
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
RateEstimatorTest.java | 50 final float rate = mEstimator.getRate(mTestStartTime - 1000L); local 51 assertFalse(Float.isInfinite(rate)); 52 assertFalse(Float.isNaN(rate)); 65 final float rate = mEstimator.getRate(mTestStartTime); local 66 assertFalse(Float.isInfinite(rate)); 67 assertFalse(Float.isNaN(rate)); 75 final float rate = mEstimator.getRate(nextEventTime); local 76 assertLessThan("Rate", rate, 20f); 84 final float rate = mEstimator.getRate(nextEventTime) local 93 final float rate = mEstimator.getRate(nextEventTime); local 102 final float rate = mEstimator.getRate(nextEventTime); local 112 final float rate = mEstimator.getRate(nextEventTime + 5000L); \/\/ two seconds later local 121 final float rate = mEstimator.getRate(nextEventTime); local 127 final float rate = mEstimator.getRate(mTestStartTime); local 134 final float rate = mEstimator.getRate(mTestStartTime+1); local 157 final float rate = mEstimator.update(time); local [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
ProgressiveDownloadInformationBox.java | 55 long rate; field in class:ProgressiveDownloadInformationBox.Entry 58 public Entry(long rate, long initialDelay) { 59 this.rate = rate; 64 return rate; 67 public void setRate(long rate) { 68 this.rate = rate; 82 "rate=" + rate [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
RateEstimator.java | 21 * Exponentially weighted moving average estimator for event rate. 38 float rate; local 40 // No last event time, rate is zero. 41 rate = 0f; 45 rate = (float) (1.0 / mInterarrivalTime); 48 return rate; 51 /** @return the estimated rate if there were a new event right now. */
|
/external/tinycompress/ |
utils.c | 64 unsigned int compress_get_alsa_rate(unsigned int rate) 66 switch (rate) {
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/mock/ |
mock_rtp_payload_strategy.h | 27 const uint32_t rate)); 29 void(RtpUtility::Payload* payload, const uint32_t rate)); 38 const uint32_t rate));
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
atrous_conv2d_test.py | 33 def _upsample_filters(filters, rate): 34 """Upsamples the filters by a factor of rate along the spatial dimensions. 38 rate: An int, specifying the upsampling rate. 42 h_up = h + (h - 1) * (rate - 1) 43 w_up = w + (w - 1) * (rate - 1) 44 containing (rate - 1) zeros between consecutive filter values along 47 if rate == 1: 51 ker = np.zeros([rate, rate], dtype=np.float32 [all...] |
/external/pdfium/fxjs/xfa/ |
cjx_stipple.h | 19 JS_PROP(rate);
|
/frameworks/base/core/java/android/view/ |
OrientationListener.java | 53 * @param rate at which sensor events are processed (see also 58 public OrientationListener(Context context, int rate) { 59 mOrientationEventLis = new OrientationEventListenerInternal(context, rate); 67 OrientationEventListenerInternal(Context context, int rate) { 68 super(context, rate);
|
/frameworks/wilhelm/src/itf/ |
IVisualization.cpp | 23 slVisualizationCallback callback, void *pContext, SLmilliHertz rate) 27 if (!(0 < rate && rate <= 20000)) { 34 thiz->mRate = rate;
|
IRatePitch.cpp | 22 static SLresult IRatePitch_SetRate(SLRatePitchItf self, SLpermille rate) 27 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) { 31 thiz->mRate = rate; 49 SLpermille rate = thiz->mRate; local 51 *pRate = rate;
|
/packages/services/Car/service/src/com/android/car/hal/ |
SensorBase.java | 29 boolean requestSensorStart(int sensor, int rate);
|
/frameworks/hardware/interfaces/sensorservice/1.0/ |
IDirectReportChannel.hal | 31 * Configure sensor direct report on a direct channel: set rate to value 33 * shared memory region used for creating the channel; set rate to STOP will 37 * sensorHandle to -1 and rate to STOP. 40 * and rate is STOP, the call must stop of all active 42 * @param rate rate level value to set on the specified sensor. 46 * rate level is not supported by sensor, etc); 54 configure(int32_t sensorHandle, RateLevel rate)
|
/packages/services/Car/service/src/com/android/car/ |
Listeners.java | 24 * This class wraps a set of listeners of a given type of event, grouped by event-transmission rate. 35 /** rate requested from client */ 38 ClientWithRate(ClientType client, int rate) { 40 mRate = rate; 62 void setRate(int rate) { 63 mRate = rate; 72 /** rate sent to car */ 75 Listeners(int rate) { 76 mRate = rate; 83 void setRate(int rate) { [all...] |
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
acm_codec_database.cc | 33 bool IsISACRateValid(int rate) { 34 return (rate == -1) || ((rate <= 56000) && (rate >= 10000)); 38 bool IsILBCRateValid(int rate, int frame_size_samples) { 40 (rate == 13300)) { 43 (rate == 15200)) { 51 bool IsOpusRateValid(int rate) { 52 return (rate >= 6000) && (rate <= 510000) [all...] |
/external/autotest/client/site_tests/audio_Microphone/ |
audio_Microphone.py | 23 self, filesize, duration, channels, rate, bits=16): 24 expected = duration * channels * (bits / 8) * rate 29 def verify_alsa_capture(self, channels, rate, device, bits=16): 33 bits=bits, rate=rate, device=device) 36 DURATION, channels, rate, bits) 39 def verify_cras_capture(self, channels, rate): 43 rate=rate) 46 DURATION, channels, rate) [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/QA/ |
runiSACNB.txt | 29 for rate in ${TARGETRATE[*]} 32 $ISAC $rate -FL 30 -NB 1 $INDIR/"$file" $OUTDIR/nb130_$index1"$file" >> $LOGFILE 33 $ISAC $rate -FL 60 -NB 1 $INDIR/"$file" $OUTDIR/nb160_$index1"$file" >> $LOGFILE 34 $ISAC $rate -FL 30 -NB 2 $INDIR/"$file" $OUTDIR/nb230_$index1"$file" >> $LOGFILE 35 $ISAC $rate -FL 60 -NB 2 $INDIR/"$file" $OUTDIR/nb260_$index1"$file" >> $LOGFILE 36 $ISAC $rate -FL 30 -NB 2 -PL 10 $INDIR/"$file" $OUTDIR/nb2plc30_$index1"$file" >> $LOGFILE 37 $ISAC $rate -FL 60 -NB 2 -PL 10 $INDIR/"$file" $OUTDIR/nb2plc60_$index1"$file" >> $LOGFILE
|
/external/adhd/cras/src/common/ |
cras_util.h | 31 /* Converts a buffer level from one sample rate to another. */ 40 unsigned int rate, 43 t->tv_sec = frames / rate; 44 frames = frames % rate; 45 t->tv_nsec = (uint64_t)frames * 1000000000 / rate; 50 double rate, 53 double seconds = frames / rate; 61 unsigned int rate) 63 return t->tv_nsec * (uint64_t)rate / 1000000000 + rate * t->tv_sec [all...] |
/external/tensorflow/tensorflow/python/ops/distributions/ |
exponential.py | 43 The Exponential distribution is parameterized by an event `rate` parameter. 54 where `rate = lambda` and `Z` is the normalizaing constant. 60 Exponential(rate) = Gamma(concentration=1., rate) 63 The Exponential distribution uses a `rate` parameter, or "inverse scale", 67 X ~ Exponential(rate=1) 68 Y = X / rate 74 rate, 78 """Construct Exponential distribution with parameter `rate`. 81 rate: Floating point tensor, equivalent to `1 / mean`. Must contain onl 117 def rate(self): member in class:Exponential [all...] |
gamma.py | 50 parameters `concentration` (aka "alpha") and `rate` (aka "beta"). 64 * `rate = beta`, `beta > 0`, 82 rate = beta = mean / stddev**2 = concentration / mean 94 dist = Gamma(concentration=3.0, rate=2.0) 95 dist2 = Gamma(concentration=[3.0, 4.0], rate=[2.0, 3.0]) 102 rate, 106 """Construct Gamma with `concentration` and `rate` parameters. 108 The parameters `concentration` and `rate` must be shaped in a way that 109 supports broadcasting (e.g. `concentration + rate` is a valid operation). 114 rate: Floating point tensor, the inverse scale params of th 162 def rate(self): member in class:Gamma [all...] |
/external/python/cpython3/Modules/_sha3/kcp/ |
KeccakSponge.h | 28 * In all these functions, the rate and capacity must sum to the width of the 37 * It gathers the state processed by the permutation as well as the rate, 44 * @param rate The value of the rate r. 63 * and the rate a multiple of 8 bits (one byte) in this implementation. 67 int Prefix_Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input, size_t inputByteLen, unsigned char suffix, unsigned char *output, size_t outputByteLen); 73 * @param rate The value of the rate r. 76 * and the rate a multiple of 8 bits (one byte) in this implementation. 79 int Prefix_SpongeInitialize(Prefix_SpongeInstance *spongeInstance, unsigned int rate, unsigned int capacity) [all...] |