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

Function length

plugins/esi/combo_handler.cc:54–58  ·  view source on GitHub ↗

Because STL vs. C library leads to ugly casting, fix it once.

Source from the content-addressed store, hash-verified

52
53// Because STL vs. C library leads to ugly casting, fix it once.
54inline int
55length(std::string const &str)
56{
57 return static_cast<int>(str.size());
58}
59
60constexpr unsigned DEFAULT_MAX_FILE_COUNT = 100;
61constexpr int MAX_QUERY_LENGTH = 4096;

Callers 2

TSPluginInitFunction · 0.85
isComboHandlerRequestFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected