MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / allocate

Method allocate

extra/yassl/src/buffer.cpp:90–96  ·  view source on GitHub ↗

users can pass defualt zero length buffer and then allocate

Source from the content-addressed store, hash-verified

88
89// users can pass defualt zero length buffer and then allocate
90void input_buffer::allocate(uint s)
91{
92 if (error_ == 0) {
93 buffer_ = NEW_YS byte[s];
94 end_ = buffer_ + s;
95 }
96}
97
98
99// for passing to raw writing functions at beginning, then use add_size

Callers 8

ValidateMethod · 0.45
SetPrivateKeyMethod · 0.45
SetPeerKeyMethod · 0.45
buildOutputFunction · 0.45
cipherFinishedFunction · 0.45
buildMessageFunction · 0.45
CompressFunction · 0.45
DeCompressFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected