MCPcopy Create free account
hub / github.com/apache/brpc / append

Function append

src/bthread/key.cpp:251–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249 }
250
251 void append(KeyTable* keytable) {
252 if (keytable == NULL) {
253 return;
254 }
255 if (_head == NULL) {
256 _head = _tail = keytable;
257 } else {
258 _tail->next = keytable;
259 _tail = keytable;
260 }
261 keytable->next = NULL;
262 _length++;
263 }
264
265 KeyTable* remove_front() {
266 if (_head == NULL) {

Callers 6

append_packed_podMethod · 0.85
operator=Method · 0.85
appendMethod · 0.85
append_decimalMethod · 0.85
OnLogMessageMethod · 0.85
appendMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected