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

Function FromAscii

util/generic/string.h:562–564  ·  view source on GitHub ↗

* WARN: * Certain invocations of this method will result in link-time error. * You are free to implement corresponding methods in string.cpp if you need them. */

Source from the content-addressed store, hash-verified

560 * You are free to implement corresponding methods in string.cpp if you need them.
561 */
562 static TBasicString FromAscii(const ::TStringBuf& s) {
563 return TBasicString().AppendAscii(s);
564 }
565
566 static TBasicString FromUtf8(const ::TStringBuf& s) {
567 return TBasicString().AppendUtf8(s);

Callers 8

TestDecodingMethodsMethod · 0.70
TestLetOperatorMethod · 0.70
TestStringLiteralsMethod · 0.70
TestDecodingMethodsMethod · 0.70
TestLetOperatorMethod · 0.70
TestStringLiteralsMethod · 0.70
ToWtringFunction · 0.50

Calls 1

TBasicStringFunction · 0.70

Tested by 7

TestDecodingMethodsMethod · 0.56
TestLetOperatorMethod · 0.56
TestStringLiteralsMethod · 0.56
TestDecodingMethodsMethod · 0.56
TestLetOperatorMethod · 0.56
TestStringLiteralsMethod · 0.56