Searched refs:MAX_CACHE_SIZE (Results 1 – 8 of 8) sorted by relevance
27 static const size_t MAX_CACHE_SIZE = 16 * 1024 * 1024; // 16M variable28 static const size_t BASE_INDEX_FENCE = SIZE_MAX - 2 * MAX_CACHE_SIZE;43 if (cacheTotalSize_ > MAX_CACHE_SIZE) { in Init()64 if (cacheSize > MAX_CACHE_SIZE) { in Create()83 if (cacheSize > MAX_CACHE_SIZE) { in ReConfig()186 if (buffer.dataPtr == nullptr || buffer.dataSize > MAX_CACHE_SIZE || buffer.dataSize == 0) { in Enqueue()281 if (buffer.dataPtr == nullptr || buffer.dataSize > MAX_CACHE_SIZE) { in Dequeue()
176 for (size_t i = 0; i <= eglImageManager_->MAX_CACHE_SIZE; i++) {181 ASSERT_EQ(eglImageManager_->cacheQueue_.size(), eglImageManager_->MAX_CACHE_SIZE);183 eglImageManager_->cacheQueue_.push(eglImageManager_->MAX_CACHE_SIZE);184 eglImageManager_->imageCacheSeqs_[eglImageManager_->MAX_CACHE_SIZE] = nullptr;186 ASSERT_EQ(eglImageManager_->cacheQueue_.size(), eglImageManager_->MAX_CACHE_SIZE);
28 const int32_t MAX_CACHE_SIZE = 16384; // cache data type is int16_t, so the max size is 32KB variable67 if (maxCacheSize_ > MAX_CACHE_SIZE) { in Init()68 …HILOGE("[PCMIterator]The required memory size is larger than MAX_CACHE_SIZE[%zu]", MAX_CACHE_SIZE); in Init()
39 constexpr size_t MAX_CACHE_SIZE = 16; variable128 while (cacheQueue_.size() > MAX_CACHE_SIZE) { in ShrinkCachesIfNeeded()
91 static constexpr size_t MAX_CACHE_SIZE = 16; variable
306 while (cacheQueue_.size() > MAX_CACHE_SIZE) { in ShrinkCachesIfNeeded()
55 #define MAX_CACHE_SIZE 10 macro
149 while (g_sum > MAX_CACHE_SIZE) { in AddKVCache()