MCPcopy Create free account
hub / github.com/dengwirda/jigsaw / reallocate

Method reallocate

src/libcpp/allocators/alloc_item.hpp:331–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329 */
330
331 __inline_call data_type* reallocate (
332 data_type*_addr,
333 size_type _old_alloc,
334 size_type _new_alloc,
335 size_type
336 )
337 { return (data_type *)allocator::reallocate (
338 (char_type *)_addr ,
339 _old_alloc * sizeof(data_type),
340 _new_alloc * sizeof(data_type)) ;
341 }
342
343 /*
344 --------------------------------------------------------

Callers

nothing calls this directly

Calls 1

reallocateFunction · 0.85

Tested by

no test coverage detected