Home
last modified time | relevance | path

Searched refs:kMaxSize (Results 1 – 5 of 5) sorted by relevance

/packages/modules/DnsResolver/
DDnsTlsSessionCache.h47 static constexpr size_t kMaxSize = 5;
DDnsTlsSessionCache.cpp58 if (mSessions.size() > kMaxSize) { in recordSession()
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DConverter.cpp32 constexpr uint32_t kMaxSize = 65536; variable
93 const size_t size = getNonExtensionSize(opType, dimensions).value_or(0) % kMaxSize; in convert()
/packages/modules/NeuralNetworks/common/
DLegacyUtils.cpp317 constexpr uint64_t kMaxSize = static_cast<uint64_t>(std::numeric_limits<uint32_t>::max()); in sizeOfTensorDataHelper() local
320 if (size > kMaxSize) return {true, 0}; in sizeOfTensorDataHelper()
426 constexpr uint64_t kMaxSize = std::numeric_limits<uint32_t>::max(); in validateTensorDimensions() local
433 NN_RET_CHECK_LE(size, kMaxSize) << tag << " operand byte size exceeds " << kMaxSize; in validateTensorDimensions()
/packages/modules/NeuralNetworks/common/types/src/
DValidation.cpp1471 constexpr uint64_t kMaxSize = std::numeric_limits<uint32_t>::max(); in validateTensorDimensions() local
1478 NN_RET_CHECK_LE(size, kMaxSize) << tag << " operand byte size exceeds " << kMaxSize; in validateTensorDimensions()