Home
last modified time | relevance | path

Searched refs:maxWeight (Results 1 – 13 of 13) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DSlidingPercentile.java48 private final int maxWeight; field in SlidingPercentile
61 public SlidingPercentile(int maxWeight) { in SlidingPercentile() argument
62 this.maxWeight = maxWeight; in SlidingPercentile()
93 while (totalWeight > maxWeight) { in addSample()
94 int excessWeight = totalWeight - maxWeight; in addSample()
/external/guava/android/guava/src/com/google/common/cache/
DLocalCache.java192 final long maxWeight; field in LocalCache
244 maxWeight = builder.getMaximumWeight(); in LocalCache()
263 initialCapacity = (int) Math.min(initialCapacity, maxWeight); in LocalCache()
273 while (segmentCount < concurrencyLevel && (!evictsBySize() || segmentCount * 20 <= maxWeight)) { in LocalCache()
294 long maxSegmentWeight = maxWeight / segmentCount + 1; in LocalCache()
295 long remainder = maxWeight % segmentCount; in LocalCache()
312 return maxWeight >= 0; in evictsBySize()
4512 final long maxWeight;
4529 cache.maxWeight,
4544 long maxWeight,
[all …]
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java196 final long maxWeight; field in LocalCache
248 maxWeight = builder.getMaximumWeight(); in LocalCache()
267 initialCapacity = (int) Math.min(initialCapacity, maxWeight); in LocalCache()
277 while (segmentCount < concurrencyLevel && (!evictsBySize() || segmentCount * 20 <= maxWeight)) { in LocalCache()
298 long maxSegmentWeight = maxWeight / segmentCount + 1; in LocalCache()
299 long remainder = maxWeight % segmentCount; in LocalCache()
316 return maxWeight >= 0; in evictsBySize()
4673 final long maxWeight;
4690 cache.maxWeight,
4705 long maxWeight,
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DDefaultBandwidthMeter.java269 int maxWeight, in DefaultBandwidthMeter() argument
275 this.slidingPercentile = new SlidingPercentile(maxWeight); in DefaultBandwidthMeter()
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java267 assertEquals(CacheBuilder.UNSET_INT, map.maxWeight); in testDefaults()
2610 assertEquals(localCacheOne.maxWeight, localCacheTwo.maxWeight); in testSerializationProxyLoading()
2627 assertEquals(localCacheTwo.maxWeight, localCacheThree.maxWeight); in testSerializationProxyLoading()
2667 assertEquals(localCacheOne.maxWeight, localCacheTwo.maxWeight); in testSerializationProxyManual()
2682 assertEquals(localCacheTwo.maxWeight, localCacheThree.maxWeight); in testSerializationProxyManual()
/external/guava/android/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java270 assertEquals(CacheBuilder.UNSET_INT, map.maxWeight); in testDefaults()
2561 assertEquals(localCacheOne.maxWeight, localCacheTwo.maxWeight); in testSerializationProxyLoading()
2578 assertEquals(localCacheTwo.maxWeight, localCacheThree.maxWeight); in testSerializationProxyLoading()
2618 assertEquals(localCacheOne.maxWeight, localCacheTwo.maxWeight); in testSerializationProxyManual()
2633 assertEquals(localCacheTwo.maxWeight, localCacheThree.maxWeight); in testSerializationProxyManual()
/external/zstd/lib/legacy/
Dzstd_v02.c1885 const U32* rankStart, rankVal_t rankValOrigin, const U32 maxWeight, in HUF_fillDTableX4() argument
1890 const U32 minBits = nbBitsBaseline - maxWeight; in HUF_fillDTableX4()
2203 … const rankVal_t rankValOrigin, const U32 consumed, const int minWeight, const U32 maxWeight, in HUF_fillDTableX6LevelN() argument
2208 const int minBits = nbBitsBaseline - maxWeight; in HUF_fillDTableX6LevelN()
2247 rankValOrigin, totalBits, nextMinWeight, maxWeight, in HUF_fillDTableX6LevelN()
Dzstd_v03.c1882 const U32* rankStart, rankVal_t rankValOrigin, const U32 maxWeight, in HUF_fillDTableX4() argument
1887 const U32 minBits = nbBitsBaseline - maxWeight; in HUF_fillDTableX4()
Dzstd_v04.c2033 const U32* rankStart, rankVal_t rankValOrigin, const U32 maxWeight, in HUF_fillDTableX4() argument
2038 const U32 minBits = nbBitsBaseline - maxWeight; in HUF_fillDTableX4()
Dzstd_v05.c2159 const U32* rankStart, rankVal_t rankValOrigin, const U32 maxWeight, in HUFv05_fillDTableX4() argument
2164 const U32 minBits = nbBitsBaseline - maxWeight; in HUFv05_fillDTableX4()
Dzstd_v06.c2291 const U32* rankStart, rankVal_t rankValOrigin, const U32 maxWeight, in HUFv06_fillDTableX4() argument
2296 const U32 minBits = nbBitsBaseline - maxWeight; in HUFv06_fillDTableX4()
Dzstd_v07.c2098 const U32* rankStart, rankVal_t rankValOrigin, const U32 maxWeight, in HUFv07_fillDTableX4() argument
2103 const U32 minBits = nbBitsBaseline - maxWeight; in HUFv07_fillDTableX4()
/external/zstd/lib/decompress/
Dhuf_decompress.c571 const U32* rankStart, rankVal_t rankValOrigin, const U32 maxWeight, in HUF_fillDTableX2() argument
576 const U32 minBits = nbBitsBaseline - maxWeight; in HUF_fillDTableX2()