Searched refs:kMaxN (Results 1 – 2 of 2) sorted by relevance
201 static constexpr int kMaxN = (1 << 23) - 1; in addBlock() local202 static_assert(2 * kMaxN <= std::numeric_limits<int32_t>::max()); // Growth policy won't overflow in addBlock()233 fN0 = std::min(kMaxN, nextN0); in addBlock()234 fN1 = std::min(kMaxN, nextN1); in addBlock()
78 constexpr int kMaxN = kMaxByteSize / sizeof(T); variable79 SkASSERT_RELEASE(0 <= n && n < kMaxN);