Return a power of two no less than max(kMinTableSize, n). Assumes either n < kMinTableSize or n is a power of two.
| 1289 | // Return a power of two no less than max(kMinTableSize, n). |
| 1290 | // Assumes either n < kMinTableSize or n is a power of two. |
| 1291 | size_type TableSize(size_type n) { |
| 1292 | return n < kMinTableSize ? kMinTableSize : n; |
| 1293 | } |
| 1294 | |
| 1295 | // Use alloc_ to allocate an array of n objects of type U. |
| 1296 | template <typename U> |
nothing calls this directly
no outgoing calls
no test coverage detected