MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / append

Method append

common/SmallString.cpp:161–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void SmallStringBase::append(const char* str, u32 length)
162{
163 if (length == 0)
164 return;
165
166 make_room_for(length);
167
168 pxAssert((length + m_length) < m_buffer_size);
169
170 std::memcpy(m_buffer + m_length, str, length);
171 m_length += length;
172 m_buffer[m_length] = 0;
173}
174
175void SmallStringBase::append_hex(const void* data, size_t len)
176{

Callers 15

parse_serialsFunction · 0.45
parse_redumpFunction · 0.45
get_pairsFunction · 0.45
run_regression_testFunction · 0.45
compare_statsFunction · 0.45
check_regression_testFunction · 0.45
GetFontPathFunction · 0.45
TryLoadFontFunction · 0.45
getDiscDevicePathMethod · 0.45

Calls 4

appendFunction · 0.85
c_strMethod · 0.45
lengthMethod · 0.45
dataMethod · 0.45

Tested by 3

run_regression_testFunction · 0.36
compare_statsFunction · 0.36
check_regression_testFunction · 0.36