MCPcopy Create free account
hub / github.com/apache/cloudberry / next

Function next

gpcontrib/gpcloud/lib/ini.cpp:33–39  ·  view source on GitHub ↗

Returns the next string in the split data */

Source from the content-addressed store, hash-verified

31
32/* Returns the next string in the split data */
33static char* next(ini_t *ini, char *p) {
34 p += strlen(p);
35 while (p < ini->end && *p == '\0') {
36 p++;
37 }
38 return p;
39}
40
41static void trim_back(ini_t *ini, char *p) {
42 while (p >= ini->data && (*p == ' ' || *p == '\t' || *p == '\r')) {

Callers 15

ini_section_existFunction · 0.70
ini_getFunction · 0.70
_remove_gppkg_from_hostFunction · 0.50
implFunction · 0.50
create_repairMethod · 0.50
_unquoteMethod · 0.50
__next__Method · 0.50
__next__Method · 0.50
__next__Method · 0.50
GroupByTimestampFunction · 0.50
TimestampInBoundsFunction · 0.50

Calls

no outgoing calls

Tested by 1

test_line_readerMethod · 0.40