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

Function string_truncate

v2/engine/strings.c:165–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165void string_truncate( string * self, size_t n )
166{
167 assert_invariants( self );
168 assert( n <= self->capacity );
169 self->value[ self->size = n ] = 0;
170 assert_invariants( self );
171}
172
173
174void string_pop_back( string * self )

Callers 15

canonicWindowsPathFunction · 0.85
var_definesFunction · 0.85
downcase_listFunction · 0.85
glob_recursiveFunction · 0.85
builtin_matchFunction · 0.85
searchFunction · 0.85
var_edit_cyg2winFunction · 0.85
apply_modifiers_emptyFunction · 0.85
expandFunction · 0.85
function_runFunction · 0.85

Calls 1

assert_invariantsFunction · 0.85

Tested by

no test coverage detected