MCPcopy Create free account
hub / github.com/apple/foundationdb / remove

Method remove

flow/Net2Packet.cpp:131–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void ReliablePacket::remove() {
132 next->prev = prev;
133 prev->next = next;
134 for (ReliablePacket* c = this; c;) {
135 ReliablePacket* n = c->cont;
136 c->buffer->delref();
137 delete c;
138 c = n;
139 }
140}
141
142void UnsentPacketQueue::sent(int bytes) {
143 while (bytes) {

Callers

nothing calls this directly

Calls 1

delrefMethod · 0.45

Tested by

no test coverage detected