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