HomeSort by relevance Sort by last modified time
    Searched refs:MAX_SIZE (Results 1 - 14 of 14) sorted by null

  /external/guava/guava-tests/test/com/google/common/cache/
CacheEvictionTest.java 41 static final int MAX_SIZE = 100;
68 .maximumSize(MAX_SIZE)
70 for (int i = 0; i < 2 * MAX_SIZE; i++) {
72 assertEquals(Math.min(i + 1, MAX_SIZE), cache.size());
75 assertEquals(MAX_SIZE, cache.size());
83 .maximumWeight(2 * MAX_SIZE)
86 for (int i = 0; i < 2 * MAX_SIZE; i++) {
88 assertEquals(Math.min(i + 1, MAX_SIZE), cache.size());
91 assertEquals(MAX_SIZE, cache.size());
99 .maximumSize(MAX_SIZE)
    [all...]
  /external/skia/tests/
StreamTest.cpp 13 #define MAX_SIZE (256 * 1024)
25 SkAutoMalloc am(MAX_SIZE * 2);
27 char* storage2 = storage + MAX_SIZE;
29 random_fill(rand, storage, MAX_SIZE);
32 int size = rand.nextU() % MAX_SIZE;
34 size = MAX_SIZE;
  /system/extras/tests/memtest/
memtest.cpp 146 const int MAX_SIZE = 1024*1024; // 1MB
149 char* src = (char*)malloc(MAX_SIZE+4+8+32);
150 char* dst = (char*)malloc(MAX_SIZE+4+8+32);
151 memset(src, 0, MAX_SIZE+4+8+32);
152 memset(dst, 0, MAX_SIZE+4+8+32);
160 static int FAST_SIZES[] = { 1024, DCACHE_SIZE/2, DCACHE_SIZE, DCACHE_SIZE*2, MAX_SIZE };
177 if (size > MAX_SIZE) {
214 for (int i=0 ; i<MAX_SIZE ; i++) {
275 const int MAX_SIZE = 1024*1024; // 1MB
278 char* dst = (char*)malloc(MAX_SIZE+4+8)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
FileClientSessionCacheTest.java 36 final int iterations = FileClientSessionCache.MAX_SIZE * 10;
54 assertEquals(FileClientSessionCache.MAX_SIZE, cacheDir.list().length);
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
FileClientSessionCache.java 41 public static final int MAX_SIZE = 12; // ~72k
51 * <p>When the number of session files exceeds MAX_SIZE, we delete the
116 MAX_SIZE, 0.75f, true /* access order */);
240 if (size <= MAX_SIZE) {
247 int removals = size - MAX_SIZE;
  /frameworks/av/media/libmedia/
MemoryLeakTrackUtil.cpp 40 static const size_t MAX_SIZE = 256 * 1024;
43 : mPtr((char *)malloc(MAX_SIZE)) {
  /development/apps/FontLab/src/com/android/fontlab/
FontLab.java 35 private static final int MAX_SIZE = 60;
310 size = Math.min(MAX_SIZE, Math.max(MIN_SIZE, size));
  /frameworks/base/core/java/android/widget/
GridLayout.java 212 static final int MAX_SIZE = 100000;
    [all...]
  /frameworks/support/v7/gridlayout/src/android/support/v7/widget/
GridLayout.java 212 static final int MAX_SIZE = 100000;
    [all...]
  /sdk/testapps/gridlayoutTest/v7-gridlayout/libs/
android-support-v7-gridlayout.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant.jar 
  /prebuilts/tools/common/ant/
ant.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.ui.workbench_3.6.1.M20101117-0800.jar 
  /prebuilts/tools/common/eclipse/
org.eclipse.ui.workbench_3.6.2.M20110210-1200.jar 

Completed in 272 milliseconds