Searched refs:kMaxSize (Results 1 – 5 of 5) sorted by relevance
329 constexpr size_t kMaxSize = kMask - 1; in EncodeLength() local330 if (length > kMaxSize) { in EncodeLength()331 *data++ = kMask | (kMaxSize & (length >> (sizeof(T) * 8))); in EncodeLength()361 constexpr size_t kMaxSize = kMask - 1; in EncodedLengthUnits() local362 return length > kMaxSize ? 2 : 1; in EncodedLengthUnits()
30 constexpr uint32_t kMaxSize = 65536; variable66 std::uniform_int_distribution<uint32_t> dist{0, kMaxSize}; in convert()
38 static const size_t kMaxSize = 0x10000; variable
58 size < kMinSize || size > kMaxSize || name == NULL || in registerWriter()
378 constexpr uint64_t kMaxSize = static_cast<uint64_t>(std::numeric_limits<uint32_t>::max()); in sizeOfTensorDataHelper() local381 if (size > kMaxSize) return {true, 0}; in sizeOfTensorDataHelper()568 constexpr uint64_t kMaxSize = std::numeric_limits<uint32_t>::max(); in validateTensorDimensions() local575 NN_RET_CHECK_LE(size, kMaxSize) << tag << " operand byte size exceeds " << kMaxSize; in validateTensorDimensions()