MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / StringVector_contains

Function StringVector_contains

Tools/ToolsBootstrap.c:445–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443}
444
445// StringBuilder utilities
446StringBuilder StringBuilder_init(size_t initial_capacity) {
447 StringBuilder sb = {0};
448 sb.capacity = initial_capacity > 0 ? initial_capacity : 256;
449 sb.buffer = (char*)malloc(sb.capacity);
450 if (!sb.buffer) return sb;
451 sb.buffer[0] = 0;
452 sb.length = 0;
453 return sb;
454}
455

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected