/external/webrtc/webrtc/base/ |
ratelimiter_unittest.cc | 18 RateLimiter limiter = RateLimiter(2000, 1.0); local 24 EXPECT_TRUE(limiter.CanUse(0, monday)); 25 EXPECT_TRUE(limiter.CanUse(1000, monday)); 26 EXPECT_TRUE(limiter.CanUse(1999, monday)); 27 EXPECT_TRUE(limiter.CanUse(2000, monday)); 28 EXPECT_FALSE(limiter.CanUse(2001, monday)); 30 limiter.Use(1000, monday); 32 EXPECT_TRUE(limiter.CanUse(0, monday)); 33 EXPECT_TRUE(limiter.CanUse(999, monday)); 34 EXPECT_TRUE(limiter.CanUse(1000, monday)) [all...] |
/external/aac/libPCMutils/include/ |
limiter.h | 87 Description: Hard limiter for clipping prevention 129 * returns: limiter handle * 140 * limiter: limiter handle * 143 TDLIMITER_ERROR resetLimiter(TDLimiterPtr limiter); 148 * limiter: limiter handle * 151 TDLIMITER_ERROR destroyLimiter(TDLimiterPtr limiter); 155 * limiter: limiter handle [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
RateLimiterTest.java | 54 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); local 55 limiter.acquire(); // R0.00, since it's the first request 56 limiter.acquire(); // R0.20 57 limiter.acquire(); // R0.20 68 RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS); local 69 assertEquals(5.0, limiter.getRate()); 70 limiter.setRate(10.0); 71 assertEquals(10.0, limiter.getRate()); 74 limiter.setRate(0.0); 78 limiter.setRate(-10.0) 84 RateLimiter limiter = RateLimiter.create(999); local 118 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); local 127 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); local 136 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); local 145 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); local 178 RateLimiter limiter = RateLimiter.create(stopwatch, 2.0, 4000, MILLISECONDS); local 203 RateLimiter limiter = RateLimiter.create(stopwatch, 2.0, 4000, MILLISECONDS); local 249 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); local 258 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); local 267 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); local 274 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); local 294 RateLimiter limiter = RateLimiter.create(stopwatch, Double.POSITIVE_INFINITY); local 322 RateLimiter limiter = RateLimiter.create(stopwatch, Double.POSITIVE_INFINITY); local 337 RateLimiter limiter = RateLimiter.create( local 358 RateLimiter limiter = RateLimiter.create(stopwatch, Double.POSITIVE_INFINITY, 10, SECONDS); local 372 RateLimiter limiter = RateLimiter.create(stopwatch, 1.0); local [all...] |
/external/aac/libPCMutils/src/ |
limiter.cpp | 87 Description: Hard limiter for clipping prevention 91 #include "limiter.h" 113 /* create limiter */ 122 TDLimiterPtr limiter = NULL; local 131 /* alloc limiter struct */ 132 limiter = (TDLimiterPtr)FDKcalloc(1, sizeof(struct TDLimiter)); 133 if (!limiter) return NULL; 136 limiter->maxBuf = (FIXP_DBL*)FDKcalloc(attack + 1, sizeof(FIXP_DBL)); 137 limiter->delayBuf = (FIXP_DBL*)FDKcalloc(attack * maxChannels, sizeof(FIXP_DBL)); 139 if (!limiter->maxBuf || !limiter->delayBuf) [all...] |
/system/media/audio_utils/include/audio_utils/ |
limiter.h | 30 * This limiter function is the identity for [-sqrt(0.5), sqrt(0.5)] 37 extern float limiter(float in);
|
/system/media/audio_utils/tests/ |
limiter_tests.c | 20 #include <audio_utils/limiter.h> 28 printf("limit(%g)=%g\n", x, limiter(x)); 33 float out = limiter(in); 36 out = limiter(-in);
|
/system/media/audio_utils/ |
limiter.c | 18 #include <audio_utils/limiter.h> 35 float limiter(float in) function
|
conversion.cpp | 23 #include <audio_utils/limiter.h> 55 accum = limiter(accum * M_SQRT1_2);
|
Android.mk | 14 limiter.c \ 41 limiter.c \
|
/prebuilts/go/darwin-x86/src/mime/quotedprintable/ |
writer_test.go | 150 "Enfin, un signe égal suivi par un saut de ligne (donc la suite des trois caractères de codes ASCII 61, 13 et 10) peut être inséré n'importe où, afin de limiter la taille des lignes produites si nécessaire. Une limite de 76 caractères par ligne est généralement respectée.\r\n")
|
/prebuilts/go/linux-x86/src/mime/quotedprintable/ |
writer_test.go | 150 "Enfin, un signe égal suivi par un saut de ligne (donc la suite des trois caractères de codes ASCII 61, 13 et 10) peut être inséré n'importe où, afin de limiter la taille des lignes produites si nécessaire. Une limite de 76 caractères par ligne est généralement respectée.\r\n")
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_tgsi_soa.c | 237 LLVMValueRef i1cond, i2cond, icond, limiter; local 254 /* Decrement the loop limiter */ 255 limiter = LLVMBuildLoad(builder, mask->loop_limiter, ""); 257 limiter = LLVMBuildSub( 259 limiter, 263 LLVMBuildStore(builder, limiter, mask->loop_limiter); 276 limiter, [all...] |
/external/v8/src/regexp/ |
jsregexp.cc | [all...] |