/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultimapSizeTester.java | 33 * Tester for the {@code size} methods of {@code Multimap} and its views. 43 assertEquals(expectedSize, multimap.size()); 45 int size = 0; local 48 size++; 50 assertEquals(expectedSize, size); 54 size2 += entry2.getValue().size(); 73 assertEquals(getNumElements(), multimap().size()); 81 assertEquals(getNumElements(), multimap().size()); 89 assertEquals(getNumElements(), multimap().size()); 100 assertEquals(3, multimap().size()); [all...] |
/external/guava/guava-tests/benchmark/com/google/common/base/ |
StringsRepeatBenchmark.java | 91 final int size = len * count; local 92 char[] array = new char[size]; 93 for (int i = 0; i < size; i+=len) { 101 final int size = len * count; local 102 final char[] array = new char[size]; 105 for (n = len; n < size - n; n <<= 1) { 108 System.arraycopy(array, 0, array, n, size - n);
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
IteratorBenchmark.java | 32 @Param({"0", "1", "16", "256", "4096", "65536"}) int size; field in class:IteratorBenchmark 40 array = new Object[size]; 41 arrayList = Lists.newArrayListWithCapacity(size); 44 for (int i = 0; i < size; i++) { 55 for (int index = 0; index < size; index++) { 85 for (int index = 0; index < size; index++) { 95 for (int index = 0; index < arrayList.size(); index++) {
|
MultisetIteratorBenchmark.java | 32 @Param({"0", "1", "16", "256", "4096", "65536"}) int size; field in class:MultisetIteratorBenchmark 41 hashMultiset = HashMultiset.create(size); 42 linkedHashMultiset = LinkedHashMultiset.create(size); 47 int sizeRemaining = size; 61 Preconditions.checkState(hashMultiset.size() == size);
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
MessageDigestAlgorithmBenchmark.java | 35 * <li>size: The length of the byte array to hash. 43 @Param({"10", "1000", "100000", "1000000"}) int size; field in class:MessageDigestAlgorithmBenchmark 93 testBytes = new byte[size];
|
/external/guava/guava-tests/test/com/google/common/collect/ |
MapsTransformValuesTest.java | 91 assertEquals(expectedValues.size(), mapValues.size()); 178 assertEquals(underlying.size(), map.size()); 181 assertEquals(underlying.size(), map.size()); 185 assertEquals(underlying.size(), map.size()); 189 assertEquals(underlying.size(), map.size()); [all...] |
/external/guice/core/src/com/google/inject/spi/ |
ElementSource.java | 152 int size = moduleSource.size(); local 153 Integer[] positions = new Integer[size]; 157 for (int cursor = 1; cursor < size; cursor++) { 176 int size = moduleSource.getStackTraceSize() + chunkSize; local 177 StackTraceElement[] callStack = new StackTraceElement[size];
|
/external/harfbuzz_ng/src/ |
hb-glib.cc | 393 gsize size = 0; local 394 gconstpointer data = g_bytes_get_data (gbytes, &size); 396 size,
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
CalendarCache.java | 32 size = 0; 47 if (size >= threshold) { 54 size++; 82 size = 0; 117 private int size = 0; field in class:CalendarCache
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
ByteArrayWrapper.java | 20 * size when necessary. 35 * Size of the internal byte array used. 36 * Different from bytes.length, size will be <= bytes.length. 37 * Semantics of size is similar to java.util.Vector.size(). 39 public int size; field in class:ByteArrayWrapper 51 * Construct a new ByteArrayWrapper from a byte array and size 53 * @param size the length of valid data in the byte array 54 * @throws IndexOutOfBoundsException if bytesToAdopt == null and size != 0, or 55 * size < 0, or size > bytesToAdopt.length [all...] |
/external/icu/icu4c/source/common/unicode/ |
ucnv_err.h | 193 uint16_t size; /**< The size of this struct. @stable ICU 2.0 */ member in struct:__anon11828 209 uint16_t size; /**< The size of this struct @stable ICU 2.0 */ member in struct:__anon11829 228 * @param length Size (in bytes) of the concerned codepage sequence 253 * @param length Size (in bytes) of the concerned codepage sequence 278 * @param length Size (in bytes) of the concerned codepage sequence 307 * @param length Size (in bytes) of the concerned codepage sequence 364 * @param length Size (in bytes) of the concerned codepage sequence 393 * @param length Size (in bytes) of the concerned codepage sequenc [all...] |
udata.h | 10 * tab size: 8 (not used) 78 * <code>size</code> field.</p> 114 uint16_t size; member in struct:__anon11830 305 * its <code>size</code> field must be set correctly, 310 * <code>pInfo->size</code>, then the <code>size</code> will be
|
/external/icu/icu4c/source/common/ |
uvectr32.h | 84 * equal if they are of the same size and all elements are equal, 124 int32_t size(void) const; 128 // Inline. Use this one for speedy size check. 135 * Change the size of this vector as follows: If newSize is 206 int32_t *reserveBlock(int32_t size, UErrorCode &status); 207 int32_t *popFrame(int32_t size); 233 inline int32_t *UVector32::reserveBlock(int32_t size, UErrorCode &status) { 234 if (ensureCapacity(count+size, status) == FALSE) { 238 count += size; 242 inline int32_t *UVector32::popFrame(int32_t size) { 253 inline int32_t UVector32::size(void) const { function in class:UVector32 [all...] |
/external/icu/icu4c/source/io/ |
sprintf.c | 42 int32_t size = ufmt_min(count, output->available); local 44 u_strncpy(output->str + (output->len - output->available), str, size); 45 output->available -= size; 46 return size; 179 int32_t size = (int32_t)strlen(patternSpecification) + 1; local 182 if (size >= MAX_UCHAR_BUFFER_SIZE(patBuffer)) { 183 pattern = (UChar *)uprv_malloc(size * sizeof(UChar)); 191 u_charsToUChars(patternSpecification, pattern, size);
|
uprintf.cpp | 172 size_t size = strlen(patternSpecification) + 1; local 175 if (size >= MAX_UCHAR_BUFFER_SIZE(buffer)) { 176 pattern = (UChar *)uprv_malloc(size * sizeof(UChar)); 184 u_charsToUChars(patternSpecification, pattern, size);
|
/external/icu/icu4c/source/tools/toolutil/ |
filestrm.c | 166 int32_t size = 0; local 171 size = (int32_t)ftell((FILE*)fileStream); 173 return size;
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
UVector32.java | 18 public int size() { return length; } method in class:UVector32
|
UVector64.java | 18 public int size() { return length; } method in class:UVector64
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
CalendarCache.java | 30 size = 0; 45 if (size >= threshold) { 52 size++; 80 size = 0; 115 private int size = 0; field in class:CalendarCache
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
ByteArrayWrapper.java | 19 * size when necessary. 35 * Size of the internal byte array used. 36 * Different from bytes.length, size will be <= bytes.length. 37 * Semantics of size is similar to java.util.Vector.size(). 40 public int size; field in class:ByteArrayWrapper 53 * Construct a new ByteArrayWrapper from a byte array and size 55 * @param size the length of valid data in the byte array 56 * @throws IndexOutOfBoundsException if bytesToAdopt == null and size != 0, or 57 * size < 0, or size > bytesToAdopt.length [all...] |
/external/iptables/include/linux/netfilter/ |
xt_hashlimit.h | 32 __u32 size; /* how many buckets */ member in struct:hashlimit_cfg 56 __u32 size; /* how many buckets */ member in struct:hashlimit_cfg1
|
/external/iptables/iptables/ |
xshared.c | 144 size_t size; local 148 size = XT_ALIGN(sizeof(struct xt_entry_match)) + m->size; 150 m->m = xtables_calloc(1, size); 151 m->m->u.match_size = size;
|
/external/javasqlite/src/main/java/SQLite/ |
Blob.java | 39 int ret = blob.size - pos; 85 } else if (ret > blob.size) { 86 ret = blob.size; 87 pos = blob.size; 256 * Cached size of blob, setup right after blob 260 protected int size = 0; field in class:Blob
|
/external/javassist/src/main/javassist/ |
URLClassPath.java | 136 int size = con.getContentLength(); local 139 if (size <= 0) 142 b = new byte[size]; 145 int n = s.read(b, len, size - len); 151 } while (len < size);
|
/external/javassist/src/main/javassist/bytecode/annotation/ |
ArrayMemberValue.java | 60 int size = values.length; local 64 if (clazz == null || size > 0) 71 Object a = Array.newInstance(clazz, size); 72 for (int i = 0; i < size; i++)
|