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

Method swap

src/brpc/couchbase.cpp:644–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

642}
643
644void CouchbaseOperations::CouchbaseResponse::swap(CouchbaseResponse* other) {
645 if (other != this) {
646 _buf.swap(other->_buf);
647 std::swap(_cached_size_, other->_cached_size_);
648 }
649}
650
651// ===================================================================
652

Callers 15

SwapMethod · 0.45
SwapMethod · 0.45
ConsumeMethod · 0.45
SwapMethod · 0.45
SwapMethod · 0.45
ExecuteCommandMethod · 0.45
ExecuteMSetMethod · 0.45
ExecuteEvalLikeMethod · 0.45
OnReceivedMethod · 0.45
SwapMethod · 0.45
SwapMethod · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected