Searched refs:MAX_TOTAL_SIZE (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NeuralNetworks/driver/cache/BlobCache/ |
D | BlobCache_test.cpp | 41 MAX_TOTAL_SIZE = 13, enumerator 45 mBC.reset(new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE, GetParam())); in SetUp() 219 ASSERT_TRUE(MAX_TOTAL_SIZE < MAX_KEY_SIZE + MAX_VALUE_SIZE); in TEST_P() 220 ASSERT_TRUE(MAX_KEY_SIZE < MAX_TOTAL_SIZE); in TEST_P() 222 enum { bufSize = MAX_TOTAL_SIZE - MAX_KEY_SIZE + 1 }; in TEST_P() 269 ASSERT_TRUE(MAX_KEY_SIZE < MAX_TOTAL_SIZE); in TEST_P() 271 enum { bufSize = MAX_TOTAL_SIZE - MAX_KEY_SIZE }; in TEST_P() 305 ASSERT_GE(MAX_TOTAL_SIZE / 2, numCached); in TEST_P() 313 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_P() 343 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_P() [all …]
|
/packages/modules/NeuralNetworks/driver/cache/nnCache/ |
D | nnCache_test.cpp | 111 MAX_TOTAL_SIZE = 13, in TEST_P() enumerator 114 mCache->initialize(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE, GetParam()); in TEST_P() 117 const int maxEntries = MAX_TOTAL_SIZE / 2; in TEST_P() 123 const int bigValueSize = std::min((MAX_TOTAL_SIZE * 3) / 4 - 1, int(MAX_VALUE_SIZE)); in TEST_P() 124 ASSERT_GT(bigValueSize + 1, MAX_TOTAL_SIZE / 2); // Check testing assumption in TEST_P() 155 const int initialFreeSpace = MAX_TOTAL_SIZE - initialSizeCached; in TEST_P()
|