/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | SlidingPercentile.java | 48 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/ |
D | LocalCache.java | 192 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/ |
D | LocalCache.java | 196 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/ |
D | DefaultBandwidthMeter.java | 269 int maxWeight, in DefaultBandwidthMeter() argument 275 this.slidingPercentile = new SlidingPercentile(maxWeight); in DefaultBandwidthMeter()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | LocalCacheTest.java | 267 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/ |
D | LocalCacheTest.java | 270 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/ |
D | zstd_v02.c | 1885 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()
|
D | zstd_v03.c | 1882 const U32* rankStart, rankVal_t rankValOrigin, const U32 maxWeight, in HUF_fillDTableX4() argument 1887 const U32 minBits = nbBitsBaseline - maxWeight; in HUF_fillDTableX4()
|
D | zstd_v04.c | 2033 const U32* rankStart, rankVal_t rankValOrigin, const U32 maxWeight, in HUF_fillDTableX4() argument 2038 const U32 minBits = nbBitsBaseline - maxWeight; in HUF_fillDTableX4()
|
D | zstd_v05.c | 2159 const U32* rankStart, rankVal_t rankValOrigin, const U32 maxWeight, in HUFv05_fillDTableX4() argument 2164 const U32 minBits = nbBitsBaseline - maxWeight; in HUFv05_fillDTableX4()
|
D | zstd_v06.c | 2291 const U32* rankStart, rankVal_t rankValOrigin, const U32 maxWeight, in HUFv06_fillDTableX4() argument 2296 const U32 minBits = nbBitsBaseline - maxWeight; in HUFv06_fillDTableX4()
|
D | zstd_v07.c | 2098 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/ |
D | huf_decompress.c | 571 const U32* rankStart, rankVal_t rankValOrigin, const U32 maxWeight, in HUF_fillDTableX2() argument 576 const U32 minBits = nbBitsBaseline - maxWeight; in HUF_fillDTableX2()
|