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

Function Buffer

library/cpp/blockcodecs/codecs_ut.cpp:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 using namespace NBlockCodecs;
12
13 TBuffer Buffer(TStringBuf b) {
14 TBuffer bb;
15 bb.Assign(b.data(), b.size());
16 return bb;
17 }
18
19 void TestAllAtOnce(size_t n, size_t m) {
20 TVector<TBuffer> datas;

Callers 2

TestAllAtOnceFunction · 0.70
TBufferStreamMethod · 0.50

Calls 3

AssignMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by 1

TestAllAtOnceFunction · 0.56