HomeSort by relevance Sort by last modified time
    Searched full:capacity (Results 101 - 125 of 925) sorted by null

1 2 3 45 6 7 8 91011>>

  /libcore/luni/src/main/java/java/nio/
ReadOnlyFloatArrayBuffer.java 36 .capacity(), other.backingArray, other.offset);
43 ReadOnlyFloatArrayBuffer(int capacity, float[] backingArray, int arrayOffset) {
44 super(capacity, backingArray, arrayOffset);
ReadOnlyIntArrayBuffer.java 36 .capacity(), other.backingArray, other.offset);
43 ReadOnlyIntArrayBuffer(int capacity, int[] backingArray, int arrayOffset) {
44 super(capacity, backingArray, arrayOffset);
ReadOnlyLongArrayBuffer.java 36 .capacity(), other.backingArray, other.offset);
43 ReadOnlyLongArrayBuffer(int capacity, long[] backingArray, int arrayOffset) {
44 super(capacity, backingArray, arrayOffset);
ReadOnlyShortArrayBuffer.java 36 .capacity(), other.backingArray, other.offset);
43 ReadOnlyShortArrayBuffer(int capacity, short[] backingArray, int arrayOffset) {
44 super(capacity, backingArray, arrayOffset);
BaseByteBuffer.java 25 protected BaseByteBuffer(int capacity) {
26 super(capacity);
DirectByteBuffer.java 58 * Constructs a new direct byte buffer of the given capacity on newly
64 DirectByteBuffer(int capacity) {
65 this(new SafeAddress(PlatformAddressFactory.alloc(capacity, (byte) 0)),
66 capacity, 0);
70 DirectByteBuffer(SafeAddress address, int capacity, int offset) {
71 super(capacity);
77 if ((baseSize >= 0) && ((offset + capacity) > baseSize)) {
303 return capacity;
HeapByteBuffer.java 42 HeapByteBuffer(int capacity) {
43 this(new byte[capacity], capacity, 0);
46 HeapByteBuffer(byte[] backingArray, int capacity, int offset) {
47 super(capacity);
51 if (offset + capacity > backingArray.length) {
ReadWriteHeapByteBuffer.java 34 other.backingArray, other.capacity(), other.offset);
46 ReadWriteHeapByteBuffer(int capacity) {
47 super(capacity);
50 ReadWriteHeapByteBuffer(byte[] backingArray, int capacity, int arrayOffset) {
51 super(backingArray, capacity, arrayOffset);
64 limit = capacity;
  /external/chromium/third_party/icu/source/test/intltest/
strtest.cpp 422 int32_t capacity = -1; local
423 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity);
424 if(dest != NULL || capacity != 0) {
428 dest = sink.GetAppendBuffer(10, 50, scratch, 9, &capacity);
429 if(dest != NULL || capacity != 0) {
433 dest = sink.GetAppendBuffer(5, 50, scratch, (int32_t)sizeof(scratch), &capacity);
434 if(dest != scratch || capacity != (int32_t)sizeof(scratch)) {
450 int32_t capacity = -1; local
451 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity);
452 if(dest != NULL || capacity != 0)
    [all...]
textfile.h 57 UBool ensureCapacity(int32_t capacity);
64 int32_t capacity; member in class:TextFile
  /external/guava/src/com/google/common/collect/
HashBiMap.java 41 * Returns a new, empty {@code HashBiMap} with the default initial capacity
61 * bimap is created with an initial capacity sufficient to hold the mappings
76 super(new HashMap<K, V>(Maps.capacity(expectedSize)),
77 new HashMap<V, K>(Maps.capacity(expectedSize)));
  /external/icu4c/test/intltest/
strtest.cpp 422 int32_t capacity = -1; local
423 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity);
424 if(dest != NULL || capacity != 0) {
428 dest = sink.GetAppendBuffer(10, 50, scratch, 9, &capacity);
429 if(dest != NULL || capacity != 0) {
433 dest = sink.GetAppendBuffer(5, 50, scratch, (int32_t)sizeof(scratch), &capacity);
434 if(dest != scratch || capacity != (int32_t)sizeof(scratch)) {
450 int32_t capacity = -1; local
451 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity);
452 if(dest != NULL || capacity != 0)
    [all...]
textfile.h 57 UBool ensureCapacity(int32_t capacity);
64 int32_t capacity; member in class:TextFile
  /external/stlport/test/unit/
vector_test.cpp 30 CPPUNIT_TEST(capacity);
53 void capacity();
90 CPPUNIT_ASSERT( (*it).capacity() == 0 );
110 size_t v1Cap = v1.capacity();
111 size_t v2Cap = v2.capacity();
116 CPPUNIT_ASSERT( v1.capacity() == v2Cap );
120 CPPUNIT_ASSERT( v2.capacity() == v1Cap );
293 void VectorTest::capacity() function in class:VectorTest
298 CPPUNIT_ASSERT( v.capacity() == 0 );
300 CPPUNIT_ASSERT( v.capacity() >= 1 )
    [all...]
mvctor_test.h 45 size_t cur_capacity= vec_cont.capacity();
47 while (cur_capacity == vec_cont.capacity()) {
  /external/v8/src/
hashmap.h 88 // The capacity of the table. The implementation
90 // the table capacity.
91 uint32_t capacity() const { return capacity_; } function in class:v8::internal::HashMap
113 void Initialize(uint32_t capacity);
  /frameworks/base/libs/utils/
VectorImpl.cpp 90 sb = SharedBuffer::alloc(capacity() * mItemSize);
101 size_t VectorImpl::capacity() const function in class:android::VectorImpl
292 LOG_ASSERT(index<capacity(),
293 "[%p] itemLocation: index=%d, capacity=%d, count=%d",
294 this, (int)index, (int)capacity(), (int)mCount);
304 LOG_ASSERT(index<capacity(),
305 "[%p] editItemLocation: index=%d, capacity=%d, count=%d",
306 this, (int)index, (int)capacity(), (int)mCount);
316 size_t current_capacity = capacity();
319 // we can't reduce the capacity
    [all...]
  /ndk/sources/android/stlport/test/unit/
vector_test.cpp 30 CPPUNIT_TEST(capacity);
53 void capacity();
90 CPPUNIT_ASSERT( (*it).capacity() == 0 );
110 size_t v1Cap = v1.capacity();
111 size_t v2Cap = v2.capacity();
116 CPPUNIT_ASSERT( v1.capacity() == v2Cap );
120 CPPUNIT_ASSERT( v2.capacity() == v1Cap );
293 void VectorTest::capacity() function in class:VectorTest
298 CPPUNIT_ASSERT( v.capacity() == 0 );
300 CPPUNIT_ASSERT( v.capacity() >= 1 )
    [all...]
mvctor_test.h 45 size_t cur_capacity= vec_cont.capacity();
47 while (cur_capacity == vec_cont.capacity()) {
  /packages/apps/Gallery3D/src/com/cooliris/media/
Deque.java 120 int capacity = array.length; local
121 int rightSize = capacity - head;
122 int newCapacity = capacity << 1;
128 mTail = capacity;
  /system/core/libpixelflinger/tinyutils/
VectorImpl.cpp 91 sb = SharedBuffer::alloc(capacity() * mItemSize);
102 size_t VectorImpl::capacity() const function in class:android::VectorImpl
220 LOG_ASSERT(index<capacity(),
221 "[%p] itemLocation: index=%d, capacity=%d, count=%d",
222 this, (int)index, (int)capacity(), (int)mCount);
232 LOG_ASSERT(index<capacity(),
233 "[%p] editItemLocation: index=%d, capacity=%d, count=%d",
234 this, (int)index, (int)capacity(), (int)mCount);
244 size_t current_capacity = capacity();
247 // we can't reduce the capacity
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/
ListOfTypes.java 29 ListOfTypes(int capacity) {
30 types = new ArrayList<Type>(capacity);
  /external/emma/core/java12/com/vladium/util/
IntVector.java 125 final int capacity = m_values.length; local
126 if (capacity == m_size)
128 final int [] values = new int [1 + (capacity << 1)];
129 if (capacity < COPY_THRESHOLD)
131 for (int i = 0; i < capacity; ++ i) values [i] = m_values [i];
135 System.arraycopy (m_values, 0, values, 0, capacity);
  /libcore/luni/src/main/java/java/util/concurrent/
ArrayBlockingQueue.java 32 * extracted by consumers. Once created, the capacity cannot be
148 * capacity and default access policy.
150 * @param capacity the capacity of this queue
151 * @throws IllegalArgumentException if <tt>capacity</tt> is less than 1
153 public ArrayBlockingQueue(int capacity) {
154 this(capacity, false);
159 * capacity and the specified access policy.
161 * @param capacity the capacity of this queu
    [all...]
  /external/chromium/third_party/icu/source/common/
uloc_tag.c 888 _appendLanguageToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) {
910 if (reslen < capacity) {
911 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen));
920 if (reslen < capacity) {
921 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen));
933 if (reslen < capacity) {
934 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen));
938 u_terminateChars(appendAt, capacity, reslen, status);
943 _appendScriptToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) {
973 if (reslen < capacity) {
    [all...]

Completed in 618 milliseconds

1 2 3 45 6 7 8 91011>>