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

Function Encode

library/cpp/string_utils/base64/bench/main.cpp:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44template <size_t N>
45static std::array<TString, N> Encode(const std::array<TString, N>& d) {
46 std::array<TString, N> r;
47 for (size_t i = 0, iEnd = d.size(); i < iEnd; ++i) {
48 r[i] = Base64Encode(d[i]);
49 }
50
51 return r;
52}
53
54namespace {
55 template <size_t N, size_t MinSize, size_t MaxSize>

Callers 7

EncodeMethod · 0.50
EncodeMethod · 0.50
EncodeMethod · 0.50
EncodeMethod · 0.50
TestEncodingMethod · 0.50
TestMethod · 0.50
TestMethod · 0.50

Calls 2

Base64EncodeFunction · 0.50
sizeMethod · 0.45

Tested by 3

TestEncodingMethod · 0.40
TestMethod · 0.40
TestMethod · 0.40