MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / ucvector_resize

Function ucvector_resize

external/lodepng/lodepng.cpp:300–303  ·  view source on GitHub ↗

returns 1 if success, 0 if failure ==> nothing done*/

Source from the content-addressed store, hash-verified

298
299/*returns 1 if success, 0 if failure ==> nothing done*/
300static unsigned ucvector_resize(ucvector* p, size_t size) {
301 p->size = size;
302 return ucvector_reserve(p, size);
303}
304
305static ucvector ucvector_init(unsigned char* buffer, size_t size) {
306 ucvector v;

Callers 6

lodepng.cppFile · 0.85
inflateNoCompressionFunction · 0.85
deflateNoCompressionFunction · 0.85
zlib_decompressFunction · 0.85
lodepng_chunk_initFunction · 0.85
writeSignatureFunction · 0.85

Calls 1

ucvector_reserveFunction · 0.85

Tested by

no test coverage detected