/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
LocaleObjectCache.java | 25 public LocaleObjectCache(int initialCapacity, float loadFactor, int concurrencyLevel) { 26 _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel);
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/ |
LocaleObjectCache.java | 21 public LocaleObjectCache(int initialCapacity, float loadFactor, int concurrencyLevel) { 22 _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
LocaleObjectCache.java | 21 public LocaleObjectCache(int initialCapacity, float loadFactor, int concurrencyLevel) { 22 _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel);
|
/packages/apps/TV/src/com/android/tv/util/ |
MultiLongSparseArray.java | 43 public MultiLongSparseArray(int initialCapacity, int emptyCacheSize) { 44 mSparseArray = new LongSparseArray<>(initialCapacity);
|
/frameworks/support/v4/java/android/support/v4/util/ |
LongSparseArray.java | 65 public LongSparseArray(int initialCapacity) { 66 if (initialCapacity == 0) { 70 initialCapacity = ContainerHelpers.idealLongArraySize(initialCapacity); 71 mKeys = new long[initialCapacity]; 72 mValues = new Object[initialCapacity];
|
SparseArrayCompat.java | 45 public SparseArrayCompat(int initialCapacity) { 46 if (initialCapacity == 0) { 50 initialCapacity = ContainerHelpers.idealIntArraySize(initialCapacity); 51 mKeys = new int[initialCapacity]; 52 mValues = new Object[initialCapacity];
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
PositionMap.java | 47 public PositionMap(int initialCapacity) { 48 if (initialCapacity == 0) { 52 initialCapacity = idealIntArraySize(initialCapacity); 53 mKeys = new int[initialCapacity]; 54 mValues = new Object[initialCapacity];
|
/libcore/ojluni/src/main/java/java/util/ |
LinkedHashMap.java | 190 * @param initialCapacity the initial capacity 195 public LinkedHashMap(int initialCapacity, float loadFactor) { 196 super(initialCapacity, loadFactor); 204 * @param initialCapacity the initial capacity 207 public LinkedHashMap(int initialCapacity) { 208 super(initialCapacity); 239 * @param initialCapacity the initial capacity 246 public LinkedHashMap(int initialCapacity, 249 super(initialCapacity, loadFactor);
|
/external/guava/guava/src/com/google/common/cache/ |
CacheBuilderSpec.java | 45 * <li>{@code initialCapacity=[integer]}: sets {@link CacheBuilder#initialCapacity}. 98 .put("initialCapacity", new InitialCapacityParser()) 112 @VisibleForTesting Integer initialCapacity; 172 if (initialCapacity != null) { 173 builder.initialCapacity(initialCapacity); 243 initialCapacity, 264 return Objects.equal(initialCapacity, that.initialCapacity) [all...] |
/external/icu/icu4c/source/common/ |
uvector.cpp | 40 UVector::UVector(int32_t initialCapacity, UErrorCode &status) : 47 _init(initialCapacity, status); 60 UVector::UVector(UObjectDeleter *d, UElementsAreEqual *c, int32_t initialCapacity, UErrorCode &status) : 67 _init(initialCapacity, status); 70 void UVector::_init(int32_t initialCapacity, UErrorCode &status) { 74 // Fix bogus initialCapacity values; avoid malloc(0) and integer overflow 75 if ((initialCapacity < 1) || (initialCapacity > (int32_t)(INT32_MAX / sizeof(UElement)))) { 76 initialCapacity = DEFAULT_CAPACITY; 78 elements = (UElement *)uprv_malloc(sizeof(UElement)*initialCapacity); [all...] |
uvector.h | 95 UVector(int32_t initialCapacity, UErrorCode &status); 99 UVector(UObjectDeleter *d, UElementsAreEqual *c, int32_t initialCapacity, UErrorCode &status); 264 void _init(int32_t initialCapacity, UErrorCode &status); 299 UStack(int32_t initialCapacity, UErrorCode &status); 303 UStack(UObjectDeleter *d, UElementsAreEqual *c, int32_t initialCapacity, UErrorCode &status);
|
/prebuilts/tools/common/m2/repository/net/sf/trove4j/trove4j/1.1/ |
trove4j-1.1.jar | |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
ByteString.java | 733 * @param initialCapacity estimate of number of bytes to be written 736 public static Output newOutput(int initialCapacity) { 737 return new Output(initialCapacity); 767 private final int initialCapacity; 781 * @param initialCapacity the initial capacity of the output stream. 783 Output(int initialCapacity) { 784 if (initialCapacity < 0) { 787 this.initialCapacity = initialCapacity; 789 this.buffer = new byte[initialCapacity]; [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
toolutil.cpp | 248 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size) { 251 if(maxCapacity<initialCapacity) { 252 maxCapacity=initialCapacity; 255 mem=(UToolMemory *)uprv_malloc(sizeof(UToolMemory)+initialCapacity*size); 263 mem->capacity=initialCapacity;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSparseArray.java | 58 public void __constructor__(int initialCapacity) { 59 initialCapacity = idealIntArraySize(initialCapacity); 60 mKeys = new int[initialCapacity]; 61 mValues = new Object[initialCapacity];
|
/external/smali/util/src/main/java/org/jf/util/ |
SparseIntArray.java | 52 public SparseIntArray(int initialCapacity) { 53 mKeys = new int[initialCapacity]; 54 mValues = new int[initialCapacity];
|
/frameworks/base/core/java/android/util/ |
SparseBooleanArray.java | 61 public SparseBooleanArray(int initialCapacity) { 62 if (initialCapacity == 0) { 66 mKeys = ArrayUtils.newUnpaddedIntArray(initialCapacity);
|
SparseIntArray.java | 66 public SparseIntArray(int initialCapacity) { 67 if (initialCapacity == 0) { 71 mKeys = ArrayUtils.newUnpaddedIntArray(initialCapacity);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
SparseLongArray.java | 45 public SparseLongArray(int initialCapacity) { 46 mKeys = new int[initialCapacity]; 47 mValues = new long[initialCapacity];
|
/external/guava/guava/src/com/google/common/collect/ |
GenericMapMaker.java | 73 * See {@link MapMaker#initialCapacity}. 75 public abstract GenericMapMaker<K0, V0> initialCapacity(int initialCapacity);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
MemoryDataStore.java | 16 public MemoryDataStore(int initialCapacity) { 17 buf = new byte[initialCapacity];
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
ByteBuffer.java | 35 * @param initialCapacity the initial capacity for this buffer 37 public ByteBuffer(int initialCapacity) 39 this.buffer = new byte[initialCapacity];
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
LocaleObjectCache.java | 47 public LocaleObjectCache(int initialCapacity, float loadFactor, int concurrencyLevel) { 48 map = new ConcurrentHashMap<>(initialCapacity, loadFactor, concurrencyLevel);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
PinnedHeaderListAdapter.java | 39 public PinnedHeaderListAdapter(Context context, int initialCapacity) { 40 super(context, initialCapacity);
|
/external/emma/core/java12/com/vladium/util/ |
ByteArrayOStream.java | 36 public ByteArrayOStream (final int initialCapacity) 39 $assert.ASSERT (initialCapacity >= 0, "negative initial capacity: " + initialCapacity); 41 m_buf = new byte [initialCapacity];
|