MCPcopy Create free account
hub / github.com/boostorg/build / string_reserve

Function string_reserve

src/engine/jam_strings.cpp:93–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92
93void string_reserve( string * self, int32_t capacity )
94{
95 assert_invariants( self );
96 if ( capacity <= self->capacity )
97 return;
98 string_reserve_internal( self, capacity );
99 assert_invariants( self );
100}
101
102
103static void maybe_reserve( string * self, int32_t new_size )

Callers 6

builtin_system_registryFunction · 0.85
expandFunction · 0.85
get_module_filenameFunction · 0.85
read_commandFunction · 0.85
open_command_fileFunction · 0.85
path_get_temp_path_Function · 0.85

Calls 2

assert_invariantsFunction · 0.85
string_reserve_internalFunction · 0.85

Tested by

no test coverage detected