Home
last modified time | relevance | path

Searched refs:bigValueSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/ml/nn/driver/cache/nnCache/
DnnCache_test.cpp123 const int bigValueSize = std::min((MAX_TOTAL_SIZE * 3) / 4 - 1, int(MAX_VALUE_SIZE)); in TEST_P() local
124 ASSERT_GT(bigValueSize + 1, MAX_TOTAL_SIZE / 2); // Check testing assumption in TEST_P()
127 for (int i = 0; i < bigValueSize; i++) buf[i] = 0xee; in TEST_P()
129 mCache->setBlob(&k, 1, buf, bigValueSize); in TEST_P()
160 const int cleanNumEntries = ((bigValueSize + 1) - initialFreeSpace + 1) / 2; in TEST_P()
166 ASSERT_EQ(size_t(postCleanSizeCached + bigValueSize + 1), sizeCached); in TEST_P()
/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache_test.cpp372 const int bigValueSize = std::min((MAX_TOTAL_SIZE * 3) / 4 - 1, int(MAX_VALUE_SIZE)); in TEST_P() local
373 ASSERT_GT(bigValueSize + 1, MAX_TOTAL_SIZE / 2); // Check testing assumption in TEST_P()
376 for (int i = 0; i < bigValueSize; i++) buf[i] = 0xee; in TEST_P()
378 mBC->set(&k, 1, buf, bigValueSize); in TEST_P()
409 const int cleanNumEntries = ((bigValueSize + 1) - initialFreeSpace + 1) / 2; in TEST_P()
415 ASSERT_EQ(size_t(postCleanSizeCached + bigValueSize + 1), sizeCached); in TEST_P()