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

Function string_reserve

v2/engine/strings.c:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91
92void string_reserve( string * self, size_t capacity )
93{
94 assert_invariants( self );
95 if ( capacity <= self->capacity )
96 return;
97 string_reserve_internal( self, capacity );
98 assert_invariants( self );
99}
100
101
102static void extend_full( string * self, char const * start, char const * finish )

Callers 4

path_get_temp_path_Function · 0.85
builtin_system_registryFunction · 0.85
open_command_fileFunction · 0.85
expandFunction · 0.85

Calls 2

assert_invariantsFunction · 0.85
string_reserve_internalFunction · 0.85

Tested by

no test coverage detected