MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / removePrefix

Function removePrefix

src/Processors/Formats/Impl/DWARFBlockInputFormat.cpp:130–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130static llvm::StringRef removePrefix(llvm::StringRef s, size_t prefix_len)
131{
132 if (s.size() >= prefix_len)
133 s = llvm::StringRef(s.data() + prefix_len, s.size() - prefix_len);
134 return s;
135}
136
137template <typename C>
138static void append(C & col, llvm::StringRef s)

Callers 2

DWARFBlockInputFormatMethod · 0.85
parseEntriesMethod · 0.85

Calls 2

sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected