| 679 | } |
| 680 | |
| 681 | void SmallStringBase::clear() |
| 682 | { |
| 683 | // in debug, zero whole string, in release, zero only the first character |
| 684 | #if _DEBUG |
| 685 | std::memset(m_buffer, 0, m_buffer_size); |
| 686 | #else |
| 687 | m_buffer[0] = '\0'; |
| 688 | #endif |
| 689 | m_length = 0; |
| 690 | } |
| 691 | |
| 692 | s32 SmallStringBase::find(char c, u32 offset) const |
| 693 | { |
no outgoing calls
no test coverage detected