Searched refs:halfToMaxSize (Results 1 – 1 of 1) sorted by relevance
36 const uint64_t halfToMaxSize = (static_cast<uint64_t>(currentSize) + maxSize) / 2; in CalculateAllocLimit() local37 size_t result = static_cast<size_t>(std::min(limitAboveMinSize, halfToMaxSize)); in CalculateAllocLimit()