Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/driver/cache/BlobCache/
DBlobCache_test.cpp40 MAX_VALUE_SIZE = 8, enumerator
45 mBC.reset(new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE, GetParam())); in SetUp()
160 unsigned char buf[MAX_VALUE_SIZE + 1] = {0xee, 0xee, 0xee, 0xee}; in TEST_P()
162 mBC->set("abcd", 4, buf, MAX_VALUE_SIZE + 1); in TEST_P()
202 unsigned char buf[MAX_VALUE_SIZE + 1]; in TEST_P()
203 for (int i = 0; i < MAX_VALUE_SIZE + 1; i++) { in TEST_P()
206 mBC->set("abcd", 4, buf, MAX_VALUE_SIZE + 1); in TEST_P()
207 for (int i = 0; i < MAX_VALUE_SIZE + 1; i++) { in TEST_P()
210 ASSERT_EQ(size_t(0), mBC->get("abcd", 4, buf, MAX_VALUE_SIZE + 1)); in TEST_P()
211 for (int i = 0; i < MAX_VALUE_SIZE + 1; i++) { in TEST_P()
[all …]
/packages/modules/NeuralNetworks/driver/cache/nnCache/
DnnCache_test.cpp110 MAX_VALUE_SIZE = 8, in TEST_P() enumerator
114 mCache->initialize(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE, GetParam()); in TEST_P()
123 const int bigValueSize = std::min((MAX_TOTAL_SIZE * 3) / 4 - 1, int(MAX_VALUE_SIZE)); in TEST_P()
126 unsigned char buf[MAX_VALUE_SIZE]; in TEST_P()