Lines Matching refs:numCacheFiles
417 uint32_t numCacheFiles, const std::string& baseFilename, bool createIfNotExist) { in createCacheHandleVec() argument
418 CHECK(numCacheFiles <= kMaxNumberOfCacheFiles); in createCacheHandleVec()
420 handles.reserve(numCacheFiles); in createCacheHandleVec()
421 for (uint32_t i = 0; i < numCacheFiles; i++) { in createCacheHandleVec()
433 const std::pair<uint32_t, uint32_t>& numCacheFiles, bool createIfNotExist) { in getCacheHandles() argument
435 if (cacheHandles->modelCache.size() != numCacheFiles.first) { in getCacheHandles()
437 << "Expected " << numCacheFiles.first << " model cache handles, got " in getCacheHandles()
440 if (cacheHandles->dataCache.size() != numCacheFiles.second) { in getCacheHandles()
442 << "Expected " << numCacheFiles.second << " data cache handles, got " in getCacheHandles()
463 NN_TRY(createCacheHandleVec(numCacheFiles.first, cacheFileName, createIfNotExist)); in getCacheHandles()
467 NN_TRY(createCacheHandleVec(numCacheFiles.second, cacheFileName, createIfNotExist)); in getCacheHandles()