Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
DRagdollUtils.java70 float maxWeight = 0; in buildPointMapForMesh() local
77 maxWeight = -1; in buildPointMapForMesh()
80 if (weight > maxWeight) { in buildPointMapForMesh()
81 maxWeight = weight; in buildPointMapForMesh()
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java188 final long maxWeight; field in LocalCache
242 maxWeight = builder.getMaximumWeight(); in LocalCache()
260 initialCapacity = Math.min(initialCapacity, (int) maxWeight); in LocalCache()
269 && (!evictsBySize() || customWeigher() || segmentCount * 2 <= maxWeight)) { in LocalCache()
290 long maxSegmentWeight = maxWeight / segmentCount + 1; in LocalCache()
291 long remainder = maxWeight % segmentCount; in LocalCache()
308 return maxWeight >= 0; in evictsBySize()
4593 final long maxWeight;
4610 cache.maxWeight,
4621 long expireAfterWriteNanos, long expireAfterAccessNanos, long maxWeight,
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java132 assertEquals(CacheBuilder.UNSET_INT, map.maxWeight); in testDefaults()
2334 assertEquals(localCacheOne.maxWeight, localCacheTwo.maxWeight); in testSerializationProxyLoading()
2351 assertEquals(localCacheTwo.maxWeight, localCacheThree.maxWeight); in testSerializationProxyLoading()
2389 assertEquals(localCacheOne.maxWeight, localCacheTwo.maxWeight); in testSerializationProxyManual()
2404 assertEquals(localCacheTwo.maxWeight, localCacheThree.maxWeight); in testSerializationProxyManual()