MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / mz_zip_array_push_back

Function mz_zip_array_push_back

SampleFramework11/v1.02/TinyEXR.cpp:4349–4358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4347}
4348
4349static MZ_FORCEINLINE mz_bool
4350mz_zip_array_push_back(mz_zip_archive *pZip, mz_zip_array *pArray,
4351 const void *pElements, size_t n) {
4352 size_t orig_size = pArray->m_size;
4353 if (!mz_zip_array_resize(pZip, pArray, orig_size + n, MZ_TRUE))
4354 return MZ_FALSE;
4355 memcpy((mz_uint8 *)pArray->m_p + orig_size * pArray->m_element_size,
4356 pElements, n * pArray->m_element_size);
4357 return MZ_TRUE;
4358}
4359
4360#ifndef MINIZ_NO_TIME
4361static time_t mz_zip_dos_to_time_t(int dos_time, int dos_date) {

Calls 1

mz_zip_array_resizeFunction · 0.85

Tested by

no test coverage detected