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

Function TEST

library/cpp/yt/coding/unittests/varint_ut.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48TEST(TReadVarIntTest, Overflow)
49{
50 TString input("\x80\x80\x80\x80\x80\x80\x80\x80\x80\x80\x01", 11);
51 TStringInput inputStream(input);
52 ui64 value;
53 EXPECT_ANY_THROW(ReadVarUint64(&inputStream, &value));
54}
55
56////////////////////////////////////////////////////////////////////////////////
57

Callers

nothing calls this directly

Calls 7

ReadVarUint64Function · 0.85
WriteVarInt32Function · 0.50
ReadVarInt32Function · 0.50
EscapeCFunction · 0.50
WriteVarInt64Function · 0.50
ReadVarInt64Function · 0.50
StrMethod · 0.45

Tested by

no test coverage detected