Lines Matching defs:mHashes

97     int[] mHashes;
122 int index = binarySearchHashes(mHashes, N, hash);
136 for (end = index + 1; end < N && mHashes[end] == hash; end++) {
141 for (int i = index - 1; i >= 0 && mHashes[i] == hash; i--) {
160 int index = binarySearchHashes(mHashes, N, 0);
174 for (end = index + 1; end < N && mHashes[end] == 0; end++) {
179 for (int i = index - 1; i >= 0 && mHashes[i] == 0; i--) {
191 if (mHashes == EMPTY_IMMUTABLE_INTS) {
200 mHashes = (int[])array[1];
203 if (DEBUG) Log.d(TAG, "Retrieving 2x cache " + mHashes
214 mHashes = (int[])array[1];
217 if (DEBUG) Log.d(TAG, "Retrieving 1x cache " + mHashes
224 mHashes = new int[size];
283 mHashes = EMPTY_IMMUTABLE_INTS;
286 mHashes = EmptyArray.INT;
310 final int[] ohashes = mHashes;
313 mHashes = EmptyArray.INT;
344 if (mHashes.length < minimumCapacity) {
345 final int[] ohashes = mHashes;
349 System.arraycopy(ohashes, 0, mHashes, 0, osize);
491 if (osize >= mHashes.length) {
495 if (DEBUG) Log.d(TAG, "put: grow from " + mHashes.length + " to " + n);
497 final int[] ohashes = mHashes;
505 if (mHashes.length > 0) {
507 System.arraycopy(ohashes, 0, mHashes, 0, ohashes.length);
517 System.arraycopy(mHashes, index, mHashes, index + 1, osize - index);
522 if (osize != mSize || index >= mHashes.length) {
526 mHashes[index] = hash;
542 if (index >= mHashes.length) {
545 if (index > 0 && mHashes[index-1] > hash) {
549 + " is before end of array hash " + mHashes[index-1]
555 mHashes[index] = hash;
575 int basehash = mHashes[0];
578 int hash = mHashes[i];
608 System.arraycopy(array.mHashes, 0, mHashes, 0, N);
646 if (DEBUG) Log.d(TAG, "remove: shrink from " + mHashes.length + " to 0");
647 freeArrays(mHashes, mArray, osize);
648 mHashes = EmptyArray.INT;
653 if (mHashes.length > (BASE_SIZE*2) && mSize < mHashes.length/3) {
659 if (DEBUG) Log.d(TAG, "remove: shrink from " + mHashes.length + " to " + n);
661 final int[] ohashes = mHashes;
671 System.arraycopy(ohashes, 0, mHashes, 0, index);
677 System.arraycopy(ohashes, index + 1, mHashes, index, nsize - index);
685 System.arraycopy(mHashes, index + 1, mHashes, index, nsize - index);
755 final int[] hashes = mHashes;