HomeSort by relevance Sort by last modified time
    Searched defs:limiter (Results 1 - 5 of 5) sorted by null

  /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...]
  /system/media/audio_utils/
limiter.c 18 #include <audio_utils/limiter.h>
35 float limiter(float in) function
  /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...]
  /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...]

Completed in 569 milliseconds