Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
TestAllAtOnce
Function · 0.70
TBufferStream
Method · 0.50
Calls
3
Assign
Method · 0.45
data
Method · 0.45
size
Method · 0.45
Tested by
1
TestAllAtOnce
Function · 0.56