Raw memory allocation. Just like malloc but throws/terminates on failure. */
| 710 | |
| 711 | /** Raw memory allocation. Just like malloc but throws/terminates on failure. */ |
| 712 | RETURNS_NONNULL |
| 713 | inline void* pure_slice::newBytes(size_t sz) { |
| 714 | void* result = ::malloc(sz); |
| 715 | if (_usuallyFalse(!result)) failBadAlloc(); |
| 716 | return result; |
| 717 | } |
| 718 | |
| 719 | |
| 720 | /** Like realloc but throws/terminates on failure. */ |
nothing calls this directly
no outgoing calls
no test coverage detected