MCPcopy Create free account
hub / github.com/catboost/catboost / TKnownSize

Class TKnownSize

library/cpp/string_utils/url/url.cpp:25–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 };
24
25 struct TKnownSize {
26 size_t MySize;
27 explicit TKnownSize(size_t sz)
28 : MySize(sz)
29 {
30 }
31 bool Has(size_t sz) const {
32 return sz <= MySize;
33 }
34 };
35
36 template <typename TChar1, typename TChar2>
37 int Compare1Case2(const TChar1* s1, const TChar2* s2, size_t n) {

Callers 2

CutHttpPrefixImplFunction · 0.85
GetHttpPrefixSizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected