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

1 2

  /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/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
BaseKeyPool.java 10 private static final int MAX_SIZE = 20;
15 keyPool = new ArrayDeque<T>(MAX_SIZE);
30 if (keyPool.size() < MAX_SIZE) {
  /external/okhttp/okio/src/main/java/okio/
SegmentPool.java 27 static final long MAX_SIZE = 64 * 1024; // 64 KiB.
54 if (byteCount + Segment.SIZE > MAX_SIZE) return; // Pool is full.
  /external/chromium_org/v8/src/heap/
gc-tracer.h 15 template <typename T, size_t MAX_SIZE>
40 index_ = (index_ + 1) % (MAX_SIZE + 1);
45 index_ = (index_ + MAX_SIZE) % (MAX_SIZE + 1);
58 return (end_ - begin_ + MAX_SIZE + 1) % (MAX_SIZE + 1);
65 end_ = (end_ + 1) % (MAX_SIZE + 1);
66 if (end_ == begin_) begin_ = (begin_ + 1) % (MAX_SIZE + 1);
69 begin_ = (begin_ + MAX_SIZE) % (MAX_SIZE + 1)
    [all...]
  /external/skia/tests/
BBoxHierarchyTest.cpp 23 static const int MAX_SIZE = 1000;
33 rect.fLeft = rand.nextS() % MAX_SIZE;
34 rect.fRight = rand.nextS() % MAX_SIZE;
35 rect.fTop = rand.nextS() % MAX_SIZE;
36 rect.fBottom = rand.nextS() % MAX_SIZE;
174 SkIRect::MakeLTRB(-MAX_SIZE, -MAX_SIZE, MAX_SIZE, MAX_SIZE)));
180 SkIRect::MakeLTRB(-MAX_SIZE, -MAX_SIZE, MAX_SIZE, MAX_SIZE)))
    [all...]
StreamTest.cpp 19 #define MAX_SIZE (256 * 1024)
  /external/glide/library/src/main/java/com/bumptech/glide/util/
ByteArrayPool.java 13 private static final int MAX_SIZE = 512 * 1024;
14 private static final int MAX_BYTE_ARRAY_COUNT = MAX_SIZE / TEMP_BYTES_SIZE;
  /external/chromium_org/third_party/opus/src/celt/tests/
test_unit_rotation.c 48 #define MAX_SIZE 100
55 opus_val16 x0[MAX_SIZE];
56 opus_val16 x1[MAX_SIZE];
  /external/libopus/celt/tests/
test_unit_rotation.c 48 #define MAX_SIZE 100
55 opus_val16 x0[MAX_SIZE];
56 opus_val16 x1[MAX_SIZE];
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
ClusterChainDirectory.java 40 public final static int MAX_SIZE = 65536 * 32;
129 if (size > MAX_SIZE) throw new DirectoryFullException(
130 "directory would grow beyond " + MAX_SIZE + " bytes",
  /external/conscrypt/src/test/java/org/conscrypt/
FileClientSessionCacheTest.java 36 final int iterations = FileClientSessionCache.MAX_SIZE * 10;
54 assertEquals(FileClientSessionCache.MAX_SIZE, cacheDir.list().length);
  /external/chromium_org/third_party/skia/tests/
BBoxHierarchyTest.cpp 20 static const SkScalar MAX_SIZE = 1000.0f;
30 rect.fLeft = rand.nextRangeF(0, MAX_SIZE);
31 rect.fRight = rand.nextRangeF(0, MAX_SIZE);
32 rect.fTop = rand.nextRangeF(0, MAX_SIZE);
33 rect.fBottom = rand.nextRangeF(0, MAX_SIZE);
StreamTest.cpp 19 #define MAX_SIZE (256 * 1024)
  /cts/tests/tests/net/src/android/net/ipv6/cts/
PingTest.java 54 private static final int MAX_SIZE = 4096;
113 ByteBuffer responseBuffer = ByteBuffer.allocate(MAX_SIZE);
161 byte[] packet = pingPacket((int) (Math.random() * (MAX_SIZE - ICMP_HEADER_SIZE)));
  /frameworks/av/media/libmedia/
MemoryLeakTrackUtil.cpp 41 static const size_t MAX_SIZE = 256 * 1024;
44 : mPtr((char *)malloc(MAX_SIZE)) {
53 strncat(mPtr, s, MAX_SIZE - size() - 1);
  /art/test/114-ParallelGC/src/
Main.java 28 public final static long MAX_SIZE = 1000; // Maximum size of array-list to allocate.
123 // This is the first stage, try to allocate up till MAX_SIZE.
124 boolean oom = i >= MAX_SIZE;
  /external/conscrypt/src/main/java/org/conscrypt/
FileClientSessionCache.java 39 public static final int MAX_SIZE = 12; // ~72k
49 * <p>When the number of session files exceeds MAX_SIZE, we delete the
114 MAX_SIZE, 0.75f, true /* access order */);
248 if (size <= MAX_SIZE) {
255 int removals = size - MAX_SIZE;
  /frameworks/base/services/core/java/com/android/server/
AssetAtlasService.java 85 private static final int MAX_SIZE = 2048;
405 new ComputeWorker(MIN_SIZE, MAX_SIZE, STEP, bitmaps, pixelCount, results, null).run();
408 int end = MAX_SIZE - (cpuCount - 1) * STEP;
534 int width = readInt(reader, MIN_SIZE, MAX_SIZE);
535 int height = readInt(reader, MIN_SIZE, MAX_SIZE);
688 while (threshold > MAX_SIZE * MAX_SIZE) {
701 for (int height = MIN_SIZE; height < MAX_SIZE; height += STEP) {
  /external/okhttp/okio/src/test/java/okio/
OkBufferTest.java 121 // Take 2 * MAX_SIZE segments. This will drain the pool, even if other tests filled it.
122 buffer.write(new byte[(int) SegmentPool.MAX_SIZE]);
123 buffer.write(new byte[(int) SegmentPool.MAX_SIZE]);
126 // Recycle MAX_SIZE segments. They're all in the pool.
127 buffer.readByteString(SegmentPool.MAX_SIZE);
128 assertEquals(SegmentPool.MAX_SIZE, SegmentPool.INSTANCE.byteCount);
130 // Recycle MAX_SIZE more segments. The pool is full so they get garbage collected.
131 buffer.readByteString(SegmentPool.MAX_SIZE);
132 assertEquals(SegmentPool.MAX_SIZE, SegmentPool.INSTANCE.byteCount);
134 // Take MAX_SIZE segments to drain the pool
    [all...]
  /external/chromium_org/net/disk_cache/blockfile/
backend_impl_v3.h 40 MAX_SIZE = 1 << 1, // A maximum size was provided.
  /frameworks/base/core/java/android/widget/
GridLayout.java 231 static final int MAX_SIZE = 100000;
    [all...]
  /frameworks/support/v7/gridlayout/src/android/support/v7/widget/
GridLayout.java 216 static final int MAX_SIZE = 100000;
    [all...]
  /prebuilts/sdk/current/support/v7/gridlayout/libs/
android-support-v7-gridlayout.jar 
  /sdk/testapps/gridlayoutTest/v7-gridlayout/libs/
android-support-v7-gridlayout.jar 
  /prebuilts/devtools/tools/lib/
fat32lib.jar 

Completed in 1789 milliseconds

1 2