Lines Matching refs:mSize

80     private int mSize;
84 final int N = mSize;
122 final int N = mSize;
254 mSize = 0;
282 if (mSize != 0) {
283 freeArrays(mHashes, mArray, mSize);
286 mSize = 0;
299 if (mSize > 0) {
300 System.arraycopy(ohashes, 0, mHashes, 0, mSize);
301 System.arraycopy(oarray, 0, mArray, 0, mSize);
303 freeArrays(ohashes, oarray, mSize);
343 return mSize <= 0;
371 if (mSize >= mHashes.length) {
372 final int n = mSize >= (BASE_SIZE * 2) ? (mSize + (mSize >> 1))
373 : (mSize >= BASE_SIZE ? (BASE_SIZE * 2) : BASE_SIZE);
382 if (DEBUG) System.out.println(TAG + " add: copy 0-" + mSize + " to 0");
387 freeArrays(ohashes, oarray, mSize);
390 if (index < mSize) {
392 System.out.println(TAG + " add: move " + index + "-" + (mSize - index) + " to "
395 System.arraycopy(mHashes, index, mHashes, index + 1, mSize - index);
396 System.arraycopy(mArray, index, mArray, index + 1, mSize - index);
401 mSize++;
412 final int index = mSize;
429 mSize = index + 1;
439 final int N = array.mSize;
440 ensureCapacity(mSize + N);
441 if (mSize == 0) {
445 mSize = N;
477 if (mSize <= 1) {
480 freeArrays(mHashes, mArray, mSize);
483 mSize = 0;
485 if (mHashes.length > (BASE_SIZE * 2) && mSize < mHashes.length / 3) {
489 final int n = mSize > (BASE_SIZE * 2) ? (mSize + (mSize >> 1)) : (BASE_SIZE * 2);
497 mSize--;
503 if (index < mSize) {
505 System.out.println(TAG + " remove: copy from " + (index + 1) + "-" + mSize
508 System.arraycopy(ohashes, index + 1, mHashes, index, mSize - index);
509 System.arraycopy(oarray, index + 1, mArray, index, mSize - index);
512 mSize--;
513 if (index < mSize) {
515 System.out.println(TAG + " remove: move " + (index + 1) + "-" + mSize + " to " + index);
517 System.arraycopy(mHashes, index + 1, mHashes, index, mSize - index);
518 System.arraycopy(mArray, index + 1, mArray, index, mSize - index);
520 mArray[mSize] = null;
535 final int N = array.mSize;
539 final int originalSize = mSize;
543 return originalSize != mSize;
551 return mSize;
557 Object[] result = new Object[mSize];
558 System.arraycopy(mArray, 0, result, 0, mSize);
565 if (array.length < mSize) {
567 (T[]) Array.newInstance(array.getClass().getComponentType(), mSize);
570 System.arraycopy(mArray, 0, array, 0, mSize);
571 if (array.length > mSize) {
572 array[mSize] = null;
598 for (int i = 0; i < mSize; i++) {
621 for (int i = 0, s = mSize; i < s; i++) {
640 StringBuilder buffer = new StringBuilder(mSize * 14);
642 for (int i = 0; i < mSize; i++) {
667 return mSize;
749 ensureCapacity(mSize + collection.size());
780 for (int i = mSize - 1; i >= 0; i--) {