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

1 2 3 4 5

  /external/okhttp/okio/okio/src/main/java/okio/
SegmentPool.java 25 static final long MAX_SIZE = 64 * 1024; // 64 KiB.
53 if (byteCount + Segment.SIZE > MAX_SIZE) return; // Pool is full.
  /external/valgrind/memcheck/tests/solaris/
brk.c 44 #define MAX_SIZE 8192
46 for (i = 0; i < MAX_SIZE; i++) {
52 for (i = 0; i < MAX_SIZE; i++) {
53 tmp = syscall(SYS_brk, begin + MAX_SIZE - 1 - i);
56 #undef MAX_SIZE
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
BaseKeyPool.java 8 private static final int MAX_SIZE = 20;
9 private final Queue<T> keyPool = Util.createQueue(MAX_SIZE);
20 if (keyPool.size() < 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];
  /external/glide/library/src/main/java/com/bumptech/glide/util/
ByteArrayPool.java 15 private static final int MAX_SIZE = 2 * 1048 * 1024;
16 private static final int MAX_BYTE_ARRAY_COUNT = MAX_SIZE / TEMP_BYTES_SIZE;
  /art/test/114-ParallelGC/src/
Main.java 28 private final static long MAX_SIZE = 1000; // Maximum size of array-list to allocate.
104 for (int i = 0; i < MAX_SIZE; i++) {
  /external/guava/guava/src/com/google/common/base/
SmallCharMatcher.java 33 static final int MAX_SIZE = 1023;
  /hardware/bsp/intel/peripheral/libmraa/src/spi/
spi.c 37 #define MAX_SIZE 64
135 char path[MAX_SIZE];
  /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)));
  /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...]
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
CustomPrinterIconCache.java 44 private final static int MAX_SIZE = 1024;
154 removeOldFiles(MAX_SIZE);
  /hardware/bsp/intel/peripheral/libmraa/src/arm/
banana.c 46 #define MAX_SIZE 64
72 char devpath[MAX_SIZE];
92 char devpath[MAX_SIZE];
beaglebone.c 47 #define MAX_SIZE 64
187 char devpath[MAX_SIZE];
188 char overlay[MAX_SIZE];
220 char devpath[MAX_SIZE];
221 char overlay[MAX_SIZE];
275 char devpath[MAX_SIZE];
276 char overlay[MAX_SIZE];
312 char devpath[MAX_SIZE];
313 char overlay[MAX_SIZE];
    [all...]
raspberry_pi.c 58 #define MAX_SIZE 64
70 char devpath[MAX_SIZE];
89 char devpath[MAX_SIZE];
  /hardware/bsp/intel/peripheral/libmraa/src/x86/
intel_galileo_rev_g.c 33 #define MAX_SIZE 64
123 char bu[MAX_SIZE];
124 snprintf(bu, MAX_SIZE, "/sys/class/pwm/pwmchip%d/device/pwm_period", dev->chipid);
131 char out[MAX_SIZE];
132 int length = snprintf(out, MAX_SIZE, "%d", period);
161 char filepath[MAX_SIZE];
162 snprintf(filepath, MAX_SIZE, SYSFS_CLASS_GPIO "/gpio%d/drive", pullup_map[dev->phy_pin]);
170 char bu[MAX_SIZE];
intel_edison_fab_c.c 39 #define MAX_SIZE 64
108 char buffer[MAX_SIZE];
117 snprintf(buffer, MAX_SIZE, SYSFS_CLASS_GPIO "/gpio%i/pinmux", sysfs);
120 snprintf(buffer, MAX_SIZE, DEBUGFS_PINMODE_PATH "%i/current_pinmux", sysfs);
536 char filepath[MAX_SIZE];
544 snprintf(filepath, MAX_SIZE, SYSFS_CLASS_GPIO "/gpio%d/pullmode", dev->pin);
548 snprintf(filepath, MAX_SIZE, DEBUGFS_PINMODE_PATH "%d/current_pullmode", dev->pin);
558 char bu[MAX_SIZE];
    [all...]
  /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/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;
  /external/skia/tests/
StreamTest.cpp 22 #define MAX_SIZE (256 * 1024)
  /frameworks/base/core/java/android/util/
MemoryIntArray.java 52 private static final int MAX_SIZE = 1024;
68 if (size > MAX_SIZE) {
69 throw new IllegalArgumentException("Max size is " + MAX_SIZE);
240 return MAX_SIZE;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
FalsingLog.java 58 private static final int MAX_SIZE = SystemProperties.getInt("debug.falsing_log_size", 100);
62 private final ArrayDeque<String> mLog = new ArrayDeque<>(MAX_SIZE);
109 if (sInstance.mLog.size() >= MAX_SIZE) {
  /hardware/bsp/intel/peripheral/libmraa/src/iio/
iio.c 33 #define MAX_SIZE 128
79 char buf[MAX_SIZE];
89 memset(buf, 0, MAX_SIZE);
90 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM, dev->num);
110 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name);
125 snprintf(buf, MAX_SIZE, "%stype", str);
155 snprintf(buf, MAX_SIZE, "%sen", str);
217 char buf[MAX_SIZE];
218 mraa_result_t result = mraa_iio_read_string(dev, attr_name, buf, MAX_SIZE-1);
230 char buf[MAX_SIZE];
    [all...]
  /hardware/bsp/intel/peripheral/libmraa/src/pwm/
pwm.c 34 #define MAX_SIZE 64
40 char bu[MAX_SIZE];
41 snprintf(bu, MAX_SIZE, "/sys/class/pwm/pwmchip%d/pwm%d/duty_cycle", dev->chipid, dev->pin);
60 char bu[MAX_SIZE];
61 snprintf(bu, MAX_SIZE, "/sys/class/pwm/pwmchip%d/pwm%d/period", dev->chipid, dev->pin);
68 char out[MAX_SIZE];
69 int length = snprintf(out, MAX_SIZE, "%d", period);
98 char bu[MAX_SIZE];
99 char output[MAX_SIZE];
100 snprintf(bu, MAX_SIZE, "/sys/class/pwm/pwmchip%d/pwm%d/period", dev->chipid, dev->pin)
    [all...]
  /hardware/bsp/intel/peripheral/libmraa/src/gpio/
gpio.c 39 #define MAX_SIZE 64
45 char bu[MAX_SIZE];
62 char bu[MAX_SIZE];
97 char directory[MAX_SIZE];
98 snprintf(directory, MAX_SIZE, SYSFS_CLASS_GPIO "/gpio%d/", dev->pin);
277 char bu[MAX_SIZE];
419 char filepath[MAX_SIZE];
420 snprintf(filepath, MAX_SIZE, SYSFS_CLASS_GPIO "/gpio%d/edge", dev->pin);
428 char bu[MAX_SIZE];
547 char filepath[MAX_SIZE];
    [all...]
  /packages/apps/ExactCalculator/src/com/android/calculator2/
BoundedRational.java 38 private static final int MAX_SIZE = 800; // total, in bits
113 return (mNum.bitLength() + mDen.bitLength() > MAX_SIZE);
612 if (den.bitLength() > MAX_SIZE) {

Completed in 671 milliseconds

1 2 3 4 5