Home
last modified time | relevance | path

Searched refs:cacheSize (Results 1 – 15 of 15) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DLRUCache.java44 private int cacheSize; field in LRUCache
52 public LRUCache(int cacheSize) { in LRUCache() argument
53 this.cacheSize = cacheSize; in LRUCache()
54 int hashTableCapacity = (int) Math.ceil(cacheSize / LRUCache.hashTableLoadFactor) + 1; in LRUCache()
62 return this.size() > LRUCache.this.cacheSize; in LRUCache()
/external/chromium_org/chrome/browser/resources/image_loader/
Dcache.js166 var onCacheSize = function(cacheSize) { argument
167 if (size < Cache.MEMORY_LIMIT - cacheSize) {
169 this.setCacheSize_(cacheSize + size, transaction);
195 this.setCacheSize_(cacheSize - totalEvicted + size, transaction);
357 var cacheSize = null;
368 if (cacheSize === null || !metadataEntry) {
377 this.setCacheSize_(cacheSize - metadataEntry.size, transaction);
387 cacheSize = result;
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DColorMac.mm87 const int cacheSize = 32;
88 static unsigned cachedRGBAValues[cacheSize];
89 static RetainPtr<NSColor>* cachedColors = new RetainPtr<NSColor>[cacheSize];
91 for (int i = 0; i != cacheSize; ++i) {
104 if (++cursor == cacheSize)
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/
DTriStrip.java68 int cacheSize = CACHESIZE_GEFORCE1_2; field in TriStrip
96 cacheSize = _cacheSize; in setCacheSize()
142 stripifier.stripify(tempIndices, cacheSize, minStripSize, maxIndex, tempStrips, tempFaces); in generateStrips()
DStripifier.java49 int cacheSize; field in Stripifier
748 VertexCache vcache = new VertexCache(cacheSize); in removeSmallStrips()
1079 int threshold = cacheSize; in splitUpStripsAndOptimize()
1213 VertexCache vcache = new VertexCache(cacheSize); in splitUpStripsAndOptimize()
1339 cacheSize = Math.max(1, in_cacheSize - CACHE_INEFFICIENCY); in stripify()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
DModelConverter.java65 …public static void generateStrips(Mesh mesh, boolean stitch, boolean listOnly, int cacheSize, int … in generateStrips() argument
68 ts.setCacheSize(cacheSize); in generateStrips()
/external/valgrind/main/helgrind/
Dhg_wordset.h53 Word cacheSize );
Dhg_wordset.c359 Word cacheSize ) in HG_()
375 WCache_INIT(wsu->cache_addTo, cacheSize); in HG_()
376 WCache_INIT(wsu->cache_delFrom, cacheSize); in HG_()
377 WCache_INIT(wsu->cache_intersect, cacheSize); in HG_()
378 WCache_INIT(wsu->cache_minus, cacheSize); in HG_()
/external/lzma/C/
DLzmaEnc.c226 UInt64 cacheSize; member
462 #define RangeEnc_GetProcessed(p) ((p)->processed + ((p)->buf - (p)->bufBase) + (p)->cacheSize)
488 p->cacheSize = 1; in RangeEnc_Init()
523 while (--p->cacheSize != 0); in RangeEnc_ShiftLow()
526 p->cacheSize++; in RangeEnc_ShiftLow()
/external/chromium_org/third_party/ots/third_party/lzma_sdk/
DLzmaEnc.c227 UInt64 cacheSize; member
463 #define RangeEnc_GetProcessed(p) ((p)->processed + ((p)->buf - (p)->bufBase) + (p)->cacheSize)
489 p->cacheSize = 1; in RangeEnc_Init()
524 while (--p->cacheSize != 0); in RangeEnc_ShiftLow()
527 p->cacheSize++; in RangeEnc_ShiftLow()
/external/chromium_org/third_party/lzma_sdk/
DLzmaEnc.c226 UInt64 cacheSize; member
462 #define RangeEnc_GetProcessed(p) ((p)->processed + ((p)->buf - (p)->bufBase) + (p)->cacheSize)
488 p->cacheSize = 1; in RangeEnc_Init()
523 while (--p->cacheSize != 0); in RangeEnc_ShiftLow()
526 p->cacheSize++; in RangeEnc_ShiftLow()
/external/chromium_org/third_party/skia/src/gpu/
DSkGpuDevice.cpp1063 size_t cacheSize; in shouldTileBitmap() local
1064 fContext->getTextureCacheLimits(NULL, &cacheSize); in shouldTileBitmap()
1065 if (bmpSize < cacheSize / 2) { in shouldTileBitmap()
/external/skia/src/gpu/
DSkGpuDevice.cpp1063 size_t cacheSize; in shouldTileBitmap() local
1064 fContext->getTextureCacheLimits(NULL, &cacheSize); in shouldTileBitmap()
1065 if (bmpSize < cacheSize / 2) { in shouldTileBitmap()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DElement.cpp1468 size_t cacheSize = pseudoStyleCache->size(); in pseudoStyleCacheIsInvalid() local
1469 for (size_t i = 0; i < cacheSize; ++i) { in pseudoStyleCacheIsInvalid()
/external/jmonkeyengine/
DNOTICE4754 * This cache has a fixed maximum number of elements (<code>cacheSize</code>).