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

Method inc_alloc

src/libcpp/containers/array.hpp:177–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 }
176
177 __inline_call void_type inc_alloc (
178 size_type _new_count
179 )
180 { /* Grow allocation as geometric series */
181 if (alloc() < _new_count)
182 {
183 set_alloc(
184 num_alloc(_new_count) ) ;
185 }
186 }
187
188/*------------------------------ helper - copy allocation */
189

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected