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

Method peek

extra/yassl/src/buffer.cpp:197–204  ·  view source on GitHub ↗

peek ahead

Source from the content-addressed store, hash-verified

195
196// peek ahead
197byte input_buffer::peek()
198{
199 if (error_ == 0 && check(current_, size_) == 0)
200 return buffer_[current_];
201
202 error_ = -1;
203 return 0;
204}
205
206
207// write function, should use at/near construction

Callers 1

DoProcessReplyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected