MCPcopy Create free account
hub / github.com/alibaba/CicadaPlayer / get_line

Method get_line

framework/data_source/dataSourceIO.cpp:72–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71
72 int dataSourceIO::get_line(char *buf, int maxlen)
73 {
74 int len = cicada_get_line(mPb, buf, maxlen);
75
76 while (len > 0 && AfString::isSpace(buf[len - 1])) {
77 buf[--len] = '\0';
78 }
79
80 return len;
81 }
82
83 int64_t dataSourceIO::seek(int64_t offset, int whence)
84 {

Callers 2

parseMethod · 0.80
parseEntriesMethod · 0.80

Calls 1

cicada_get_lineFunction · 0.85

Tested by

no test coverage detected