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

Function HexEncode

util/string/hex.h:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31TString HexEncode(const void* in, size_t len);
32
33inline TString HexEncode(const TStringBuf h) {
34 return HexEncode(h.data(), h.size());
35}
36
37//! Convert a hex string @c in of @c len chars (case-insensitive) to array of ints stored at @c ptr and return this array.
38/*! @note len must be even (len % 2 == 0), otherwise an exception will be thrown.

Callers 13

Y_UNIT_TESTFunction · 0.70
DoWriteMethod · 0.50
EmitHexFunction · 0.50
TestRandomMethod · 0.50
TESTFunction · 0.50
Test_mm_storeu_si128Method · 0.50
Test_mm_loadu_si128_2Method · 0.50
Test_mm_loadu_psMethod · 0.50
Test_mm_storeu_psMethod · 0.50
Test_mm_storeu_pdMethod · 0.50
Test_mm_loadu_pdMethod · 0.50

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by 8

TestRandomMethod · 0.40
Test_mm_storeu_si128Method · 0.40
Test_mm_loadu_si128_2Method · 0.40
Test_mm_loadu_psMethod · 0.40
Test_mm_storeu_psMethod · 0.40
Test_mm_storeu_pdMethod · 0.40
Test_mm_loadu_pdMethod · 0.40