MCPcopy Create free account
hub / github.com/cwida/FastLanes / Resize

Method Resize

src/cor/lyt/buf.cpp:178–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176 /**/
177 return m_capacity;
178}
179
180void Buf::Clone(const Buf& a_buf) {
181 ExternalMemory::Copy(m_owned_p, a_buf.m_active_p, a_buf.m_off);
182 m_off = a_buf.m_off;
183 m_active_p = m_owned_p;
184}
185
186/*---------------------------------------------------------------------------------------------------------------------\
187 * Specialization
188\---------------------------------------------------------------------------------------------------------------------*/
189// clang-format off
190template const ofs_t* Buf::data<ofs_t>();
191template uint32_t* Buf::mutable_data<uint32_t>();
192template uint64_t* Buf::mutable_data<uint64_t>();
193
194} // namespace fastlanes

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected