HomeSort by relevance Sort by last modified time
    Searched full:cachesize (Results 1 - 25 of 99) sorted by null

1 2 3 4

  /external/chromium_org/chrome/browser/extensions/token_cache/
token_cache_service_unittest.cc 24 size_t CacheSize() {
56 EXPECT_EQ(1U, CacheSize());
83 EXPECT_EQ(1U, CacheSize());
92 EXPECT_EQ(1U, CacheSize());
98 EXPECT_EQ(0U, CacheSize());
106 EXPECT_EQ(1U, CacheSize());
110 EXPECT_EQ(0U, CacheSize());
  /cts/tests/tests/content/src/android/content/pm/cts/
PackageStatsTest.java 30 long cacheSize = 10240;
36 stats.cacheSize = codeSize;
37 stats.codeSize = cacheSize;
58 assertEquals(expected.cacheSize, actual.cacheSize);
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
LRUCache.java 29 * This cache has a fixed maximum number of elements (<code>cacheSize</code>).
44 private int cacheSize;
49 * @param cacheSize
52 public LRUCache(int cacheSize) {
53 this.cacheSize = cacheSize;
54 int hashTableCapacity = (int) Math.ceil(cacheSize / LRUCache.hashTableLoadFactor) + 1;
62 return this.size() > LRUCache.this.cacheSize;
  /external/chromium_org/third_party/WebKit/Source/platform/mac/
ColorMac.mm 87 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)
  /frameworks/base/core/java/android/content/pm/
PackageStats.java 44 public long cacheSize;
95 if (cacheSize != 0) {
97 sb.append(cacheSize);
139 cacheSize = source.readLong();
152 cacheSize = pStats.cacheSize;
169 dest.writeLong(cacheSize);
  /external/chromium_org/chrome/browser/resources/image_loader/
cache.js 166 var onCacheSize = function(cacheSize) {
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;
  /frameworks/base/core/tests/coretests/src/android/view/
BigCache.java 44 final int cacheSize = ViewConfiguration.getMaximumDrawingCacheSize();
58 final int height = 2 * (cacheSize / 2) / screenWidth;
  /external/dnsmasq/contrib/slackware-dnsmasq/
dnsmasq.leasedir.diff.gz 
  /frameworks/native/opengl/libs/EGL/
egl_cache.cpp 219 size_t cacheSize = mBlobCache->getFlattenedSize();
245 size_t fileSize = headerSize + cacheSize;
256 status_t err = mBlobCache->flatten(buf + headerSize, cacheSize);
269 *crc = crc32c(buf + headerSize, cacheSize);
324 size_t cacheSize = fileSize - headerSize;
331 if (crc32c(buf + headerSize, cacheSize) != *crc) {
337 status_t err = mBlobCache->unflatten(buf + headerSize, cacheSize);
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
AlbumSetDataLoader.java 77 public AlbumSetDataLoader(AbstractGalleryActivity activity, MediaSet albumSet, int cacheSize) {
79 mCoverItem = new MediaItem[cacheSize];
80 mData = new MediaSet[cacheSize];
81 mTotalCount = new int[cacheSize];
82 mItemVersion = new long[cacheSize];
83 mSetVersion = new long[cacheSize];
  /external/lzma/C/
Ppmd7Enc.c 14 p->CacheSize = 1;
27 while(--p->CacheSize != 0);
30 p->CacheSize++;
Ppmd7.h 129 UInt64 CacheSize;
  /frameworks/base/core/java/android/database/sqlite/
SQLiteDebug.java 133 /** statement cache stats: hits/misses/cachesize */
137 int hits, int misses, int cachesize) {
142 this.cache = hits + "/" + misses + "/" + cachesize;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/
test_dbenv.py 165 cachesize = (0, 512*1024*1024, 3)
166 self.env.set_cachesize(*cachesize)
167 self.assertEqual(cachesize, self.env.get_cachesize())
169 cachesize = (0, 1*1024*1024, 5)
170 self.env.set_cachesize(*cachesize)
172 self.assertEqual(cachesize[0], cachesize2[0])
173 self.assertEqual(cachesize[2], cachesize2[2])
176 self.assertEqual(125, int(100.0*cachesize2[1]/cachesize[1]))
181 cachesize = (0, 2*1024*1024, 1)
183 self.env.set_cachesize, *cachesize)
    [all...]
test_basics.py 37 cachesize = (0, 1024*1024, 1) variable in class:BasicTestCase
71 self.d.set_cachesize(*self.cachesize)
72 cachesize = self.d.get_cachesize()
73 self.assertEqual(cachesize[0], self.cachesize[0])
74 self.assertEqual(cachesize[2], self.cachesize[2])
77 self.assertEqual(125, int(100.0*cachesize[1]/self.cachesize[1]))
90 self.d.set_cachesize, *self.cachesize)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/
test_dbenv.py 165 cachesize = (0, 512*1024*1024, 3)
166 self.env.set_cachesize(*cachesize)
167 self.assertEqual(cachesize, self.env.get_cachesize())
169 cachesize = (0, 1*1024*1024, 5)
170 self.env.set_cachesize(*cachesize)
172 self.assertEqual(cachesize[0], cachesize2[0])
173 self.assertEqual(cachesize[2], cachesize2[2])
176 self.assertEqual(125, int(100.0*cachesize2[1]/cachesize[1]))
181 cachesize = (0, 2*1024*1024, 1)
183 self.env.set_cachesize, *cachesize)
    [all...]
test_basics.py 37 cachesize = (0, 1024*1024, 1) variable in class:BasicTestCase
71 self.d.set_cachesize(*self.cachesize)
72 cachesize = self.d.get_cachesize()
73 self.assertEqual(cachesize[0], self.cachesize[0])
74 self.assertEqual(cachesize[2], self.cachesize[2])
77 self.assertEqual(125, int(100.0*cachesize[1]/self.cachesize[1]))
90 self.d.set_cachesize, *self.cachesize)
    [all...]
  /cts/tests/tests/net/src/android/net/wifi/cts/
NsdManagerTest.java 432 int cacheSize = mEventCache.size();
433 if (cacheSize != size) {
434 Log.d(TAG, "id = " + mWaitId + ": event cache size = " + cacheSize);
435 for (int i = 0; i < cacheSize; i++) {
441 return (cacheSize == size);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/
__init__.py 354 cachesize=None, lorder=None, hflags=0):
357 e = _openDBEnv(cachesize)
370 btflags=0, cachesize=None, maxkeypage=None, minkeypage=None,
374 e = _openDBEnv(cachesize)
388 rnflags=0, cachesize=None, pgsize=None, lorder=None,
392 e = _openDBEnv(cachesize)
406 def _openDBEnv(cachesize):
408 if cachesize is not None:
409 if cachesize >= 20480:
410 e.set_cachesize(0, cachesize)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/
__init__.py 354 cachesize=None, lorder=None, hflags=0):
357 e = _openDBEnv(cachesize)
370 btflags=0, cachesize=None, maxkeypage=None, minkeypage=None,
374 e = _openDBEnv(cachesize)
388 rnflags=0, cachesize=None, pgsize=None, lorder=None,
392 e = _openDBEnv(cachesize)
406 def _openDBEnv(cachesize):
408 if cachesize is not None:
409 if cachesize >= 20480:
410 e.set_cachesize(0, cachesize)
    [all...]
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageMeasurement.java 119 public long cacheSize;
251 long cacheSize = stats.cacheSize;
257 cacheSize += stats.externalCacheSize;
271 mDetails.cacheSize += cacheSize;
277 mDetails.cacheSize += stats.externalCacheSize;
  /external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
ModelConverter.java 65 public static void generateStrips(Mesh mesh, boolean stitch, boolean listOnly, int cacheSize, int minStripSize){
68 ts.setCacheSize(cacheSize);
  /external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/
TriStrip.java 68 int cacheSize = CACHESIZE_GEFORCE1_2;
96 cacheSize = _cacheSize;
142 stripifier.stripify(tempIndices, cacheSize, minStripSize, maxIndex, tempStrips, tempFaces);
  /external/dnsmasq/src/
cache.c 81 bignames_left = daemon->cachesize/10;
83 if (daemon->cachesize > 0)
85 crecp = safe_malloc(daemon->cachesize*sizeof(struct crec));
87 for (i=0; i < daemon->cachesize; i++, crecp++)
96 rehash(daemon->cachesize);
871 int i, total_size = daemon->cachesize;
901 if (daemon->cachesize > 0)
1131 daemon->cachesize, cache_live_freed, cache_inserted);
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
ApplicationsState.java 72 long cacheSize;
80 // this with cacheSize because currently the platform can't
737 sum += mAppEntries.get(i).cacheSize;
    [all...]

Completed in 1287 milliseconds

1 2 3 4