MCPcopy Create free account
hub / github.com/apache/arrow / RemovePrecedingSpaces

Method RemovePrecedingSpaces

cpp/src/parquet/metadata.cc:1378–1383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1376 }
1377
1378 void RemovePrecedingSpaces(const std::string& string, size_t& start,
1379 const size_t& end) {
1380 while (start < end && IsSpace(string, start)) {
1381 ++start;
1382 }
1383 }
1384
1385 void RemoveTrailingSpaces(const std::string& string, const size_t& start, size_t& end) {
1386 while (start < (end - 1) && (end - 1) < string.size() && IsSpace(string, end - 1)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected