v8-heap-profiler-agent-impl.cc | 54 : m_offset(0), m_strings(10000), m_session(session) {} 63 if (m_offset + length + 1 >= m_strings.size()) return ""; 66 m_strings[m_offset + i] = ch > 0xff ? '?' : static_cast<char>(ch); 68 m_strings[m_offset + length] = '\0'; 69 char* result = &*m_strings.begin() + m_offset; 76 std::vector<char> m_strings; member in class:v8_inspector::__anon36028::final
|