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

Method reset

extra/yassl/taocrypt/src/file.cpp:108–112  ·  view source on GitHub ↗

swap with other and reset to beginning

Source from the content-addressed store, hash-verified

106
107// swap with other and reset to beginning
108void Source::reset(ByteBlock& otherBlock)
109{
110 buffer_.Swap(otherBlock);
111 current_ = 0;
112}
113
114
115} // namespace

Callers 9

ConfirmSignatureMethod · 0.45
EncodeMethod · 0.45
DecodeMethod · 0.45
p_hashFunction · 0.45
TLS_hmacFunction · 0.45
buildMethod · 0.45
BuildMethod · 0.45
read_fileFunction · 0.45
BN_bin2bnFunction · 0.45

Calls 1

SwapMethod · 0.45

Tested by

no test coverage detected