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

Method Read

extra/yassl/src/yassl.cpp:151–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149
150
151int Client::Read(void* buffer, int sz)
152{
153 Data data(min(sz, MAX_RECORD_SIZE), static_cast<opaque*>(buffer));
154 return receiveData(*pimpl_->base_.ssl_, data);
155}
156
157
158void Client::SetCA(const char* name)

Callers

nothing calls this directly

Calls 2

minFunction · 0.85
receiveDataFunction · 0.85

Tested by

no test coverage detected