Searched refs:kCacheSize (Results 1 – 3 of 3) sorted by relevance
157 if (size >= kCacheSize) { in readAt()162 const ssize_t numRead = mSource->readAt(offset, mCache, kCacheSize); in readAt()169 if ((size_t)numRead > kCacheSize) { in readAt()178 CHECK(mCachedSize <= kCacheSize && mCachedOffset >= 0); in readAt()
69 static constexpr size_t kCacheSize = 256; member in __anondf3c1f010111::CachingDriver104 mModelCacheData.resize(kCacheSize); in CachingDriver()106 mDataCacheData.resize(kCacheSize); in CachingDriver()194 EXPECT_EQ(write(handles[i]->data[0], cache.data(), kCacheSize), in writeToCache()195 static_cast<ssize_t>(kCacheSize)); in writeToCache()202 std::vector<uint8_t> actual(kCacheSize); in readFromCache()203 EXPECT_EQ(read(handles[i]->data[0], actual.data(), kCacheSize), in readFromCache()204 static_cast<ssize_t>(kCacheSize)); in readFromCache()
81 kCacheSize = 2048, enumerator85 uint8_t mCache[kCacheSize];