MCPcopy Create free account
hub / github.com/apache/trafficserver / lengthof

Function lengthof

plugins/xdebug/xdebug.cc:136–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134// Return the length of a string literal.
135template <int N>
136unsigned
137lengthof(const char (&)[N])
138{
139 return N - 1;
140}
141
142static TSMLoc
143FindOrMakeHdrField(TSMBuffer buffer, TSMLoc hdr, const char *name, unsigned len)

Callers 10

InjectGenerationHeaderFunction · 0.70
InjectCacheKeyHeaderFunction · 0.70
InjectCacheInfoHeaderFunction · 0.70
InjectCacheHeaderFunction · 0.70
InjectMilestonesHeaderFunction · 0.70
InjectRemapHeaderFunction · 0.70
InjectEffectiveURLHeaderFunction · 0.70
InjectTxnUuidHeaderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected