| 82 | } |
| 83 | |
| 84 | static void profile_buffer_init(profile_buffer_t *buffer) { |
| 85 | memset(buffer, 0, sizeof(*buffer)); |
| 86 | } |
| 87 | |
| 88 | static bool profile_buffer_reserve(profile_buffer_t *buffer, size_t extra) { |
| 89 | if (buffer->failed || extra > SIZE_MAX - buffer->length - 1U) { |
no outgoing calls
no test coverage detected