Searched defs:LeakyBucket (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/net/quic/congestion_control/
H A Dleaky_bucket.h21 class NET_EXPORT_PRIVATE LeakyBucket { class in namespace:net
23 explicit LeakyBucket(QuicBandwidth draining_rate);
44 DISALLOW_COPY_AND_ASSIGN(LeakyBucket);
H A Dleaky_bucket.cc11 LeakyBucket::LeakyBucket(QuicBandwidth draining_rate) function in class:net::LeakyBucket
17 void LeakyBucket::SetDrainingRate(QuicTime now, QuicBandwidth draining_rate) {
22 void LeakyBucket::Add(QuicTime now, QuicByteCount bytes) {
27 QuicTime::Delta LeakyBucket::TimeRemaining(QuicTime now) const {
38 QuicByteCount LeakyBucket::BytesPending(QuicTime now) {
43 void LeakyBucket::Update(QuicTime now) {
/external/chromium_org/jingle/glue/
H A Dpseudotcp_adapter_unittest.cc42 class LeakyBucket : public RateLimiter { class in namespace:jingle_glue::__anon7987
45 LeakyBucket(double volume, double rate) function in class:jingle_glue::__anon7987::LeakyBucket
52 virtual ~LeakyBucket() { }
350 LeakyBucket host_limiter(kBurstPackets, kPacketsPerSecond);
354 LeakyBucket client_limiter(kBurstPackets, kPacketsPerSecond);

Completed in 213 milliseconds