Searched refs:mMaxTotalSize (Results 1 – 4 of 4) sorted by relevance
66 mMaxTotalSize(maxTotalSize), in BlobCache()93 if (mMaxTotalSize < keySize + valueSize) { in set()96 keySize + valueSize, mMaxTotalSize); in set()119 if (mMaxTotalSize < newTotalSize) { in set()135 keySize + valueSize, mMaxTotalSize); in set()148 if (mMaxTotalSize < newTotalSize) { in set()164 keySize + valueSize, mMaxTotalSize); in set()371 return mMaxTotalSize / 2; in findDownTo()373 return mMaxTotalSize - (newEntrySize - oldEntrySize()); in findDownTo()375 return std::min(mMaxTotalSize - (newEntrySize - oldEntrySize()), mMaxTotalSize / 2); in findDownTo()[all …]
323 const size_t mMaxTotalSize; variable
47 mMaxTotalSize(0), in NNCache()65 mMaxTotalSize = maxTotalSize; in initialize()141 mBlobCache.reset(new BlobCache(mMaxKeySize, mMaxValueSize, mMaxTotalSize, mPolicy)); in getBlobCacheLocked()249 if (fileSize > mMaxTotalSize * 2) { in loadBlobCacheLocked()
120 size_t mMaxTotalSize; variable