| 979 | |
| 980 | private: |
| 981 | static Result<int64_t> RoundCapacity(int64_t capacity) { |
| 982 | if (capacity > std::numeric_limits<int64_t>::max() - 63) { |
| 983 | return Status::OutOfMemory("capacity too large"); |
| 984 | } |
| 985 | return bit_util::RoundUpToMultipleOf64(capacity); |
| 986 | } |
| 987 | |
| 988 | MemoryPool* pool_; |
| 989 | int64_t alignment_; |
nothing calls this directly
no test coverage detected