Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ set_bad
Method
set_bad
src/mcpack2pb/parser.h:253–256 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
251
private:
252
void init(InputStream* stream, size_t n);
253
void set_bad() {
254
set_end();
255
_stream->set_bad();
256
}
257
void set_end() { _item_type = (PrimitiveFieldType)0; }
258
259
int _buf_index;
Callers
nothing calls this directly
Calls
1
set_bad
Method · 0.45
Tested by
no test coverage detected