| 29 | static constexpr size_t maxLength = numeric_limits<length_type>::highest(); |
| 30 | |
| 31 | static constexpr size_t sizeForLength(size_t n) { |
| 32 | return n + 1 + offsetof(StringNode, data); |
| 33 | } |
| 34 | |
| 35 | static StringNode* create(size_t length, Allocator* allocator) { |
| 36 | if (length > maxLength) |
no outgoing calls
no test coverage detected