Searched refs:Capacity (Results 1 – 8 of 8) sorted by relevance
/packages/modules/NeuralNetworks/driver/cache/nnCache/ |
D | nnCache_test.cpp | 52 ::testing::Values(NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::HALVE), 53 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::HALVE), 55 NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::FIT), 56 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::FIT), 58 NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::FIT_HALVE), 59 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::FIT_HALVE))); 143 case NNCache::Capacity::HALVE: in TEST_P() 149 case NNCache::Capacity::FIT: in TEST_P() 150 case NNCache::Capacity::FIT_HALVE: { in TEST_P()
|
D | nnCache.h | 34 typedef BlobCache::Capacity Capacity; typedef
|
/packages/modules/NeuralNetworks/driver/cache/BlobCache/ |
D | BlobCache_test.cpp | 56 BlobCache::Policy(BlobCache::Select::RANDOM, BlobCache::Capacity::HALVE), 57 BlobCache::Policy(BlobCache::Select::LRU, BlobCache::Capacity::HALVE), 59 BlobCache::Policy(BlobCache::Select::RANDOM, BlobCache::Capacity::FIT), 60 BlobCache::Policy(BlobCache::Select::LRU, BlobCache::Capacity::FIT), 62 BlobCache::Policy(BlobCache::Select::RANDOM, BlobCache::Capacity::FIT_HALVE), 63 BlobCache::Policy(BlobCache::Select::LRU, BlobCache::Capacity::FIT_HALVE))); 309 if (GetParam().second == BlobCache::Capacity::FIT) in TEST_P() 339 if (GetParam().second != BlobCache::Capacity::FIT) in TEST_P() 391 case BlobCache::Capacity::HALVE: in TEST_P() 397 case BlobCache::Capacity::FIT: in TEST_P() [all …]
|
D | BlobCache.h | 45 enum class Capacity { enum 63 typedef std::pair<Select, Capacity> Policy; 65 static Policy defaultPolicy() { return Policy(Select::DEFAULT, Capacity::DEFAULT); } in defaultPolicy() 173 static bool isFit(Capacity capacity); 330 const Capacity mPolicyCapacity;
|
D | BlobCache.cpp | 370 case Capacity::HALVE: in findDownTo() 372 case Capacity::FIT: in findDownTo() 374 case Capacity::FIT_HALVE: in findDownTo() 382 bool BlobCache::isFit(Capacity capacity) { in isFit() 384 case Capacity::HALVE: in isFit() 386 case Capacity::FIT: in isFit() 387 case Capacity::FIT_HALVE: in isFit() 414 case Capacity::HALVE: in isCleanable() 419 case Capacity::FIT: in isCleanable() 420 case Capacity::FIT_HALVE: in isCleanable()
|
/packages/modules/Bluetooth/system/common/ |
D | leaky_bonded_queue_unittest.cc | 55 EXPECT_EQ(queue->Capacity(), static_cast<size_t>(3)); in TEST() 91 EXPECT_EQ(queue->Capacity(), static_cast<size_t>(2)); in TEST() 125 EXPECT_EQ(queue->Capacity(), static_cast<size_t>(2)); in TEST() 165 EXPECT_EQ(queue->Capacity(), static_cast<size_t>(2)); in TEST() 194 EXPECT_EQ(queue->Capacity(), static_cast<size_t>(2)); in TEST()
|
D | leaky_bonded_queue.h | 72 size_t Capacity(); 150 size_t LeakyBondedQueue<T>::Capacity() { in Capacity() function
|
D | metrics.cc | 527 pimpl_->bt_session_queue_->Capacity()) { in Build() 533 pimpl_->pair_event_queue_->Capacity()) { in Build() 539 pimpl_->scan_event_queue_->Capacity()) { in Build() 545 pimpl_->wake_event_queue_->Capacity()) { in Build() 551 pimpl_->wake_event_queue_->Capacity()) { in Build()
|