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

Method append

include/tscore/List.h:616–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

614
615template <class C, class L>
616inline void
617Queue<C, L>::append(DLL<C, L> q)
618{
619 C *qtail = q.head;
620 if (qtail) {
621 while (this->next(qtail)) {
622 qtail = this->next(qtail);
623 }
624 }
625 if (!head) {
626 head = q.head;
627 tail = qtail;
628 } else {
629 if (q.head) {
630 this->next(tail) = q.head;
631 this->prev(q.head) = tail;
632 tail = qtail;
633 }
634 }
635}
636
637template <class C, class L>
638inline void

Callers 6

append_field_nameMethod · 0.45
hook_addMethod · 0.45
txn_hook_addMethod · 0.45
s_dump_headerFunction · 0.45
dump_headerFunction · 0.45
flushMethod · 0.45

Calls 3

appendFunction · 0.50
nextMethod · 0.45
prevMethod · 0.45

Tested by

no test coverage detected